Remove obsolete ldconfig scriptlets

References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
This commit is contained in:
Igor Gnatenko 2019-01-22 18:39:35 +01:00
parent ee2d7d4481
commit 7dc653f5e5
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

View File

@ -13,9 +13,6 @@ BuildRequires: gcc gcc-c++
BuildRequires: pkgconfig doxygen
BuildRequires: ncurses-devel
BuildRequires: help2man
Requires(post): /sbin/ldconfig
Requires(post): /sbin/install-info
Requires(preun): /sbin/install-info
BuildRequires: gettext-devel
BuildRequires: chrpath
@ -106,19 +103,6 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so.*
make check
%post
/sbin/ldconfig
/sbin/install-info %{_infodir}/%{name}.info %{_infodir}/dir 2>/dev/null || :
%preun
if [ $1 = 0 ]; then
/sbin/install-info --delete %{_infodir}/%{name}.info \
%{_infodir}/dir 2>/dev/null || :
fi
%postun -p /sbin/ldconfig
%files
%license COPYING
%doc AUTHORS NEWS README README.libcdio THANKS TODO