diff --git a/hplip.spec b/hplip.spec index 78c090b..4f6bdaf 100644 --- a/hplip.spec +++ b/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 - 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 - 3.12.11-6 - rebuild due to "jpeg8-ABI" feature drop