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

Toshio くらとみ toshio at fedoraproject.org
Wed Mar 6 23:27:35 UTC 2013


commit eb77c4ed6fe827803a3235d8a96ee8c84ec3ea7c
Author: Toshio Kuratomi <toshio at fedoraproject.org>
Date:   Wed Mar 6 15:27:29 2013 -0800

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

 poedit.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/poedit.spec b/poedit.spec
index dbe4c1f..9c5ef10 100644
--- a/poedit.spec
+++ b/poedit.spec
@@ -1,6 +1,6 @@
 Name:           poedit
 Version:        1.5.4
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        GUI editor for GNU gettext .po files
 
 Group:          Development/Tools
@@ -58,7 +58,9 @@ rm -rf \
 # Install the desktop file
 desktop-file-install \
     --delete-original \
+%if (0%{?fedora} && 0%{?fedora} < 19) || ( 0%{?rhel} && 0%{?rhel} < 7)
     --vendor fedora \
+%endif
     --add-category=GTK \
     --dir $RPM_BUILD_ROOT%{_datadir}/applications \
     $RPM_BUILD_ROOT%{_datadir}/applications/poedit.desktop
@@ -100,6 +102,9 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 
 %changelog
+* Wed Mar  6 2013 Toshio Kuratomi <toshio at fedoraproject.org> - 1.5.4-6
+- Remove vendor prefix from desktop files in F19+ https://fedorahosted.org/fesco/ticket/1077
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5.4-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list