rpms/python-simplejson/devel python-simplejson.spec,1.8,1.9

Luke Macken (lmacken) fedora-extras-commits at redhat.com
Wed Mar 21 05:31:20 UTC 2007


Author: lmacken

Update of /cvs/extras/rpms/python-simplejson/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21930

Modified Files:
	python-simplejson.spec 
Log Message:
Use python_sitearch instead of sitelib


Index: python-simplejson.spec
===================================================================
RCS file: /cvs/extras/rpms/python-simplejson/devel/python-simplejson.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- python-simplejson.spec	21 Mar 2007 01:48:34 -0000	1.8
+++ python-simplejson.spec	21 Mar 2007 05:30:48 -0000	1.9
@@ -1,10 +1,9 @@
-%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
 %{!?pyver: %define pyver %(%{__python} -c "import sys ; print sys.version[:3]")}
-
+%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
 
 Name:           python-simplejson
 Version:        1.7
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Simple, fast, extensible JSON encoder/decoder for Python
 
 Group:          System Environment/Libraries
@@ -53,15 +52,18 @@
 %files
 %defattr(-,root,root,-)
 %doc docs
-%dir %{python_sitelib}/simplejson
-%{python_sitelib}/simplejson-%{version}-py%{pyver}.egg-info
-%{python_sitelib}/simplejson/*.py*
-%{python_sitelib}/simplejson/tests/*.py*
-%{python_sitelib}/simplejson/_speedups.so
+%dir %{python_sitearch}/simplejson
+%{python_sitearch}/simplejson-%{version}-py%{pyver}.egg-info
+%{python_sitearch}/simplejson/*.py*
+%{python_sitearch}/simplejson/tests/*.py*
+%{python_sitearch}/simplejson/_speedups.so
 
 
 %changelog
-* Tue Mar 20 2007 Luke Macken <lmacken at redhat.com> - 1.7
+* Wed Mar 21 2007 Luke Macken <lmacken at redhat.com> - 1.7-2
+- Use python_sitearch instead of sitelib
+
+* Tue Mar 20 2007 Luke Macken <lmacken at redhat.com> - 1.7-1
 - 1.7 (Bug #233212)
 
 * Sat Mar  3 2007 Luke Macken <lmacken at redhat.com> - 1.5




More information about the fedora-extras-commits mailing list