commit d9609f46b767fd29479debd45f23274b74bd0d29
Author: Toshio Kuratomi <tos...@fedoraproject.org>
Date:   Wed Mar 6 16:08:41 2013 -0800

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

 perl-Padre.spec |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/perl-Padre.spec b/perl-Padre.spec
index 48b6944..e31268c 100644
--- a/perl-Padre.spec
+++ b/perl-Padre.spec
@@ -2,7 +2,7 @@
 
 Name:           perl-Padre
 Version:        0.90
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Perl Application Development and Refactoring Environment
 License:        GPL+ or Artistic
 Group:          Development/Libraries
@@ -323,7 +323,10 @@ install -m644 ./share/icons/padre/64x64/logo.png \
 install -m644 ./share/icons/padre/16x16/logo.png \
     $RPM_BUILD_ROOT/%{_datadir}/icons/hicolor/16x16/apps/padre.png
 # install icon
-desktop-file-install --vendor="fedora" \
+desktop-file-install \
+%if 0%{?fedora} && 0%{?fedora} < 19
+--vendor="fedora" \
+%endif
 --dir=$RPM_BUILD_ROOT/%{_datadir}/applications %{SOURCE1}
 
 %{_fixperms} $RPM_BUILD_ROOT/*
@@ -361,12 +364,19 @@ mkdir "$HOME"
 %{perl_vendorlib}/Padre*
 %{_datadir}/icons/hicolor/64x64/apps/padre.png
 %{_datadir}/icons/hicolor/16x16/apps/padre.png
+%if 0%{?fedora} && 0%{?fedora} < 19
 %{_datadir}/applications/fedora-padre.desktop
+%else
+%{_datadir}/applications/padre.desktop
+%endif
 %{_mandir}/man3/*
 %{_bindir}/padre
 
 
 %changelog
+* Wed Mar  6 2013 Toshio Kuratomi <tos...@fedoraproject.org> - 0.90-8
+- Remove vendor prefix from desktop files in F19+ 
https://fedorahosted.org/fesco/ticket/1077
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-...@lists.fedoraproject.org> 
- 0.90-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/perl-devel

Reply via email to