SPECS (AC-branch): gtk+2.spec - fix typo in postun; rel 3

glen glen at pld-linux.org
Mon Oct 22 14:17:32 CEST 2007


Author: glen                         Date: Mon Oct 22 12:17:32 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- fix typo in postun; rel 3

---- Files affected:
SPECS:
   gtk+2.spec (1.200.2.10 -> 1.200.2.11) 

---- Diffs:

================================================================
Index: SPECS/gtk+2.spec
diff -u SPECS/gtk+2.spec:1.200.2.10 SPECS/gtk+2.spec:1.200.2.11
--- SPECS/gtk+2.spec:1.200.2.10	Sat Oct 20 18:09:17 2007
+++ SPECS/gtk+2.spec	Mon Oct 22 14:17:27 2007
@@ -15,7 +15,7 @@
 Summary(tr):	Gimp ToolKit arayüz kitaplýðý
 Name:		gtk+2
 Version:	2.8.20
-Release:	2
+Release:	3
 Epoch:		2
 License:	LGPL
 Group:		X11/Libraries
@@ -228,23 +228,23 @@
 %post
 /sbin/ldconfig
 umask 022
-%{_bindir}/gdk-pixbuf-query-loaders >%{_sysconfdir}/gtk-2.0%{_confdir_suf}/gdk-pixbuf.loaders
-%{_bindir}/gtk-query-immodules-2.0 >%{_sysconfdir}/gtk-2.0%{_confdir_suf}/gtk.immodules
+%{_bindir}/gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0%{_confdir_suf}/gdk-pixbuf.loaders
+%{_bindir}/gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0%{_confdir_suf}/gtk.immodules
 exit 0
 
 %postun
 /sbin/ldconfig
-if [ "$1" != "0" ]; then
+if [ "$1" = "0" ]; then
 	umask 022
-	%{_bindir}/gdk-pixbuf-query-loaders >%{_sysconfdir}/gtk-2.0%{_confdir_suf}/gdk-pixbuf.loaders
-	%{_bindir}/gtk-query-immodules-2.0 >%{_sysconfdir}/gtk-2.0%{_confdir_suf}/gtk.immodules
+	%{_bindir}/gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0%{_confdir_suf}/gdk-pixbuf.loaders
+	%{_bindir}/gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0%{_confdir_suf}/gtk.immodules
 fi
 exit 0
 
 %triggerpostun -- gtk+2 < 2:2.4.0
 umask 022
-%{_bindir}/gdk-pixbuf-query-loaders >%{_sysconfdir}/gtk-2.0%{_confdir_suf}/gdk-pixbuf.loaders
-%{_bindir}/gtk-query-immodules-2.0 >%{_sysconfdir}/gtk-2.0%{_confdir_suf}/gtk.immodules
+%{_bindir}/gdk-pixbuf-query-loaders > %{_sysconfdir}/gtk-2.0%{_confdir_suf}/gdk-pixbuf.loaders
+%{_bindir}/gtk-query-immodules-2.0 > %{_sysconfdir}/gtk-2.0%{_confdir_suf}/gtk.immodules
 exit 0
 
 %files -f %{name}.lang
@@ -311,6 +311,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.200.2.11  2007/10/22 12:17:27  glen
+- fix typo in postun; rel 3
+
 Revision 1.200.2.10  2007/10/20 16:09:17  glen
 - rel 2 to rebuild with pango; enabled archconfidir
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gtk+2.spec?r1=1.200.2.10&r2=1.200.2.11&f=u



More information about the pld-cvs-commit mailing list