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
ee2d7d4481
commit
7dc653f5e5
16
libcdio.spec
16
libcdio.spec
@ -13,9 +13,6 @@ BuildRequires: gcc gcc-c++
|
|||||||
BuildRequires: pkgconfig doxygen
|
BuildRequires: pkgconfig doxygen
|
||||||
BuildRequires: ncurses-devel
|
BuildRequires: ncurses-devel
|
||||||
BuildRequires: help2man
|
BuildRequires: help2man
|
||||||
Requires(post): /sbin/ldconfig
|
|
||||||
Requires(post): /sbin/install-info
|
|
||||||
Requires(preun): /sbin/install-info
|
|
||||||
BuildRequires: gettext-devel
|
BuildRequires: gettext-devel
|
||||||
BuildRequires: chrpath
|
BuildRequires: chrpath
|
||||||
|
|
||||||
@ -106,19 +103,6 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/*.so.*
|
|||||||
make check
|
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
|
%files
|
||||||
%license COPYING
|
%license COPYING
|
||||||
%doc AUTHORS NEWS README README.libcdio THANKS TODO
|
%doc AUTHORS NEWS README README.libcdio THANKS TODO
|
||||||
|
Loading…
Reference in New Issue
Block a user