contrib/rpm: drop ldconfig scriptlets from Fedora 28+
In newer RPM file triggers in glibc package take care of this. While these scriptlets whould do no harm there, removing them yields a tiny theoretical performance improvement.
This commit is contained in:
@@ -801,11 +801,13 @@ fi
|
|||||||
%systemd_postun
|
%systemd_postun
|
||||||
|
|
||||||
|
|
||||||
|
%if 0%{?fedora} < 28
|
||||||
%post glib -p /sbin/ldconfig
|
%post glib -p /sbin/ldconfig
|
||||||
%postun glib -p /sbin/ldconfig
|
%postun glib -p /sbin/ldconfig
|
||||||
|
|
||||||
%post libnm -p /sbin/ldconfig
|
%post libnm -p /sbin/ldconfig
|
||||||
%postun libnm -p /sbin/ldconfig
|
%postun libnm -p /sbin/ldconfig
|
||||||
|
%endif
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
|
Reference in New Issue
Block a user