packages: gnome-keyring/gnome-keyring.spec - compile schemas after deps bei...

glen glen at pld-linux.org
Thu Oct 28 10:20:46 CEST 2010


Author: glen                         Date: Thu Oct 28 08:20:46 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- compile schemas after deps being installed (use posttrans for that); rel 2

---- Files affected:
packages/gnome-keyring:
   gnome-keyring.spec (1.80 -> 1.81) 

---- Diffs:

================================================================
Index: packages/gnome-keyring/gnome-keyring.spec
diff -u packages/gnome-keyring/gnome-keyring.spec:1.80 packages/gnome-keyring/gnome-keyring.spec:1.81
--- packages/gnome-keyring/gnome-keyring.spec:1.80	Tue Oct 26 13:07:07 2010
+++ packages/gnome-keyring/gnome-keyring.spec	Thu Oct 28 10:20:41 2010
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	Przechowywanie haseł i innych tajnych danych użytkowników
 Name:		gnome-keyring
 Version:	2.32.1
-Release:	1
+Release:	2
 License:	LGPL v2+ (library), GPL v2+ (programs)
 Group:		X11/Applications
 Source0:	http://ftp.gnome.org/pub/GNOME/sources/gnome-keyring/2.32/%{name}-%{version}.tar.bz2
@@ -28,6 +28,7 @@
 BuildRequires:	sed >= 4.0
 Requires(post,postun):	glib2 >= 1:2.26.0
 Requires:	dbus >= 1.2.0
+Conflicts:	rpm < 4.4.2-0.2
 # sr at Latn vs. sr at latin
 Conflicts:	glibc-misc < 6:2.7
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -160,11 +161,13 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%post
+%posttrans
 glib-compile-schemas %{_datadir}/glib-2.0/schemas
 
 %postun
-glib-compile-schemas %{_datadir}/glib-2.0/schemas
+if [ "$1" = "0" ]; then
+	glib-compile-schemas %{_datadir}/glib-2.0/schemas
+fi
 
 %post	libs -p /sbin/ldconfig
 %postun	libs -p /sbin/ldconfig
@@ -232,6 +235,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.81  2010/10/28 08:20:41  glen
+- compile schemas after deps being installed (use posttrans for that); rel 2
+
 Revision 1.80  2010/10/26 11:07:07  caleb
 - Up to 2.32.1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/gnome-keyring/gnome-keyring.spec?r1=1.80&r2=1.81&f=u



More information about the pld-cvs-commit mailing list