From 7dc653f5e51b137d6df1509888636b46c41d082f Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:39:35 +0100 Subject: [PATCH] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- libcdio.spec | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/libcdio.spec b/libcdio.spec index 3aa919a..e989858 100644 --- a/libcdio.spec +++ b/libcdio.spec @@ -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