From 07d7faf51637503308a6c8d8780b7df8f9e6f094 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Sun, 4 Sep 2016 22:17:12 +0200 Subject: RPM Packaging: remove lots of useless %post sections --- redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'redhat/libraries/libkdcraw') diff --git a/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec b/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec index 87c5e77e8..07121ecbb 100644 --- a/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec +++ b/redhat/libraries/libkdcraw/libkdcraw-14.0.0.spec @@ -110,12 +110,6 @@ libkdcraw contains the library of libkdcraw. %{tde_libdir}/libkdcraw.so.4 %{tde_libdir}/libkdcraw.so.4.0.3 -%post -n trinity-%{libkdcraw}4 -/sbin/ldconfig || : - -%postun -n trinity-%{libkdcraw}4 -/sbin/ldconfig || : - ########## %package -n trinity-libkdcraw-common @@ -133,18 +127,6 @@ libkdcraw contains the library of libkdcraw. %defattr(-,root,root,-) %{tde_datadir}/icons/hicolor/*/apps/kdcraw.png -%post -n trinity-libkdcraw-common -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - -%postun -n trinity-libkdcraw-common -for f in hicolor ; do - touch --no-create %{tde_datadir}/icons/${f} 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/${f} 2> /dev/null ||: -done - ########## %package -n trinity-%{libkdcraw}-devel @@ -168,12 +150,6 @@ library documentation is available on kdcraw.h header file. %{tde_tdeincludedir}/libkdcraw/ %{tde_libdir}/pkgconfig/libkdcraw.pc -%post -n trinity-%{libkdcraw}-devel -/sbin/ldconfig || : - -%postun -n trinity-%{libkdcraw}-devel -/sbin/ldconfig || : - ########## %if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -- cgit v1.2.1