rpms/Cython/devel Cython.spec,1.2,1.3

Neal Becker (nbecker) fedora-extras-commits at redhat.com
Sat Jun 14 00:49:34 UTC 2008


Author: nbecker

Update of /cvs/extras/rpms/Cython/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv3092

Modified Files:
	Cython.spec 
Log Message:
- Install into python_sitearch
- Remove noarch
- Add %%check



Index: Cython.spec
===================================================================
RCS file: /cvs/extras/rpms/Cython/devel/Cython.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Cython.spec	13 Jun 2008 15:51:06 -0000	1.2
+++ Cython.spec	14 Jun 2008 00:48:45 -0000	1.3
@@ -1,9 +1,10 @@
 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(0)")}
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 
 Name:		Cython
 Version:	0.9.8
-Release:	1%{?dist}
+Release:	2%{?dist}
 Summary:	A language for writing Python extension modules
 
 Group:		Development/Tools
@@ -14,7 +15,6 @@
 
 BuildRequires:	python-devel python-setuptools
 Requires:	python
-BuildArch:	noarch
 
 %description
 This is a development version of Pyrex, a language
@@ -44,18 +44,24 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%check
+%{__python} runtests.py
 
 %files
 %defattr(-,root,root,-)
 %{_bindir}/cython
-%{python_sitelib}/Cython
+%{python_sitearch}/Cython
 %if 0%{?fedora} >= 9
-%{python_sitelib}/Cython*egg-info
+%{python_sitearch}/Cython*egg-info
 %endif
 %doc *.txt Demos Doc Tools
 
 
 %changelog
+* Fri Jun 13 2008 Neal Becker <ndbecker2 at gmail.com> - 0.9.8-2
+- Install into python_sitearch
+- Add %%check
+
 * Fri Jun 13 2008 Neal Becker <ndbecker2 at gmail.com> - 0.9.8-1
 - Update to 0.9.8
 




More information about the fedora-extras-commits mailing list