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

Luke Macken (lmacken) fedora-extras-commits at redhat.com
Fri Feb 29 05:16:02 UTC 2008


Author: lmacken

Update of /cvs/pkgs/rpms/python-configobj/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv13130

Modified Files:
	python-configobj.spec 
Log Message:
Account for egg-info


Index: python-configobj.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-configobj/devel/python-configobj.spec,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- python-configobj.spec	29 Feb 2008 04:53:17 -0000	1.8
+++ python-configobj.spec	29 Feb 2008 05:15:31 -0000	1.9
@@ -1,4 +1,5 @@
 %{!?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-configobj
 Version:        4.5.2
@@ -12,12 +13,7 @@
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
-BuildRequires: python-devel
-%if 0%{?fedora} >= 8
-BuildRequires: python-setuptools-devel
-%else
-BuildRequires: python-setuptools
-%endif
+BuildRequires: python-devel python-setuptools-devel
 
 %description
 ConfigObj is a simple but powerful config file reader and writer: an ini file
@@ -62,8 +58,7 @@
 %{python_sitelib}/*.py
 %{python_sitelib}/*.pyc
 %{python_sitelib}/*.pyo
-
-
+%{python_sitelib}/configobj-%{version}-py%{pyver}.egg-info
 
 %changelog
 * Thu Feb 28 2008 Luke Macken <lmacken at redhat.com> - 4.5.2-1




More information about the fedora-extras-commits mailing list