rpms/python-configobj/devel configobj-import-all-fix.patch, NONE, 1.1 .cvsignore, 1.9, 1.10 python-configobj.spec, 1.19, 1.20 sources, 1.9, 1.10

Toshio くらとみ toshio at fedoraproject.org
Thu Jun 17 23:28:03 UTC 2010


Author: toshio

Update of /cvs/pkgs/rpms/python-configobj/devel
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv11670

Modified Files:
	.cvsignore python-configobj.spec sources 
Added Files:
	configobj-import-all-fix.patch 
Log Message:

* Thu Jun 17 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 4.7.2-1
- Fix traceback when doing from validate import *
- Upstream bugfix release


configobj-import-all-fix.patch:
 validate.py |    1 -
 1 file changed, 1 deletion(-)

--- NEW FILE configobj-import-all-fix.patch ---
Index: configobj-4.7.2/validate.py
===================================================================
--- configobj-4.7.2.orig/validate.py
+++ configobj-4.7.2/validate.py
@@ -160,7 +160,6 @@ __all__ = (
     'is_ip_addr_list',
     'is_mixed_list',
     'is_option',
-    '__docformat__',
 )
 
 


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-configobj/devel/.cvsignore,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- .cvsignore	20 Jan 2010 15:07:41 -0000	1.9
+++ .cvsignore	17 Jun 2010 23:28:02 -0000	1.10
@@ -1 +1 @@
-configobj-4.7.0.zip
+configobj-4.7.2.zip


Index: python-configobj.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-configobj/devel/python-configobj.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -p -r1.19 -r1.20
--- python-configobj.spec	20 Jan 2010 15:07:41 -0000	1.19
+++ python-configobj.spec	17 Jun 2010 23:28:02 -0000	1.20
@@ -1,15 +1,17 @@
-%{!?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]")}
+%if !(0%{?rhel} >= 6 || 0%{?fedora} >= 13)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%endif
 
 Name:           python-configobj
-Version:        4.7.0
-Release:        2%{?dist}
+Version:        4.7.2
+Release:        1%{?dist}
 Summary:        Config file reading, writing, and validation
 
 Group:          System Environment/Libraries
 License:        BSD
 URL:            http://www.voidspace.org.uk/python/configobj.html
 Source0:        http://www.voidspace.org.uk/downloads/configobj-%{version}.zip
+Patch0:         configobj-import-all-fix.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildArch:      noarch
 
@@ -37,7 +39,7 @@ It has lots of other features though:
 
 %prep
 %setup -q -n configobj-%{version}
-
+%patch0 -p1 -b .all
 
 %build
 %{__python} setup.py build
@@ -45,7 +47,7 @@ It has lots of other features though:
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__python} setup.py install -O1 --skip-build --root=$RPM_BUILD_ROOT
+%{__python} setup.py install --skip-build --root=$RPM_BUILD_ROOT
 
 %check
 export PYTHONPATH="%{buildroot}/%{python_sitelib}"
@@ -60,6 +62,10 @@ rm -rf $RPM_BUILD_ROOT
 %{python_sitelib}/*
 
 %changelog
+* Thu Jun 17 2010 Toshio Kuratomi <toshio at fedoraproject.org> - 4.7.2-1
+- Fix traceback when doing from validate import *
+- Upstream bugfix release
+
 * Wed Jan 20 2010 Luke Macken <lmacken at redhat.com> - 4.7.0-2
 - Merge a bunch of changes from Gareth Armstrong <gareth.armstrong at hp.com>
     - The src zip file should come either from http://www.voidspace.org.uk/


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-configobj/devel/sources,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -p -r1.9 -r1.10
--- sources	20 Jan 2010 15:07:41 -0000	1.9
+++ sources	17 Jun 2010 23:28:02 -0000	1.10
@@ -1 +1 @@
-237bb4ffd4eaa6208805138499806421  configobj-4.7.0.zip
+51cee395cfbf831339b03f72706de18e  configobj-4.7.2.zip



More information about the scm-commits mailing list