From d40936c9391969c1bd8c32980954420b4c1a1701 Mon Sep 17 00:00:00 2001 From: Denis Leroy Date: Oct 09 2006 18:00:34 +0000 Subject: simplified post and postun --- diff --git a/gtkmm.spec b/gtkmm.spec index 6a67234..7316c67 100644 --- a/gtkmm.spec +++ b/gtkmm.spec @@ -10,8 +10,6 @@ URL: http://gtkmm.sourceforge.net/ Source0: http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.8/gtkmm-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig BuildRequires: glibmm24-devel >= 2.11.3 BuildRequires: atk-devel >= 1.9.0 BuildRequires: pango-devel >= 1.5.2 @@ -70,12 +68,10 @@ rm -f ${RPM_BUILD_ROOT}%{_datadir}/devhelp/books/gtkmm-2.4/* rm -rf $RPM_BUILD_ROOT -%post -/sbin/ldconfig +%post -p /sbin/ldconfig -%postun -/sbin/ldconfig +%postun -p /sbin/ldconfig %files