Remove obsolete ldconfig scriptlets
References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
6d19360a72
commit
b444985588
12
lvm2.spec
12
lvm2.spec
@ -436,9 +436,7 @@ Requires: device-mapper-event = %{?epoch}:%{device_mapper_version}-%{release}
|
|||||||
%description libs
|
%description libs
|
||||||
This package contains shared lvm2 libraries for applications.
|
This package contains shared lvm2 libraries for applications.
|
||||||
|
|
||||||
%post libs -p /sbin/ldconfig
|
%ldconfig_scriptlets libs
|
||||||
|
|
||||||
%postun libs -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files libs
|
%files libs
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
@ -764,9 +762,7 @@ Requires: device-mapper = %{?epoch}:%{device_mapper_version}-%{release}
|
|||||||
%description -n device-mapper-libs
|
%description -n device-mapper-libs
|
||||||
This package contains the device-mapper shared library, libdevmapper.
|
This package contains the device-mapper shared library, libdevmapper.
|
||||||
|
|
||||||
%post -n device-mapper-libs -p /sbin/ldconfig
|
%ldconfig_scriptlets -n device-mapper-libs
|
||||||
|
|
||||||
%postun -n device-mapper-libs -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n device-mapper-libs
|
%files -n device-mapper-libs
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
@ -819,9 +815,7 @@ Group: System Environment/Libraries
|
|||||||
This package contains the device-mapper event daemon shared library,
|
This package contains the device-mapper event daemon shared library,
|
||||||
libdevmapper-event.
|
libdevmapper-event.
|
||||||
|
|
||||||
%post -n device-mapper-event-libs -p /sbin/ldconfig
|
%ldconfig_scriptlets -n device-mapper-event-libs
|
||||||
|
|
||||||
%postun -n device-mapper-event-libs -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n device-mapper-event-libs
|
%files -n device-mapper-event-libs
|
||||||
%{!?_licensedir:%global license %%doc}
|
%{!?_licensedir:%global license %%doc}
|
||||||
|
Loading…
Reference in New Issue
Block a user