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

Rahul Sundaram sundaram at fedoraproject.org
Sun Feb 10 21:14:42 UTC 2013


commit 7a18b4aaed7edb6c463f6945e25e4b021d06f62e
Author: Rahul Sundaram <sundaram at fedoraproject.org>
Date:   Sun Feb 10 16:14:21 2013 -0500

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

 aterm.spec |   28 ++++++++++------------------
 1 files changed, 10 insertions(+), 18 deletions(-)
---
diff --git a/aterm.spec b/aterm.spec
index cd8ebc4..3e87fd6 100644
--- a/aterm.spec
+++ b/aterm.spec
@@ -1,6 +1,6 @@
 Name:           aterm
 Version:        1.0.1
-Release:        15%{?dist}
+Release:        16%{?dist}
 
 Summary:        Afterstep XVT, VT102 emulator for the X Window system
 Group:          User Interface/X
@@ -11,7 +11,6 @@ Source1:        aterm.desktop
 Patch0:         aterm-debuginfo.patch
 Patch1:         aterm-stropts.patch
 Patch2:         aterm-dpy.patch
-BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
 
 BuildRequires:  desktop-file-utils
 BuildRequires:  libAfterImage-devel >= 1.07
@@ -47,30 +46,23 @@ make %{?_smp_mflags}
 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-%makeinstall mandir=$RPM_BUILD_ROOT/%{_mandir}/man1 \
-INSTALL_PROGRAM="/usr/bin/install -c -m 755"
+%make_install 
 
-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 ChangeLog ChangeLog.0.4
 %doc doc/README.* doc/FAQ doc/ChangeLog.rxvt doc/menu/*
-%{_bindir}/*
-%{_mandir}/man1/*
-%{_datadir}/applications/*
+%{_bindir}/%{name}
+%{_mandir}/man1/%{name}.1.gz
+%{_datadir}/applications/%{name}.desktop
 
 
 %changelog
+* Sun Feb 10 2013 Rahul Sundaram <sundaram at fedoraproject.org> - 1.0.1-16
+- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
+- clean up spec to follow current guidelines
+
 * Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 1.0.1-15
 - rebuild due to "jpeg8-ABI" feature drop
 


More information about the scm-commits mailing list