[tecnoballz] Remove vendor tag from desktop file

paragn paragn at fedoraproject.org
Thu Feb 14 05:20:32 UTC 2013


commit b121d776c4f33d53267cb6c8ee6c6d723d455611
Author: Parag Nemade <paragn at fedoraproject.org>
Date:   Thu Feb 14 10:52:22 2013 +0530

    Remove vendor tag from desktop file
    
    - spec clean up

 tecnoballz.spec |   19 ++++++++-----------
 1 files changed, 8 insertions(+), 11 deletions(-)
---
diff --git a/tecnoballz.spec b/tecnoballz.spec
index edb23e2..ffc785f 100644
--- a/tecnoballz.spec
+++ b/tecnoballz.spec
@@ -1,6 +1,6 @@
 Name: tecnoballz
 Version: 0.92
-Release: 15%{?dist}
+Release: 16%{?dist}
 Summary: A Brick Busting game
 
 Group: Amusements/Games
@@ -30,8 +30,6 @@ Patch5: tecnoballz-0.92-gcc43.patch
 # Drop setgid privileges when not needed
 Patch6: tecnoballz-0.92-dropsgid.patch
 
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-
 BuildRequires: autoconf
 BuildRequires: SDL_image-devel
 BuildRequires: SDL_mixer-devel
@@ -69,12 +67,11 @@ make %{?_smp_mflags} CXXFLAGS="$RPM_OPT_FLAGS"
 
 
 %install
-rm -rf %{buildroot}
-make install DESTDIR=%{buildroot}
+make install DESTDIR=%{buildroot} INSTALL="install -p"
 
 # install desktop file
 mkdir -p %{buildroot}%{_datadir}/applications
-desktop-file-install --vendor fedora         \
+desktop-file-install         \
   --dir %{buildroot}%{_datadir}/applications \
   %{SOURCE2}
 
@@ -83,9 +80,6 @@ mkdir -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
 install -p -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.xpm
 
 
-%clean
-rm -rf %{buildroot}
-
 
 %post
 touch --no-create %{_datadir}/icons/hicolor
@@ -102,18 +96,21 @@ fi
 
 
 %files
-%defattr(-,root,root)
 %attr(2755,root,games) %{_bindir}/tecnoballz
 %{_datadir}/tecnoballz
 %{_localstatedir}/games/tecnoballz
 %attr(-,root,games) %config(noreplace) %{_localstatedir}/games/tecnoballz/tecnoballz.hi
 %{_mandir}/man6/%{name}.6*
 %{_datadir}/icons/hicolor/32x32/apps/%{name}.xpm
-%{_datadir}/applications/fedora-%{name}.desktop
+%{_datadir}/applications/%{name}.desktop
 %doc AUTHORS CHANGES COPYING README
 
 
 %changelog
+* Thu Feb 14 2013 Parag Nemade <paragn AT fedoraproject DOT org> - 0.92-16
+- Remove vendor tag from desktop file
+- spec clean up
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.92-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list