rpms/repoman/devel repoman.spec,1.3,1.4

David Cantrell (dcantrel) fedora-extras-commits at redhat.com
Thu Apr 17 22:08:43 UTC 2008


Author: dcantrel

Update of /cvs/pkgs/rpms/repoman/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22880

Modified Files:
	repoman.spec 
Log Message:
* Thu Apr 17 2008 David Cantrell <dcantrell at redhat.com> - 0.9-4
- Run desktop-file-install correctly in %install (#440735)
- Set License tag to GPLv2 per packaging guidelines
- Remove the installed *.egg-info file



Index: repoman.spec
===================================================================
RCS file: /cvs/pkgs/rpms/repoman/devel/repoman.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- repoman.spec	13 Jun 2007 14:45:47 -0000	1.3
+++ repoman.spec	17 Apr 2008 22:08:07 -0000	1.4
@@ -1,12 +1,13 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?pyver: %define pyver %(%{__python} -c "from distutils.sysconfig import get_python_version; print get_python_version()")}
 
 Name:           repoman
 Version:        0.9
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Tool for configuring yum settings and repositories
 
 Group:          System Environment/Base
-License:        GPL
+License:        GPLv2
 URL:            http://www.boston.burdell.org/repoman/
 
 Source0:        http://www.boston.burdell.org/repoman/src/%{name}-%{version}.tar.gz
@@ -32,13 +33,15 @@
 
 
 %install
-rm -rf %{buildroot}
+%{__rm} -rf %{buildroot}
 
 %{__make} DESTDIR=%{buildroot} install
 desktop-file-install --vendor="fedora" \
     --delete-original \
     --dir=%{buildroot}%{_datadir}/applications \
-    %{buildroot}%{_datadir}/applications/%{name}.desktop
+    %{name}.desktop
+
+%{__rm} -f %{buildroot}%{python_sitelib}/%{name}-%{version}-py%{pyver}.egg-info
 
 
 %clean
@@ -70,6 +73,11 @@
 
 
 %changelog
+* Thu Apr 17 2008 David Cantrell <dcantrell at redhat.com> - 0.9-4
+- Run desktop-file-install correctly in %%install (#440735)
+- Set License tag to GPLv2 per packaging guidelines
+- Remove the installed *.egg-info file
+
 * Wed Jun 13 2007 Chris Lumens <clumens at redhat.com> - 0.9-3
 - Don't use vendor macro in desktop-file-install.  Also, put the .desktop
   file in the same directory as all the others (#244044).




More information about the fedora-extras-commits mailing list