rpms/sympy/EL-5 sympy.spec,1.2,1.3

Jussi Lehtola jussilehtola at fedoraproject.org
Sun Dec 27 16:41:23 UTC 2009


Author: jussilehtola

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

Modified Files:
	sympy.spec 
Log Message:
EPEL fixes to spec file.


Index: sympy.spec
===================================================================
RCS file: /cvs/pkgs/rpms/sympy/EL-5/sympy.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sympy.spec	27 Dec 2009 16:34:25 -0000	1.2
+++ sympy.spec	27 Dec 2009 16:41:22 -0000	1.3
@@ -12,7 +12,7 @@ BuildRoot:      %{_tmppath}/%{name}-%{ve
 
 BuildArch:      noarch
 BuildRequires:  python-devel
-
+BuildRequires:	python-setuptools
 
 %description
 SymPy aims to become a full-featured computer algebra system (CAS)
@@ -26,12 +26,11 @@ Python and does not require any external
 
 
 %build
-%{__python} setup.py build
-
+python -c 'import setuptools; execfile("setup.py")' build
 
 %install
 rm -rf %{buildroot}
-%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+python -c 'import setuptools; execfile("setup.py")' install --skip-build --root %{buildroot}
 # Remove extra files
 rm -f %{buildroot}%{_bindir}/{,doc}test
  




More information about the scm-commits mailing list