[gnome-packagekit/gnome-2-32] trivial: sync example spec file with fedora



commit 4371b4de626e01f5c615702c4ace9204b68f5138
Author: Richard Hughes <richard hughsie com>
Date:   Fri Sep 3 08:37:43 2010 +0100

    trivial: sync example spec file with fedora

 contrib/gnome-packagekit.spec.in |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/contrib/gnome-packagekit.spec.in b/contrib/gnome-packagekit.spec.in
index 726ef06..31931ce 100644
--- a/contrib/gnome-packagekit.spec.in
+++ b/contrib/gnome-packagekit.spec.in
@@ -5,7 +5,6 @@
 %define gtk2_version			2.16.0
 %define libnotify_version		0.4.3
 %define unique_version			1.0.0
-%define devicekit_version		003
 %define upower_version			0.9.0
 %define libcanberra_version		0.10
 %define alphatag			#ALPHATAG#
@@ -93,7 +92,6 @@ Extra GNOME applications for using PackageKit that are not normally needed.
 make %{?_smp_mflags}
 
 %install
-rm -rf $RPM_BUILD_ROOT
 export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
 make install DESTDIR=$RPM_BUILD_ROOT
 unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
@@ -113,14 +111,10 @@ done
 
 %find_lang %name --with-gnome
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %post
 export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
 gconftool-2 --makefile-install-rule \
         %{_sysconfdir}/gconf/schemas/gnome-packagekit.schemas >/dev/null || :
-scrollkeeper-update -q &> /dev/null || :
 touch --no-create %{_datadir}/icons/hicolor
 if [ -x /usr/bin/gtk-update-icon-cache ]; then
     gtk-update-icon-cache -q %{_datadir}/icons/hicolor &> /dev/null || :
@@ -143,7 +137,6 @@ if [ "$1" -eq 0 ]; then
 fi
 
 %postun
-scrollkeeper-update -q &> /dev/null || :
 touch --no-create %{_datadir}/icons/hicolor
 if [ -x /usr/bin/gtk-update-icon-cache ]; then
     gtk-update-icon-cache -q %{_datadir}/icons/hicolor &> /dev/null || :



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]