[virtaal/el6/master] - Install .desktop in a RHEL/Fedora neutral way

dwayne dwayne at fedoraproject.org
Wed Aug 18 10:26:41 UTC 2010


commit 635ea5224605fc579b1d6182cb3aea652f123687
Author: Dwayne Bailey <dwayne at translate.org.za>
Date:   Wed Aug 18 12:25:33 2010 +0200

    - Install .desktop in a RHEL/Fedora neutral way

 virtaal.spec |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/virtaal.spec b/virtaal.spec
index 683e124..733d36d 100644
--- a/virtaal.spec
+++ b/virtaal.spec
@@ -2,7 +2,7 @@
 
 Name:           virtaal
 Version:        0.6.1
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Localization and translation editor
 
 Group:          Development/Tools
@@ -98,8 +98,8 @@ popd
 rm -rf %{buildroot}
 %{__python} setup.py install -O1 --skip-build --install-data=/usr --nodepcheck --root %{buildroot}
 
-desktop-file-install                                     \
-%{?rhel:--vendor=""                                   \}
+
+desktop-file-install    %{?rhel:--vendor=""}             \
    --delete-original                                     \
    --dir=%{buildroot}%{_datadir}/applications            \
    %{buildroot}%{_datadir}/applications/%{name}.desktop
@@ -167,6 +167,9 @@ rm -rf %{buildroot}
 
 
 %changelog
+* Fri Jul 23 2010 Dwayne Bailey <dwayne at translate.org.za> - 0.6.1-5
+- Install .desktop in a RHEL/Fedora neutral way
+
 * Fri Jul 23 2010 Dwayne Bailey <dwayne at translate.org.za> - 0.6.1-4
 - Fix libtranslate patch offset
 


More information about the scm-commits mailing list