rpms/pyfits/devel pyfits.spec,1.11,1.12

Sergio Pascual sergiopr at fedoraproject.org
Wed Jan 20 12:55:51 UTC 2010


Author: sergiopr

Update of /cvs/pkgs/rpms/pyfits/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv23842

Modified Files:
	pyfits.spec 
Log Message:
* Tue Jan 20 2010 Sergio Pascual <sergiopr at fedoraproject.org> - 2.2.2-3
- Added missing quotes in CFLAGS



Index: pyfits.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pyfits/devel/pyfits.spec,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -p -r1.11 -r1.12
--- pyfits.spec	20 Jan 2010 12:36:51 -0000	1.11
+++ pyfits.spec	20 Jan 2010 12:55:51 -0000	1.12
@@ -3,7 +3,7 @@
 
 Name: pyfits
 Version: 2.2.2
-Release: 2%{?dist}
+Release: 3%{?dist}
 Summary: Python interface to FITS
 
 Group: Development/Languages
@@ -26,15 +26,15 @@ writing analysis scripts in Python using
 sed -i -e "1d" lib/NP_pyfits.py lib/NA_pyfits.py
 
 %build
-CFLAGS=%{optflags} 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
-rm -fr %{buildroot}
+rm -rf %{buildroot}
 
 %files
 %defattr(-,root,root,-)
@@ -42,6 +42,9 @@ rm -fr %{buildroot}
 %{python_sitearch}/*
 
 %changelog
+* Tue Jan 20 2010 Sergio Pascual <sergiopr at fedoraproject.org> - 2.2.2-3
+- Added missing quotes in CFLAGS
+
 * Tue Jan 20 2010 Sergio Pascual <sergiopr at fedoraproject.org> - 2.2.2-2
 - Added CFLAGS to the build line
 



More information about the scm-commits mailing list