desktop file: remove deprecated Encoding key and Application category
http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html http://standards.freedesktop.org/menu-spec/latest/apa.html
This commit is contained in:
parent
d09cda8a43
commit
8b254142d4
@ -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 <jpopelka@redhat.com> 3.12.11-2
|
||||
- desktop file: remove deprecated Encoding key and Application category
|
||||
|
||||
* Tue Nov 27 2012 Jiri Popelka <jpopelka@redhat.com> 3.12.11-1
|
||||
- 3.12.11
|
||||
-- release-parport.patch merged upstream
|
||||
|
Loading…
Reference in New Issue
Block a user