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

paragn paragn at fedoraproject.org
Sun Feb 10 04:32:36 UTC 2013


commit c7373a940cc17ac8b01d08f00c459a22dab7ad42
Author: Parag Nemade <paragn at fedoraproject.org>
Date:   Sun Feb 10 10:04:28 2013 +0530

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

 xsc.spec |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)
---
diff --git a/xsc.spec b/xsc.spec
index dfc671d..20f887e 100644
--- a/xsc.spec
+++ b/xsc.spec
@@ -1,6 +1,6 @@
 Name: xsc
 Version:  1.5
-Release:  8%{?dist}
+Release:  9%{?dist}
 Summary: A clone of the old vector graphics video game Star Castle
 
 Group: Amusements/Games 
@@ -9,7 +9,6 @@ URL: http://www.panix.com/~mbh/projects.html
 Source0: http://www.panix.com/~mbh/xsc/xsc-%{version}.tar.gz
 Source1: xsc.desktop
 Source2: xsc.png
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n)
 BuildRequires: desktop-file-utils, libX11-devel
 Requires: hicolor-icon-theme
 
@@ -29,12 +28,11 @@ buzzers, too.  Shoot 'em if you want.
 make CFLAGS="$RPM_OPT_FLAGS"
 
 %install
-rm -rf %{buildroot}
 mkdir -p  %{buildroot}%{_bindir}
 install -m 755 xsc %{buildroot}%{_bindir}/xsc
 
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
-desktop-file-install --vendor fedora            \
+desktop-file-install           \
   --dir $RPM_BUILD_ROOT%{_datadir}/applications \
   %{SOURCE1}
 
@@ -54,18 +52,18 @@ if [ -x %{_bindir}/gtk-update-icon-cache ]; then
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
 fi
 
-%clean
-rm -rf %{buildroot}
-
 
 %files
-%defattr(-,root,root,-)
 %{_bindir}/xsc
 %doc AUTHORS ChangeLog COPYING INSTALL NEWS README
-%{_datadir}/applications/fedora-xsc.desktop
+%{_datadir}/applications/xsc.desktop
 %{_datadir}/icons/hicolor/32x32/apps/xsc.png
 
 %changelog
+* Sun Feb 10 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 1.5-9
+- 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.5-8
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list