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

Rahul Sundaram sundaram at fedoraproject.org
Mon Feb 11 00:43:47 UTC 2013


commit 16a976bd1a3132544b1012faae160f8335c5d814
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date:   Sun Feb 10 19:43:01 2013 -0500

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

 autobuild-applet.spec |   22 ++++++++--------------
 1 files changed, 8 insertions(+), 14 deletions(-)
---
diff --git a/autobuild-applet.spec b/autobuild-applet.spec
index d1e7bbb..0180b29 100644
--- a/autobuild-applet.spec
+++ b/autobuild-applet.spec
@@ -8,14 +8,13 @@
 
 Name: autobuild-applet
 Version: 1.0.3
-Release: 15%{_extra_release}
+Release: 16%{_extra_release}
 Summary: Panel applet for indication of Test-AutoBuild status
 License: GPLv2+ and LGPLv2+
 Group: Development/Tools
 Source0: http://download.gna.org/testautobuild/sources/%{name}/%{name}-%{version}.tar.gz
 Patch1: %{name}-schema-datatype.patch
 URL: http://www.autobuild.org/
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: python-devel >= 2.2.1
 Requires: pygtk2 >= 1.99.12-6
 BuildRequires:  pygtk2-devel >= 1.99.12-6
@@ -39,15 +38,11 @@ CFLAGS="$RPM_OPT_FLAGS" %configure
 %__make
 
 %install
-rm -fr $RPM_BUILD_ROOT
-%makeinstall
+%make_install
 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.a
 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/*.la
 rm -f $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
-desktop-file-install --vendor fedora \
-  --dir $RPM_BUILD_ROOT%{_datadir}/applications \
-  --add-category X-Fedora \
-  %{name}.desktop
+desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{name}.desktop
 
 %pre
 if [ "$1" -gt 1 ]; then
@@ -70,23 +65,22 @@ if [ "$1" -eq 0 ]; then
       %{_sysconfdir}/gconf/schemas/%{name}.schemas > /dev/null || :
 fi
 
-
 %postun
 update-desktop-database %{_datadir}/applications
 
-%clean
-rm -fr $RPM_BUILD_ROOT
-
 %files
-%defattr(-,root,root)
 %doc README TODO AUTHORS COPYING
 %{_sysconfdir}/gconf/schemas/%{name}.schemas
 %{_bindir}/%{name}
 %{_libdir}/%{name}
 %{_datadir}/%{name}
-%{_datadir}/applications/fedora-%{name}.desktop
+%{_datadir}/applications/%{name}.desktop
 
 %changelog
+* Sun Feb 10 2013 Rahul Sundaram <sundaram at fedoraproject.org> - 1.0.3-16
+- 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.0.3-15
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 


More information about the scm-commits mailing list