]> git.pld-linux.org Git - packages/gnome-calculator.git/commitdiff
- new style macros auto/ac/gcalctool-5_5_41-3
authorpaladine <paladine@pld-linux.org>
Fri, 8 Apr 2005 10:41:43 +0000 (10:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- STBR

Changed files:
    gcalctool.spec -> 1.40

gcalctool.spec

index 8485d22d5127d306428aed6ed6fdef80ddca4b35..5e48c03028e6d477755fca38712c56b690648ea0 100644 (file)
@@ -18,7 +18,7 @@ BuildRequires:        flex
 BuildRequires: intltool
 BuildRequires: libgnomeui-devel >= 2.10.0-2
 Buildrequires: pkgconfig
-BuildRequires: rpmbuild(macros) >= 1.196
+BuildRequires: rpmbuild(macros) >= 1.197
 BuildRequires: scrollkeeper
 Requires(post,preun):  GConf2
 Requires(post,postun): scrollkeeper
@@ -57,18 +57,14 @@ rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
 rm -rf $RPM_BUILD_ROOT
 
 %post
-/usr/bin/scrollkeeper-update -q
-%gconf_schema_install /etc/gconf/schemas/gcalctool.schemas
+%gconf_schema_install gcalctool.schemas
+%scrollkeeper_update_post
 
 %preun
-if [ $1 = 0 ]; then
-       %gconf_schema_uninstall /etc/gconf/schemas/gcalctool.schemas
-fi
+%gconf_schema_uninstall gcalctool.schemas
 
 %postun
-if [ $1 = 0 ]; then
-       /usr/bin/scrollkeeper-update -q
-fi
+%scrollkeeper_update_postun
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
This page took 0.079164 seconds and 4 git commands to generate.