[beneath-a-steel-sky] remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247

Rahul Sundaram sundaram at fedoraproject.org
Mon Feb 11 19:50:15 UTC 2013


commit f367a1ecc230a84d29e5ffe4346e63519eeeae2d
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date:   Mon Feb 11 14:50:04 2013 -0500

    remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
    
    - clean up spec to follow current guidelines

 beneath-a-steel-sky.spec |   24 +++++++-----------------
 1 files changed, 7 insertions(+), 17 deletions(-)
---
diff --git a/beneath-a-steel-sky.spec b/beneath-a-steel-sky.spec
index 9bdb597..284cf2b 100644
--- a/beneath-a-steel-sky.spec
+++ b/beneath-a-steel-sky.spec
@@ -1,6 +1,6 @@
 Name:           beneath-a-steel-sky
 Version:        1.3
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Beneath a Steel Sky - Adventure Game
 Group:          Amusements/Games
 # For further discussion on distribution rights see:
@@ -9,7 +9,6 @@ License:        Freely redistributable without restriction
 URL:            http://www.revolution.co.uk/_display.php?id=16
 Source0:        http://downloads.sourceforge.net/scummvm/BASS-Floppy-%{version}.zip
 Source1:        %{name}.desktop
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  desktop-file-utils
 BuildArch:      noarch
 Requires:       scummvm >= 0.12.0
@@ -30,38 +29,29 @@ available in the %{name}-cd package. The CD version contains
 additional / longer cutscenes and voice acting, but also is much larger: the CD
 version ways in at 70 MB where as this version is only 8 MB.
 
-
 %prep
 %setup -q -c
 
-
 %build
 # Nothing to build data only
 
-
 %install
-rm -rf $RPM_BUILD_ROOT
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
 install -p -m 644 sky.* $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
-desktop-file-install --vendor fedora            \
-  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
-  %{SOURCE1}
-
-
-%clean
-rm -rf $RPM_BUILD_ROOT
-
+desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1}
 
 %files
-%defattr(-,root,root,-)
 %doc readme.txt
 %{_datadir}/%{name}
-%{_datadir}/applications/fedora-%{name}.desktop
-
+%{_datadir}/applications/%{name}.desktop
 
 %changelog
+* Mon Feb 11 2013 Rahul Sundaram <sundaram at fedoraproject.org> - 1.3-5
+- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
+- clean up spec to follow current guidelines
+
 * Wed Jul 18 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.3-4
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list