[international-time] remove --vendor from desktop-file-install https://fedorahosted.org/fesco/ticket/1077

Toshio くらとみ toshio at fedoraproject.org
Thu Feb 14 23:42:42 UTC 2013


commit a5e962142241ee36fea53089e4cbda62d7d51823
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Thu Feb 14 15:42:30 2013 -0800

    remove --vendor from desktop-file-install https://fedorahosted.org/fesco/ticket/1077

 international-time.spec |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/international-time.spec b/international-time.spec
index a656d4b..5cfcd3b 100644
--- a/international-time.spec
+++ b/international-time.spec
@@ -1,7 +1,7 @@
 Summary: 	A tool for arranging times in advance with overseas colleagues
 Name: 		international-time
 Version: 	0.0.2
-Release: 	10%{?dist}
+Release: 	11%{?dist}
 # No attribution, just COPYING
 License: 	GPL+
 Group: 		Applications/System
@@ -43,7 +43,10 @@ mkdir -p %{buildroot}%{_datadir}/%{name}
 mkdir -p %{buildroot}%{_datadir}/applications
 install -m 0755 international-time.py %{buildroot}%{_bindir}/international-time
 install -m 0644 international-time.glade %{buildroot}%{_datadir}/%{name}
-desktop-file-install --vendor fedora \
+desktop-file-install \
+%if (0%{?fedora} && 0%{?fedora} < 19) || (0%{?rhel} && 0%{?rhel} < 7)
+  --vendor fedora \
+%endif
   --dir %{buildroot}%{_datadir}/applications \
   --add-category Utility \
   --add-category Application \
@@ -69,6 +72,9 @@ fi
 %{_datadir}/applications/*
 
 %changelog
+* Thu Feb 14 2013 Toshio Kuratomi <toshio at fedoraproject.org> - 0.0.2-11
+- remove --vendor from desktop-file-install https://fedorahosted.org/fesco/ticket/1077
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.0.2-10
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list