]> git.pld-linux.org Git - packages/gimp.git/commitdiff
- reversed desktop-file-utils changes
authorfreetz <freetz@pld-linux.org>
Tue, 12 Apr 2005 14:54:19 +0000 (14:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gimp.spec -> 1.252

gimp.spec

index 83b2eed45669ee7fea5be27e4e12cce371288b67..c0d6a86efa51d87c30509d4a90f207b866233ab3 100644 (file)
--- a/gimp.spec
+++ b/gimp.spec
@@ -55,8 +55,6 @@ BuildRequires:        libungif-devel
 BuildRequires: libwmf-devel >= 2:0.2.8
 BuildRequires: pkgconfig
 %{?with_python:BuildRequires:  python-pygtk-devel >= 1.99.15}
-BuildRequires: rpmbuild(macros) >= 1.197
-Requires(post,postun): desktop-file-utils
 Requires:      gtk+2 >= 2:2.4.4
 %{?with_python:Requires:       python-pygtk-gtk >= 1.99.15}
 Obsoletes:     gimp-data-min
@@ -334,12 +332,14 @@ rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
 rm -rf $RPM_BUILD_ROOT
 
 %post
-%ldconfig_post
-%update_desktop_database_post
+umask 022
+/sbin/ldconfig
+[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
 
 %postun
-%ldconfig_postun
-%update_desktop_database_postun
+umask 022
+/sbin/ldconfig
+[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
@@ -351,7 +351,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/gimp-remote-2.2
 %attr(755,root,root) %{_bindir}/gimp-remote
 %{_desktopdir}/gimp.desktop
-%{_mandir}/man1/gimp-2*
+[M#D%{_mandir}/man1/gimp-2*
 %{_mandir}/man1/gimp-remote-2*
 %{_mandir}/man5/gimprc-2*
 
This page took 0.342164 seconds and 4 git commands to generate.