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/main/tdevelop/tdevelop-14.0.0.spec | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'redhat/main/tdevelop') diff --git a/redhat/main/tdevelop/tdevelop-14.0.0.spec b/redhat/main/tdevelop/tdevelop-14.0.0.spec index e713da462..626a84e44 100644 --- a/redhat/main/tdevelop/tdevelop-14.0.0.spec +++ b/redhat/main/tdevelop/tdevelop-14.0.0.spec @@ -506,20 +506,6 @@ individual needs. %{tde_datadir}/services/kdevvisualboyadvance.desktop %{tde_tdedocdir}/HTML/en/kdevdesigner/ -%post -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - -%postun -for f in hicolor locolor ; do - touch --no-create %{tde_datadir}/icons/$f 2> /dev/null ||: - gtk-update-icon-cache -q %{tde_datadir}/icons/$f 2> /dev/null ||: -done -update-desktop-database %{tde_datadir}/applications > /dev/null 2>&1 || : - ########## %package devel @@ -539,12 +525,6 @@ This package contains the development files for tdevelop. %{tde_libdir}/lib*.la %{tde_includedir}/* -%post devel -/sbin/ldconfig || : - -%postun devel -/sbin/ldconfig || : - ########## %package libs @@ -595,12 +575,6 @@ This package contains the libraries needed for the tdevelop programs. %{tde_libdir}/libprofileengine.so.0 %{tde_libdir}/libprofileengine.so.0.0.0 -%post libs -/sbin/ldconfig || : - -%postun libs -/sbin/ldconfig || : - ########## %if 0%{?pclinuxos} || 0%{?suse_version} && 0%{?opensuse_bs} == 0 -- cgit v1.2.1