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 --- .../tdenetworkmanager/tdenetworkmanager-14.0.0.spec | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'redhat/applications/tdenetworkmanager') diff --git a/redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec b/redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec index 4037f9ca5..a08b5a24a 100644 --- a/redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec +++ b/redhat/applications/tdenetworkmanager/tdenetworkmanager-14.0.0.spec @@ -131,10 +131,6 @@ TDENetworkManager is a system tray applet for controlling network connections on systems that use the NetworkManager daemon. %post -update-desktop-database %{tde_tdeappdir} > /dev/null -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : # Prevent autostart of 'nm-applet', if installed. if [ -r "/etc/xdg/autostart/nm-applet.desktop" ]; then if ! grep -qw "TDE" "/etc/xdg/autostart/nm-applet.desktop" ; then @@ -162,13 +158,6 @@ fi ########## -%postun -update-desktop-database %{tde_tdeappdir} > /dev/null -/sbin/ldconfig -touch --no-create %{tde_datadir}/icons/hicolor || : -gtk-update-icon-cache --quiet %{tde_datadir}/icons/hicolor || : - - %package devel Summary: Common data shared among the MySQL GUI Suites Group: Development/Libraries @@ -177,12 +166,6 @@ Requires: %{name} = %{version}-%{release} %description devel Development headers for tdenetworkmanager -%post devel -/sbin/ldconfig - -%postun devel -/sbin/ldconfig - %files devel %defattr(-,root,root,-) %{tde_tdeincludedir}/*.h -- cgit v1.2.1