[PySolFC] Remove vendor prefix from desktop files in F19+ https://fedorahosted.org/fesco/ticket/1077
Toshio くらとみ
toshio at fedoraproject.org
Wed Mar 6 23:21:08 UTC 2013
commit 48fb77c13403158bc84018df085280dd53548944
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date: Wed Mar 6 15:20:59 2013 -0800
Remove vendor prefix from desktop files in F19+ https://fedorahosted.org/fesco/ticket/1077
PySolFC.spec | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
---
diff --git a/PySolFC.spec b/PySolFC.spec
index 985464c..c7ecdf8 100644
--- a/PySolFC.spec
+++ b/PySolFC.spec
@@ -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 at 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 at fedoraproject.org> 2.0-7
- Build with a patch so we can use python-pillow instead of python-imaging
More information about the scm-commits
mailing list