[airsnort] remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247

Rahul Sundaram sundaram at fedoraproject.org
Sat Feb 9 07:55:44 UTC 2013


commit 98dd37aa35588b1017c6397ebd9180852710daa2
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date:   Sat Feb 9 02:55:18 2013 -0500

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

 airsnort.spec |   24 +++++++++---------------
 1 files changed, 9 insertions(+), 15 deletions(-)
---
diff --git a/airsnort.spec b/airsnort.spec
index 693cffd..3d3322b 100644
--- a/airsnort.spec
+++ b/airsnort.spec
@@ -1,14 +1,13 @@
 Name:           airsnort
 Version:        0.2.7e
-Release:        19%{?dist}
+Release:        20%{?dist}
 Summary:        Wireless LAN (WLAN) tool which recovers encryption keys
 
 Group:          Applications/Communications
 License:        GPLv2+
 URL:            http://airsnort.shmoo.com/
-Source0: http://dl.sourceforge.net/sourceforge/airsnort/airsnort-%{version}.tar.gz
+Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 Source1:        airsnort.desktop
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildRequires: libpcap-devel 
 BuildRequires: gtk2-devel >= 2.2
@@ -41,26 +40,21 @@ password in under a second.
 %{__make} %{?_smp_mflags}
 
 %install
-%{__rm} -rf $RPM_BUILD_ROOT
-%makeinstall
-
-desktop-file-install \
-  --vendor=fedora \
-  --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
-  --add-category=X-Fedora \
-  %{SOURCE1}
-		  
-%clean
-%{__rm} -rf $RPM_BUILD_ROOT
+%make_install
+
+desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1}
 
 %files
-%defattr(-,root,root,-)
 %doc AUTHORS ChangeLog COPYING NEWS README README.decrypt TODO
 %{_bindir}/*
 %{_mandir}/man1/*
 %{_datadir}/applications/*
 
 %changelog
+* Sat Feb 09 2013 Rahul Sundaram <sundaram at fedoraproject.org> - 0.2.7e-20
+- 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> - 0.2.7e-19
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list