No need to run update-desktop-database (and require desktop-file-utils)
https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#desktop-database
This commit is contained in:
parent
024fc9374f
commit
9ef3f00555
15
hplip.spec
15
hplip.spec
@ -7,7 +7,7 @@
|
||||
Summary: HP Linux Imaging and Printing Project
|
||||
Name: hplip
|
||||
Version: 3.12.11
|
||||
Release: 6%{?dist}
|
||||
Release: 7%{?dist}
|
||||
License: GPLv2+ and MIT
|
||||
Group: System Environment/Daemons
|
||||
|
||||
@ -68,7 +68,6 @@ BuildRequires: net-snmp-devel
|
||||
BuildRequires: cups-devel
|
||||
BuildRequires: python2-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: desktop-file-utils
|
||||
BuildRequires: libusb1-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: sane-backends-devel
|
||||
@ -108,8 +107,6 @@ License: BSD
|
||||
Requires: PyQt4
|
||||
Requires: python-reportlab
|
||||
Requires: pygobject2
|
||||
Requires(post): desktop-file-utils >= 0.2.92
|
||||
Requires(postun): desktop-file-utils >= 0.2.92
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
Requires: libsane-hpaio%{?_isa} = %{version}-%{release}
|
||||
|
||||
@ -524,12 +521,6 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
|
||||
%{_libdir}/sane/libsane-*.so*
|
||||
%config(noreplace) %{_sysconfdir}/sane.d/dll.d/hpaio
|
||||
|
||||
%post gui
|
||||
/usr/bin/update-desktop-database &>/dev/null ||:
|
||||
|
||||
%postun gui
|
||||
/usr/bin/update-desktop-database &>/dev/null ||:
|
||||
|
||||
%post -n hpijs
|
||||
%{_bindir}/hpcups-update-ppds &>/dev/null ||:
|
||||
|
||||
@ -538,6 +529,10 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop
|
||||
%postun libs -p /sbin/ldconfig
|
||||
|
||||
%changelog
|
||||
* Tue Jan 22 2013 Jiri Popelka <jpopelka@redhat.com> - 3.12.11-7
|
||||
- No need to run update-desktop-database (and require desktop-file-utils)
|
||||
because there are no MimeKey lines in the desktop files.
|
||||
|
||||
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 3.12.11-6
|
||||
- rebuild due to "jpeg8-ABI" feature drop
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user