Switch to %ldconfig_scriptlets
This commit is contained in:
parent
4e552a1d46
commit
8ec0fbd298
12
libtdb.spec
12
libtdb.spec
@ -137,20 +137,14 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/libtdb.a
|
||||
%{python3_sitearch}/_tdb_text.py
|
||||
%endif
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%if 0%{?with_python2}
|
||||
%post -n python2-tdb -p /sbin/ldconfig
|
||||
|
||||
%postun -n python2-tdb -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n python2-tdb
|
||||
%endif
|
||||
|
||||
%if 0%{?with_python3}
|
||||
%post -n python3-tdb -p /sbin/ldconfig
|
||||
|
||||
%postun -n python3-tdb -p /sbin/ldconfig
|
||||
%ldconfig_scriptlets -n python3-tdb
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user