diff --git a/hplip.spec b/hplip.spec index a34c666..020261a 100644 --- a/hplip.spec +++ b/hplip.spec @@ -1,7 +1,7 @@ Summary: HP Linux Imaging and Printing Project Name: hplip Version: 3.12.11 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv2+ and MIT Group: System Environment/Daemons @@ -344,12 +344,13 @@ rm -f %{buildroot}%{_bindir}/foomatic-rip \ mkdir -p %{buildroot}%{_datadir}/applications sed -i -e '/^Categories=/d' hplip.desktop +# Encoding key is deprecated +sed -i -e '/^Encoding=/d' hplip.desktop desktop-file-install --vendor HP \ --dir %{buildroot}%{_datadir}/applications \ --add-category System \ --add-category Settings \ --add-category HardwareSettings \ - --add-category Application \ hplip.desktop # Regenerate hpcups PPDs on upgrade if necessary (bug #579355). @@ -528,6 +529,9 @@ rm -f %{buildroot}%{_sysconfdir}/xdg/autostart/hplip-systray.desktop %postun libs -p /sbin/ldconfig %changelog +* Fri Dec 07 2012 Jiri Popelka 3.12.11-2 +- desktop file: remove deprecated Encoding key and Application category + * Tue Nov 27 2012 Jiri Popelka 3.12.11-1 - 3.12.11 -- release-parport.patch merged upstream