rpms/python-numdisplay/devel python-numdisplay.spec,1.5,1.6

Sergio Pascual sergiopr at fedoraproject.org
Fri Feb 27 08:01:32 UTC 2009


Author: sergiopr

Update of /cvs/pkgs/rpms/python-numdisplay/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8252

Modified Files:
	python-numdisplay.spec 
Log Message:
* Fri Feb 27 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 1.5.3-4
- Fixing missing package name in LICENSE.txt exclude



Index: python-numdisplay.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-numdisplay/devel/python-numdisplay.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- python-numdisplay.spec	26 Feb 2009 22:36:34 -0000	1.5
+++ python-numdisplay.spec	27 Feb 2009 08:01:02 -0000	1.6
@@ -1,9 +1,11 @@
 # sitelib for noarch packages, sitearch for others (remove the unneeded one)
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+%define upname numdisplay
 
 Name: python-numdisplay
 Version: 1.5.3
-Release: 3%{?dist}
+Release: 4%{?dist}
 Summary: Visualize numpy array objects in ds9
 
 Group: Development/Languages
@@ -25,7 +27,7 @@
 on any platform which supports Python and numpy.
 
 %prep
-%setup -q -n numdisplay
+%setup -q -n %{upname}
 
 %build
 %{__python} setup.py build
@@ -40,10 +42,14 @@
 %files
 %defattr(-,root,root,-)
 %doc lib/LICENSE.txt 
-%{python_sitelib}/*
-%exclude %{python_sitelib}/LICENSE.txt
+%{python_sitelib}/%{upname}
+%{python_sitelib}/%{upname}*.egg-info
+%exclude %{python_sitelib}/%{upname}/LICENSE.txt
 
 %changelog
+* Fri Feb 27 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 1.5.3-4
+- Fixing missing package name in LICENSE.txt exclude
+
 * Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.5.3-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list