rpms/pygrace/EL-5 pygrace.spec,1.1,1.2
Jussi Lehtola
jussilehtola at fedoraproject.org
Thu Feb 19 21:12:05 UTC 2009
Author: jussilehtola
Update of /cvs/pkgs/rpms/pygrace/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13824/EL-5
Modified Files:
pygrace.spec
Log Message:
* Thu Feb 19 2008 Jussi Lehtola <jussi.lehtola at iki.fi> - 0.3-4
- Fix EPEL build.
Index: pygrace.spec
===================================================================
RCS file: /cvs/pkgs/rpms/pygrace/EL-5/pygrace.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- pygrace.spec 19 Feb 2009 09:12:30 -0000 1.1
+++ pygrace.spec 19 Feb 2009 21:11:35 -0000 1.2
@@ -2,7 +2,7 @@
Name: pygrace
Version: 0.3
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Python bindings for grace
Group: Applications/Engineering
License: GPLv2+ and MIT
@@ -24,7 +24,11 @@
%setup -q
%build
+%if 0%{?rhel} >0
+CFLAGS="%{optflags}" %{__python} -c 'import setuptools; execfile("setup.py")' build
+%else
%{__python} setup.py build
+%fi
%install
rm -rf %{buildroot}
@@ -40,6 +44,9 @@
%{python_sitelib}/*egg-info
%changelog
+* Thu Feb 19 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 0.3-4
+- Fix EPEL build.
+
* Wed Feb 18 2009 Jussi Lehtola <jussi.lehtola at iki.fi> - 0.3-3
- Added examples to %%doc.
More information about the fedora-extras-commits
mailing list