Hello community,

here is the log from the commit of package python-configobj for 
openSUSE:Factory checked in at 2012-02-07 14:46:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-configobj (Old)
 and      /work/SRC/openSUSE:Factory/.python-configobj.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-configobj", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-configobj/python-configobj.changes        
2011-09-23 12:42:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-configobj.new/python-configobj.changes   
2012-02-07 14:46:42.000000000 +0100
@@ -1,0 +2,30 @@
+Sun Feb  5 19:40:33 UTC 2012 - [email protected]
+
+- Really make the obsoletes sane: The package was called
+  python-configobj-docs before, so that's what we need to obsolete
+  (not -doc).
+- The Obsoletes tag is for <= %{version}, as the package existed in
+  version 4.7.2, which is also when it was merged back. Obsoleting
+  only < 4.7.2 would cause conflicts when installing the newly
+  merged package.
+
+-------------------------------------------------------------------
+Tue Jan 24 13:50:32 UTC 2012 - [email protected]
+
+- fix Obsoletes
+
+-------------------------------------------------------------------
+Fri Dec  9 12:39:05 UTC 2011 - [email protected]
+
+- Spec file cleanup:
+  * Use upstream tarball
+  * Obsoleted empty doc package
+  * Fix SLE-11 build
+  * Use upstream description
+
+-------------------------------------------------------------------
+Thu Dec  8 13:54:30 UTC 2011 - [email protected]
+
+- fix license to be in spdx.org format
+
+-------------------------------------------------------------------

Old:
----
  configobj-4.7.2.zip

New:
----
  configobj-4.7.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-configobj.spec ++++++
--- /var/tmp/diff_new_pack.dK82Fu/_old  2012-02-07 14:46:44.000000000 +0100
+++ /var/tmp/diff_new_pack.dK82Fu/_new  2012-02-07 14:46:44.000000000 +0100
@@ -1,7 +1,7 @@
 #
-# spec file for package python-configobj (Version 4.7.2)
+# spec file for package python-configobj
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,74 +15,56 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
-# norootforbuild
-
-
 Name:           python-configobj
-BuildRequires:  python-devel unzip
-Summary:        ConfigObj is a simple but powerful config file reader and 
writer
 Version:        4.7.2
-Release:        1
-License:        BSD
-Group:          Development/Libraries/Python
-Source:         http://configobj.googlecode.com/files/configobj-%{version}.zip
+Release:        0
+# FIXME: Change python-cofigobj-docs Obsoletes to < with next version update. 
Obsoletes introduced with version 4.7.2.
 Url:            http://www.voidspace.org.uk/python/configobj.html
+Summary:        Config file reading, writing and validation
+License:        BSD-2-Clause
+Group:          Development/Languages/Python
+Source:         
http://pypi.python.org/packages/source/c/configobj/configobj-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} >= 1120
+BuildRequires:  python-devel
+# There are no real docs!
+Provides:       python-configobj-docs = %{version}
+Obsoletes:      python-configobj-docs <= %{version}
+%if 0%{?suse_version} && 0%{?suse_version} <= 1110
+%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
+%else
 BuildArch:      noarch
 %endif
-%{py_requires}
 
 %description
-ConfigObj is a simple but powerful config file reader and writer: an ini file
-round tripper. Its main feature is that it is very easy to use, with a
+ConfigObj is a simple but powerful config file reader and writer: an ini
+file round tripper. Its main feature is that it is very easy to use, with a
 straightforward programmer's interface and a simple syntax for config files.
+It has lots of other features though:
 
-It has lots of other features though :
-* Nested sections (subsections), to any level
-* List values
-* Multiple line values
-* String interpolation (substitution)
-* Integrated with a powerful validation system
-  including automatic type checking/conversion, repeated sections,
-  and allowing default values
-* All comments in the file are preserved
-* The order of keys/sections is preserved
-* No external dependencies
-* Full Unicode support
-* A powerful unrepr mode for storing basic datatypes
-
-%package docs
-License:        BSD
-Summary:        ConfigObj Documentation
-Group:          Development/Libraries/Python
-Requires:       %{name} = %{version}
-
-%description docs
-Documentation for the ConfigObj Python library, see
-  %{_docdir}/%{name}/
+ * Nested sections (subsections), to any level
+ * List values
+ * Multiple line values
+ * Full Unicode support
+ * String interpolation (substitution)
+ * Integrated with a powerful validation system
+   - including automatic type checking/conversion
+   - and allowing default values
+   - repeated sections
+ * All comments in the file are preserved
+ * The order of keys/sections is preserved
+ * Powerful ``unrepr`` mode for storing/retrieving Python data-types
 
 %prep
 %setup -q -n configobj-%{version}
 
 %build
-export CFLAGS="$RPM_OPT_FLAGS" 
-%__python setup.py build
+python setup.py build
 
 %install
-%__python setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT 
--record-rpm=INSTALLED_FILES
-
-%__install -d "%{buildroot}%{_docdir}/%{name}"
-%__cp -r docs/* "%{buildroot}%{_docdir}/%{name}/"
-
-%clean
-%{?buildroot:%__rm -rf "%{buildroot}"}
-
-%files -f INSTALLED_FILES
-%defattr(-,root,root)
+python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
-%files docs
-%defattr(-,root,root)
-%doc %{_docdir}/%{name}
+%files
+%defattr(-,root,root,-)
+%{python_sitelib}/*
 
 %changelog

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to