]> git.pld-linux.org Git - packages/evince.git/commitdiff
- new style macros auto/ac/evince-0_2_0-2
authorpaladine <paladine@pld-linux.org>
Fri, 8 Apr 2005 09:56:03 +0000 (09:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- STBR

Changed files:
    evince.spec -> 1.17

evince.spec

index 17055e5e35666d1e63b51b1d7a209b95bc44fce2..082505c3ee849db918f900350af9263c0902cb49 100644 (file)
@@ -23,7 +23,7 @@ BuildRequires:        libgnomeui-devel >= 2.10.0-2
 BuildRequires: libstdc++-devel
 BuildRequires: pkgconfig
 BuildRequires: poppler-devel >= 0.2.0
-BuildRequires: rpmbuild(macros) >= 1.196
+BuildRequires: rpmbuild(macros) >= 1.197
 Requires(post,preun):  GConf2
 Requires(post,postun): desktop-file-utils
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -69,22 +69,16 @@ rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
 rm -rf $RPM_BUILD_ROOT
 
 %post
-umask 022
-%gconf_schema_install /etc/gconf/schemas/evince-thumbnailer.schemas
-%gconf_schema_install /etc/gconf/schemas/evince.schemas
-/usr/bin/update-desktop-database
+%gconf_schema_install evince-thumbnailer.schemas
+%gconf_schema_install evince.schemas
+%update_desktop_database_post
 
 %preun
-if [ $1 = 0 ]; then
-       %gconf_schema_uninstall /etc/gconf/schemas/evince-thumbnailer.schemas
-       %gconf_schema_uninstall /etc/gconf/schemas/evince.schemas
-fi
+%gconf_schema_uninstall evince-thumbnailer.schemas
+%gconf_schema_uninstall schemas/evince.schemas
 
 %postun
-if [ $1 = 0 ]; then
-       umask 022
-       /usr/bin/update-desktop-database
-fi
+%update_desktop_database_postun
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
This page took 0.05491 seconds and 4 git commands to generate.