don't require desktop-file-utils (#463049, patch by Ville Skyttä)
This commit is contained in:
parent
e4db4d9b21
commit
1703967f68
12
gimp.spec
12
gimp.spec
@ -51,7 +51,7 @@ Version: 2.4.7
|
|||||||
%define age 0
|
%define age 0
|
||||||
%define minorver 400
|
%define minorver 400
|
||||||
%define microver %(ver=%{version}; echo ${ver##*.*.})
|
%define microver %(ver=%{version}; echo ${ver##*.*.})
|
||||||
Release: 3%{?dist}
|
Release: 4%{?dist}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
License: GPLv2+
|
License: GPLv2+
|
||||||
Group: Applications/Multimedia
|
Group: Applications/Multimedia
|
||||||
@ -98,7 +98,6 @@ BuildRequires: lcms-devel
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Requires: gimp-libs-%{_arch} = %{?epoch:%{epoch}:}%{version}-%{release}
|
Requires: gimp-libs-%{_arch} = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||||
Requires: desktop-file-utils >= 0.9
|
|
||||||
Requires: glib2 >= 2.12.3
|
Requires: glib2 >= 2.12.3
|
||||||
Requires: gtk2 >= 2.10.13
|
Requires: gtk2 >= 2.10.13
|
||||||
Requires: pango >= 1.12.2
|
Requires: pango >= 1.12.2
|
||||||
@ -111,8 +110,6 @@ Requires: gutenprint-plugin
|
|||||||
Requires: gimp-print-plugin
|
Requires: gimp-print-plugin
|
||||||
%endif
|
%endif
|
||||||
%endif
|
%endif
|
||||||
Requires(post): /usr/bin/update-desktop-database
|
|
||||||
Requires(postun): /usr/bin/update-desktop-database
|
|
||||||
Requires: hicolor-icon-theme
|
Requires: hicolor-icon-theme
|
||||||
%if %{with xdg_open}
|
%if %{with xdg_open}
|
||||||
Requires: xdg-utils
|
Requires: xdg-utils
|
||||||
@ -309,7 +306,7 @@ if [ -x "%{_sbindir}/gimp-plugin-mgr" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
%post
|
%post
|
||||||
/usr/bin/update-desktop-database %{_datadir}/applications
|
/usr/bin/update-desktop-database %{_datadir}/applications &> /dev/null || :
|
||||||
touch --no-create %{_datadir}/icons/hicolor
|
touch --no-create %{_datadir}/icons/hicolor
|
||||||
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
||||||
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||||
@ -325,7 +322,7 @@ fi
|
|||||||
|
|
||||||
%postun
|
%postun
|
||||||
if [ "$1" = "0" ]; then
|
if [ "$1" = "0" ]; then
|
||||||
/usr/bin/update-desktop-database %{_datadir}/applications || :
|
/usr/bin/update-desktop-database %{_datadir}/applications &> /dev/null || :
|
||||||
fi
|
fi
|
||||||
touch --no-create %{_datadir}/icons/hicolor
|
touch --no-create %{_datadir}/icons/hicolor
|
||||||
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
||||||
@ -454,6 +451,9 @@ fi
|
|||||||
%{_libdir}/pkgconfig/*
|
%{_libdir}/pkgconfig/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Sep 22 2008 Nils Philippsen <nils@redhat.com> - 2:2.4.7-4
|
||||||
|
- don't require desktop-file-utils (#463049, patch by Ville Skyttä)
|
||||||
|
|
||||||
* Wed Sep 17 2008 Nils Philippsen <nils@redhat.com> - 2:2.4.7-3
|
* Wed Sep 17 2008 Nils Philippsen <nils@redhat.com> - 2:2.4.7-3
|
||||||
- don't make pyconsole.py plug-in executable as upstream indicates it shouldn't
|
- don't make pyconsole.py plug-in executable as upstream indicates it shouldn't
|
||||||
be
|
be
|
||||||
|
Loading…
Reference in New Issue
Block a user