]> git.pld-linux.org Git - packages/gnome-keyring.git/commitdiff
- compile schemas after deps being installed (use posttrans for that); rel 2 auto/th/gnome-keyring-2_32_1-2 auto/ti/gnome-keyring-2_32_1-2
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 28 Oct 2010 08:20:41 +0000 (08:20 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gnome-keyring.spec -> 1.81

gnome-keyring.spec

index d716dd722533fa1bc96b674a0f5e1550dcffc8d8..28525fc36c27fa54edd1331238aacff35f1351d4 100644 (file)
@@ -2,7 +2,7 @@ Summary:        Keep passwords and other user's secrets
 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
@@ -27,6 +27,7 @@ BuildRequires:        rpmbuild(macros) >= 1.197
 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@Latn vs. sr@latin
 Conflicts:     glibc-misc < 6:2.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -159,11 +160,13 @@ rm -rf $RPM_BUILD_ROOT
 %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
This page took 0.077763 seconds and 4 git commands to generate.