Remove vendor prefix from desktop files in F19+ https://fedorahosted.org/fesco/ticket/1077

This commit is contained in:
Toshio Kuratomi 2013-03-06 15:20:59 -08:00
commit 48fb77c134

View file

@ -5,7 +5,7 @@
Name: PySolFC
Version: 2.0
Release: 7%{?dist}
Release: 8%{?dist}
Summary: A collection of solitare card games
Group: Amusements/Games
License: GPLv2+
@ -48,7 +48,11 @@ CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
# install desktop file
desktop-file-install --vendor="fedora" --delete-original \
desktop-file-install \
%if 0%{?fedora} && 0%{?fedora} < 19
--vendor="fedora" \
%endif
--delete-original \
--dir=$RPM_BUILD_ROOT/%{_datadir}/applications \
$RPM_BUILD_ROOT/%{_datadir}/applications/pysol.desktop
@ -72,10 +76,13 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/%{name}/*
%{_datadir}/pixmaps/*
%{_datadir}/icons/*.png
%{_datadir}/applications/fedora-*.desktop
%{_datadir}/applications/*.desktop
%changelog
* Wed Mar 6 2013 Toshio Kuratomi <toshio@fedoraproject.org> - 2.0-8
- Remove vendor prefix from desktop files in F19+ https://fedorahosted.org/fesco/ticket/1077
* Wed Jan 30 2013 Toshio Kuratomi <toshio@fedoraproject.org> 2.0-7
- Build with a patch so we can use python-pillow instead of python-imaging