[xchm] Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077

paragn paragn at fedoraproject.org
Sun Feb 10 05:01:51 UTC 2013


commit 97ca9b2de715c5d24964346a5370d5b25debe770
Author: Parag Nemade <paragn at fedoraproject.org>
Date:   Sun Feb 10 10:33:24 2013 +0530

    Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077

 xchm.spec |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/xchm.spec b/xchm.spec
index 94670df..164fd27 100644
--- a/xchm.spec
+++ b/xchm.spec
@@ -1,7 +1,7 @@
 Summary:        A GUI front-end to CHMlib
 Name:           xchm
 Version:        1.21
-Release:        1%{?dist}
+Release:        2%{?dist}
 License:        GPLv2+
 Group:          Applications/Publishing
 Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
@@ -33,7 +33,10 @@ make %{?_smp_mflags}
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 mkdir -p ${RPM_BUILD_ROOT}%{_datadir}/applications/
-desktop-file-install --vendor fedora                            \
+desktop-file-install  \
+	%if 0%{?fedora} < 19
+	   --vendor fedora \
+	%endif
         --dir ${RPM_BUILD_ROOT}%{_datadir}/applications         \
         %{SOURCE1}
 for resolution in 16 32 48 128; do
@@ -67,6 +70,8 @@ update-desktop-database &> /dev/null ||:
 %{_datadir}/applications/*
 
 %changelog
+* Sun Feb 10 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 1.21-2
+- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
 
 * Mon Dec 26 2012 Manuel "lonely wolf" Wolfshant <wolfy at fedoraproject.org> - 1.21-1
 - New upstream version


More information about the scm-commits mailing list