[xu4] Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077

paragn paragn at fedoraproject.org
Sun Feb 10 04:07:25 UTC 2013


commit 5b4d8175de847c110cc08718606ed02ace35210a
Author: Parag Nemade <paragn at fedoraproject.org>
Date:   Sun Feb 10 09:39:16 2013 +0530

    Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
    
    - Cleanup spec as per recently changed packaging guidelines

 xu4.spec |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)
---
diff --git a/xu4.spec b/xu4.spec
index a68e091..d8ff925 100644
--- a/xu4.spec
+++ b/xu4.spec
@@ -3,7 +3,7 @@
 
 Name:           xu4
 Version:        1.1
-Release:        0.18.%{svndate}svn%{svnrev}%{?dist}
+Release:        0.19.%{svndate}svn%{svnrev}%{?dist}
 Summary:        Ultima IV recreated
 Group:          Amusements/Games
 License:        GPLv2+
@@ -55,7 +55,7 @@ pushd src
 %{makeinstall}
 find %{buildroot}/%{_libdir}/u4 -name '*.xml' -o -name '*.dtd'|xargs chmod -x
 popd
-cp mid/*.it %{buildroot}/%{_libdir}/u4/music
+cp -p mid/*.it %{buildroot}/%{_libdir}/u4/music
 
 # mv u4 to u4.bin and install our autodl wrapper script
 mv %{buildroot}/%{_bindir}/u4 %{buildroot}/%{_bindir}/u4.bin
@@ -63,7 +63,7 @@ install -p -m 755 %{SOURCE1} %{buildroot}/%{_bindir}/u4
 install -p -m 644 %{SOURCE2} %{buildroot}/%{_libdir}/u4
 
 # below is the desktop file and icon stuff.
-desktop-file-install --vendor fedora            \
+desktop-file-install         \
   --dir %{buildroot}/%{_datadir}/applications \
   --delete-original                             \
   %{buildroot}/%{_datadir}/applications/u4.desktop
@@ -86,17 +86,20 @@ fi
 gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 
 %files
-%defattr(-,root,root,-)
 %doc AUTHORS COPYING README doc/Algorithms.* doc/*FileFormats.txt
 %doc doc/U4Notes.txt doc/tools.txt u4download.txt
 %{_bindir}/u4*
 %{_libdir}/u4
 %{_datadir}/pixmaps/u4.bmp
-%{_datadir}/applications/fedora-u4.desktop
+%{_datadir}/applications/u4.desktop
 %{_datadir}/icons/hicolor/64x64/apps/u4.png
 
 
 %changelog
+* Sun Feb 10 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 1.1-0.19.20120106svn2999
+- Remove vendor tag from desktop file as per https://fedorahosted.org/fesco/ticket/1077
+- Cleanup spec as per recently changed packaging guidelines
+
 * Sun Jul 22 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.1-0.18.20120106svn2999
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list