rpms/pyfits/EL-6 pyfits.spec,1.9,1.10 sources,1.5,1.6

Sergio Pascual sergiopr at fedoraproject.org
Wed Jun 23 09:38:35 UTC 2010


Author: sergiopr

Update of /cvs/pkgs/rpms/pyfits/EL-6
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv22538

Modified Files:
	pyfits.spec sources 
Log Message:
* Wed Jun 23 2010 Sergio Pascual <sergiopr at fedoraproject.org> - 2.3.1-1
- New upstream source
- Added CFLAGS to the build line



Index: pyfits.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pyfits/EL-6/pyfits.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- pyfits.spec	17 Nov 2009 17:46:10 -0000	1.9
+++ pyfits.spec	23 Jun 2010 09:38:34 -0000	1.10
@@ -1,8 +1,5 @@
-# sitelib for noarch packages, sitearch for others (remove the unneeded one)
-%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
-
 Name: pyfits
-Version: 2.2.2
+Version: 2.3.1
 Release: 1%{?dist}
 Summary: Python interface to FITS
 
@@ -23,14 +20,14 @@ writing analysis scripts in Python using
 
 %prep
 %setup -q
-sed -i -e "1d" lib/NP_pyfits.py lib/NA_pyfits.py
+sed -i -e "1d" lib/core.py
 
 %build
-python setup.py build
+CFLAGS="%{optflags}" %{__python} setup.py build
 
 %install
 rm -rf %{buildroot}
-python setup.py install --skip-build --root  %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root  %{buildroot}
 chmod 755 %{buildroot}%{python_sitearch}/pyfits/pyfitsComp.so
 
 %clean
@@ -42,6 +39,10 @@ rm -fr %{buildroot}
 %{python_sitearch}/*
 
 %changelog
+* Wed Jun 23 2010 Sergio Pascual <sergiopr at fedoraproject.org> - 2.3.1-1
+- New upstream source
+- Added CFLAGS to the build line
+
 * Tue Nov 17 2009 Sergio Pascual <sergiopr at fedoraproject.org> - 2.2.2-1
 - New upstream source
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pyfits/EL-6/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -p -r1.5 -r1.6
--- sources	17 Nov 2009 17:46:10 -0000	1.5
+++ sources	23 Jun 2010 09:38:35 -0000	1.6
@@ -1 +1 @@
-d4df35c78775745956f67ba5bec4f10f  pyfits-2.2.2.tar.gz
+82e6919667aea99925db212d38670b38  pyfits-2.3.1.tar.gz



More information about the scm-commits mailing list