[lxterminal] Drop vendor tag.

Jon Ciesla limb at fedoraproject.org
Fri Apr 26 18:00:51 UTC 2013


commit a57c3d8ba689bc15a8aff19958bc1291b5a5ff94
Author: Jon Ciesla <limburgher at gmail.com>
Date:   Fri Apr 26 12:56:55 2013 -0500

    Drop vendor tag.

 lxterminal.spec |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/lxterminal.spec b/lxterminal.spec
index 1c81c57..b39486a 100644
--- a/lxterminal.spec
+++ b/lxterminal.spec
@@ -1,3 +1,7 @@
+%if (0%{?fedora} && 0%{?fedora}) < 19
+%global with_desktop_vendor_tag 1
+%endif
+
 Name:           lxterminal
 Version:        0.1.11
 Release:        5%{?dist}
@@ -39,7 +43,10 @@ make %{?_smp_mflags}
 %install
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
-desktop-file-install --vendor="fedora"                     \
+desktop-file-install \
+%if %{with_desktop_vendor_tag}
+  --vendor fedora \
+%endif
   --delete-original                                        \
   --remove-category=Utility                                \
   --add-category=System                                    \
@@ -57,12 +64,15 @@ rm -rf $RPM_BUILD_ROOT
 %doc AUTHORS COPYING README
 %{_bindir}/%{name}
 %{_datadir}/%{name}/
-%{_datadir}/applications/fedora-%{name}.desktop
+%{_datadir}/applications/*%{name}.desktop
 %{_datadir}/pixmaps/%{name}.png
 %{_mandir}/man1/%{name}*.1.gz
 
 
 %changelog
+* Fri Apr 26 2013 Jon Ciesla <limburgher at gmail.com> - 0.1.11-6
+- Drop desktop vendor tag.
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1.11-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list