Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
50d11e91d8
commit
531eaa311c
@ -67,7 +67,7 @@
|
|||||||
|
|
||||||
Name: libblockdev
|
Name: libblockdev
|
||||||
Version: 2.15
|
Version: 2.15
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: A library for low-level manipulation with block devices
|
Summary: A library for low-level manipulation with block devices
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: https://github.com/storaged-project/libblockdev
|
URL: https://github.com/storaged-project/libblockdev
|
||||||
@ -530,74 +530,59 @@ A meta-package that pulls all the libblockdev plugins as dependencies.
|
|||||||
find %{buildroot} -type f -name "*.la" | xargs %{__rm}
|
find %{buildroot} -type f -name "*.la" | xargs %{__rm}
|
||||||
|
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%ldconfig_scriptlets
|
||||||
%postun -p /sbin/ldconfig
|
%ldconfig_scriptlets utils
|
||||||
%post utils -p /sbin/ldconfig
|
|
||||||
%postun utils -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%if %{with_btrfs}
|
%if %{with_btrfs}
|
||||||
%post btrfs -p /sbin/ldconfig
|
%ldconfig_scriptlets btrfs
|
||||||
%postun btrfs -p /sbin/ldconfig
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_crypto}
|
%if %{with_crypto}
|
||||||
%post crypto -p /sbin/ldconfig
|
%ldconfig_scriptlets crypto
|
||||||
%postun crypto -p /sbin/ldconfig
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_dm}
|
%if %{with_dm}
|
||||||
%post dm -p /sbin/ldconfig
|
%ldconfig_scriptlets dm
|
||||||
%postun dm -p /sbin/ldconfig
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_fs}
|
%if %{with_fs}
|
||||||
%post fs -p /sbin/ldconfig
|
%ldconfig_scriptlets fs
|
||||||
%postun fs -p /sbin/ldconfig
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_loop}
|
%if %{with_loop}
|
||||||
%post loop -p /sbin/ldconfig
|
%ldconfig_scriptlets loop
|
||||||
%postun loop -p /sbin/ldconfig
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_lvm}
|
%if %{with_lvm}
|
||||||
%post lvm -p /sbin/ldconfig
|
%ldconfig_scriptlets lvm
|
||||||
%postun lvm -p /sbin/ldconfig
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_lvm_dbus}
|
%if %{with_lvm_dbus}
|
||||||
%post lvm-dbus -p /sbin/ldconfig
|
%ldconfig_scriptlets lvm-dbus
|
||||||
%postun lvm-dbus -p /sbin/ldconfig
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_mdraid}
|
%if %{with_mdraid}
|
||||||
%post mdraid -p /sbin/ldconfig
|
%ldconfig_scriptlets mdraid
|
||||||
%postun mdraid -p /sbin/ldconfig
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_mpath}
|
%if %{with_mpath}
|
||||||
%post mpath -p /sbin/ldconfig
|
%ldconfig_scriptlets mpath
|
||||||
%postun mpath -p /sbin/ldconfig
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_part}
|
%if %{with_part}
|
||||||
%post part -p /sbin/ldconfig
|
%ldconfig_scriptlets part
|
||||||
%postun part -p /sbin/ldconfig
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_swap}
|
%if %{with_swap}
|
||||||
%post swap -p /sbin/ldconfig
|
%ldconfig_scriptlets swap
|
||||||
%postun swap -p /sbin/ldconfig
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch s390 s390x
|
%ifarch s390 s390x
|
||||||
%post s390 -p /sbin/ldconfig
|
%ldconfig_scriptlets s390
|
||||||
%postun s390 -p /sbin/ldconfig
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if %{with_kbd}
|
%if %{with_kbd}
|
||||||
%post kbd -p /sbin/ldconfig
|
%ldconfig_scriptlets kbd
|
||||||
%postun kbd -p /sbin/ldconfig
|
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
|
||||||
@ -800,6 +785,9 @@ find %{buildroot} -type f -name "*.la" | xargs %{__rm}
|
|||||||
%files plugins-all
|
%files plugins-all
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.15-2
|
||||||
|
- Switch to %%ldconfig_scriptlets
|
||||||
|
|
||||||
* Fri Dec 01 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.15-1
|
* Fri Dec 01 2017 Vratislav Podzimek <vpodzime@redhat.com> - 2.15-1
|
||||||
- Do not use the 'btrfs' plugin in overrides tests (vpodzime)
|
- Do not use the 'btrfs' plugin in overrides tests (vpodzime)
|
||||||
- Do not use the btrfs plugin in library tests (vpodzime)
|
- Do not use the btrfs plugin in library tests (vpodzime)
|
||||||
|
Loading…
Reference in New Issue
Block a user