rpms/pygrace/EL-5 pygrace.spec,1.4,1.5 sources,1.2,1.3

Jussi Lehtola jussilehtola at fedoraproject.org
Thu Jul 16 15:00:58 UTC 2009


Author: jussilehtola

Update of /cvs/pkgs/rpms/pygrace/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv20801/EL-5

Modified Files:
	pygrace.spec sources 
Log Message:
Update to 0.4.


Index: pygrace.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pygrace/EL-5/pygrace.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -p -r1.4 -r1.5
--- pygrace.spec	19 Feb 2009 21:34:59 -0000	1.4
+++ pygrace.spec	16 Jul 2009 15:00:27 -0000	1.5
@@ -1,8 +1,8 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 
 Name:		pygrace
-Version:	0.3
-Release:	5%{?dist}
+Version:	0.4
+Release:	1%{?dist}
 Summary:	Python bindings for grace
 Group:		Applications/Engineering
 License:	GPLv2+ and MIT
@@ -11,7 +11,8 @@ Source0:	http://www.its.caltech.edu/~mmc
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:	noarch
 
-BuildRequires:	python-setuptools-devel
+BuildRequires:	python-devel
+BuildRequires:	python-setuptools
 BuildRequires:	python-numeric
 
 Requires:	grace
@@ -22,21 +23,17 @@ Python bindings for grace, based on Nath
 
 %prep
 %setup -q
+# Get rid of library shebangs
+for file in *.py; do
+ sed -i '/\/usr\/bin\/env/d' $file
+done
 
-%if 0%{?rhel} >0 
 %build
-CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build
-%install
-rm -rf %{buildroot}
-%{__python} -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot}
-%else
-%build
-%{__python} setup.py build
+python -c 'import setuptools; execfile("setup.py")' build
+
 %install
 rm -rf %{buildroot}
-%{__python} setup.py install --skip-build --root %{buildroot} 
-%endif
-
+python -c 'import setuptools; execfile("setup.py")' install -O1 --skip-build --root %{buildroot}
 
 %clean
 rm -rf %{buildroot}
@@ -44,21 +41,27 @@ rm -rf %{buildroot}
 %files
 %defattr(-,root,root,-)
 %doc README.txt tests examples
-%{python_sitelib}/%{name}
-%{python_sitelib}/*egg-info
+%{python_sitelib}/%{name}/
+%{python_sitelib}/%{name}-*.egg-info/
 
 %changelog
-* Thu Feb 19 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 0.3-5
+* Thu Jul 16 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 0.4-1
+- Update to 0.4.
+
+* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.3-6
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Thu Feb 19 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 0.3-5
 - Retry fixing EPEL build.
 
-* Thu Feb 19 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 0.3-4
+* Thu Feb 19 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 0.3-4
 - Fix EPEL build.
 
-* Wed Feb 18 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 0.3-3
+* Wed Feb 18 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 0.3-3
 - Added examples to %%doc.
 
-* Tue Feb 17 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 0.3-2
+* Tue Feb 17 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 0.3-2
 - Fixed license.
 
-* Sun Feb 15 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 0.3-1
+* Sun Feb 15 2009 Jussi Lehtola <jussilehtola at fedoraproject.org> - 0.3-1
 - First release.


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/pygrace/EL-5/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources	18 Feb 2009 20:24:05 -0000	1.2
+++ sources	16 Jul 2009 15:00:27 -0000	1.3
@@ -1 +1 @@
-a156a5487b337ef3b2d45ddb8fe61606  pygrace-0.3.tgz
+b7fc8ba41b7a1e33641c8968be31b650  pygrace-0.4.tgz




More information about the fedora-extras-commits mailing list