rpms/pygrace/EL-5 pygrace.spec,1.3,1.4

Jussi Lehtola jussilehtola at fedoraproject.org
Thu Feb 19 21:35:29 UTC 2009


Author: jussilehtola

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

Modified Files:
	pygrace.spec 
Log Message:
* Thu Feb 19 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 0.3-5
- Retry fixing EPEL build.



Index: pygrace.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pygrace/EL-5/pygrace.spec,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- pygrace.spec	19 Feb 2009 21:14:27 -0000	1.3
+++ pygrace.spec	19 Feb 2009 21:34:59 -0000	1.4
@@ -2,7 +2,7 @@
 
 Name:		pygrace
 Version:	0.3
-Release:	4%{?dist}
+Release:	5%{?dist}
 Summary:	Python bindings for grace
 Group:		Applications/Engineering
 License:	GPLv2+ and MIT
@@ -11,7 +11,7 @@
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:	noarch
 
-BuildRequires:	python-devel
+BuildRequires:	python-setuptools-devel
 BuildRequires:	python-numeric
 
 Requires:	grace
@@ -23,16 +23,20 @@
 %prep
 %setup -q
 
+%if 0%{?rhel} >0 
 %build
-%if 0%{?rhel} >0
 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
-%endif
-
 %install
 rm -rf %{buildroot}
 %{__python} setup.py install --skip-build --root %{buildroot} 
+%endif
+
 
 %clean
 rm -rf %{buildroot}
@@ -44,6 +48,9 @@
 %{python_sitelib}/*egg-info
 
 %changelog
+* Thu Feb 19 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 0.3-5
+- Retry fixing EPEL build.
+
 * Thu Feb 19 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 0.3-4
 - Fix EPEL build.
 




More information about the fedora-extras-commits mailing list