rpms/python-simplejson/devel python-simplejson.spec,1.5,1.6

Luke Macken (lmacken) fedora-extras-commits at redhat.com
Sat Dec 9 20:35:20 UTC 2006


Author: lmacken

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

Modified Files:
	python-simplejson.spec 
Log Message:
fix egg-info directory for python 2.5


Index: python-simplejson.spec
===================================================================
RCS file: /cvs/extras/rpms/python-simplejson/devel/python-simplejson.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- python-simplejson.spec	9 Dec 2006 20:09:46 -0000	1.5
+++ python-simplejson.spec	9 Dec 2006 20:34:50 -0000	1.6
@@ -1,8 +1,10 @@
 %{!?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]")}
+
 
 Name:           python-simplejson
 Version:        1.4
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Simple, fast, extensible JSON encoder/decoder for Python
 
 Group:          System Environment/Libraries
@@ -53,13 +55,13 @@
 %defattr(-,root,root,-)
 %doc docs
 %dir %{python_sitelib}/simplejson
-%{python_sitelib}/simplejson-%{version}-py2.4.egg-info
+%{python_sitelib}/simplejson-%{version}-py%{pyver}.egg-info
 %{python_sitelib}/simplejson/*.py*
 %{python_sitelib}/simplejson/tests/*.py*
 
 
 %changelog
-* Sat Dec  9 2006 Luke Macken <lmacken at redhat.com> - 1.4-3
+* Sat Dec  9 2006 Luke Macken <lmacken at redhat.com> - 1.4-4
 - Add python-devel to BuildRequires
 
 * Sat Dec  9 2006 Luke Macken <lmacken at redhat.com> - 1.4-2




More information about the fedora-extras-commits mailing list