Switch to %ldconfig_scriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
parent
3806d2d85b
commit
c0fe383f87
@ -6,7 +6,7 @@
|
||||
|
||||
Name: libtalloc
|
||||
Version: 2.1.11
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Group: System Environment/Daemons
|
||||
Summary: The talloc library
|
||||
License: LGPLv3+
|
||||
@ -154,19 +154,18 @@ cp -a doc/man/* $RPM_BUILD_ROOT/%{_mandir}
|
||||
%{_libdir}/libpytalloc-util.cpython*.so
|
||||
%endif
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%post -n python2-talloc -p /sbin/ldconfig
|
||||
%postun -n python2-talloc -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n python2-talloc
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%post -n python3-talloc -p /sbin/ldconfig
|
||||
%postun -n python3-talloc -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n python3-talloc
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.1.11-3
|
||||
- Switch to %%ldconfig_scriptlets
|
||||
|
||||
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 2.1.11-2
|
||||
- Rebuilt for switch to libxcrypt
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user