Hello community,

here is the log from the commit of package python-ZODB for openSUSE:Factory 
checked in at 2017-08-28 15:16:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-ZODB (Old)
 and      /work/SRC/openSUSE:Factory/.python-ZODB.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-ZODB"

Mon Aug 28 15:16:35 2017 rev:5 rq:518771 version:5.2.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-ZODB/python-ZODB.changes  2015-05-19 
23:37:32.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-ZODB.new/python-ZODB.changes     
2017-08-28 15:17:55.534315585 +0200
@@ -1,0 +2,16 @@
+Fri Aug 25 11:55:40 UTC 2017 - [email protected]
+
+- Fix doc package dependencies
+
+-------------------------------------------------------------------
+Tue Aug 15 15:25:19 UTC 2017 - [email protected]
+
+- Fix doc package dependency problem
+
+-------------------------------------------------------------------
+Sat Jul  8 07:07:44 UTC 2017 - [email protected]
+
+- Update to 5.2.4 (see CHANGES.rst)
+- Converted to single-spec
+
+-------------------------------------------------------------------

Old:
----
  ZODB-4.1.0.tar.gz

New:
----
  ZODB-5.2.4.tar.gz

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

Other differences:
------------------
++++++ python-ZODB.spec ++++++
--- /var/tmp/diff_new_pack.QvPNto/_old  2017-08-28 15:17:56.510178457 +0200
+++ /var/tmp/diff_new_pack.QvPNto/_new  2017-08-28 15:17:56.510178457 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-ZODB
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 # Copyright (c) 2013 LISA GmbH, Bingen, Germany.
 #
 # All modifications and additions to the file contributed by third parties
@@ -17,23 +17,32 @@
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without  test
 Name:           python-ZODB
-Version:        4.1.0
+Version:        5.2.4
 Release:        0
 Summary:        Zope Object Database: object database and persistence
 License:        ZPL-2.1
 Group:          Development/Libraries/Python
 Url:            http://www.zodb.org/
-Source:         
https://pypi.python.org/packages/source/Z/ZODB/ZODB-%{version}.tar.gz
-BuildRequires:  python-BTrees
-BuildRequires:  python-ZConfig
-BuildRequires:  python-persistent-devel
-BuildRequires:  python-setuptools
-BuildRequires:  python-six
-BuildRequires:  python-transaction
-BuildRequires:  python-zc.lockfile
-BuildRequires:  python-zdaemon >= 4.0.0
-BuildRequires:  python-zope.interface
+Source:         
https://files.pythonhosted.org/packages/source/Z/ZODB/ZODB-%{version}.tar.gz
+BuildRequires:  %{python_module BTrees}
+BuildRequires:  %{python_module ZConfig}
+BuildRequires:  %{python_module persistent-devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module six}
+BuildRequires:  %{python_module transaction}
+BuildRequires:  %{python_module zc.lockfile}
+BuildRequires:  %{python_module zdaemon >= 4.0.0}
+BuildRequires:  %{python_module zope.interface}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
+%if %{with test}
+BuildRequires:  %{python_module manuel}
+BuildRequires:  %{python_module zodbpickle >= 0.6.0}
+BuildRequires:  %{python_module zope.testing}
+%endif
 Requires:       python-BTrees
 Requires:       python-ZConfig
 Requires:       python-persistent
@@ -42,17 +51,11 @@
 Requires:       python-zc.lockfile
 Requires:       python-zdaemon >= 4.0.0
 Requires:       python-zope.interface
-# Testing requirements:
-BuildRequires:  python-manuel
-BuildRequires:  python-xml
-BuildRequires:  python-zope.testing
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-
-%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
+Requires(post): update-alternatives
+Requires(preun): update-alternatives
 BuildArch:      noarch
-%endif
+
+%python_subpackages
 
 %description
 The Zope Object Database provides an object-oriented database for Python that
@@ -61,12 +64,12 @@
 includes features such as a plugable storage interface, rich transaction
 support, and undo.
 
-%package doc
+%package     -n %{name}-doc
 Summary:        Zope Object Database: object database and persistence
 Group:          Development/Libraries/Python
-Requires:       %{name} = %{version}
+Provides:       %{python_module ZODB-doc = %{version}}
 
-%description doc
+%description -n %{name}-doc
 This package contains documentation files for %{name}.
 
 %prep
@@ -75,27 +78,44 @@
 find . -name "*~" -print -delete
 # remove unwanted shebang
 find src -name "*.py" | xargs sed -i '1 { /^#!/ d }'
+rm -rf src/ZODB.egg-info
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes -s %{buildroot}%{$python_sitelib}
+
+%python_clone -a %{buildroot}%{_bindir}/fsdump
+%python_clone -a %{buildroot}%{_bindir}/fsoids
+%python_clone -a %{buildroot}%{_bindir}/fsrefs
+%python_clone -a %{buildroot}%{_bindir}/fstail
+%python_clone -a %{buildroot}%{_bindir}/repozo
 
+%if %{with test}
 %check
-python setup.py -q test
+%python_expand rm -f base.fs* && $python setup.py test
+%endif
+
+%post
+%python_install_alternative fsdump fsoids fsrefs fstail repozo
+
+%postun
+%python_uninstall_alternative fsdump
 
-%files
+%files %{python_files}
 %defattr(-,root,root)
-%doc 3.11.txt CHANGES.rst COPYRIGHT.txt HISTORY.txt LICENSE.txt README.rst
-%{python_sitelib}/*
-%{_bindir}/fsdump
-%{_bindir}/fsoids
-%{_bindir}/fsrefs
-%{_bindir}/fstail
-%{_bindir}/repozo
+%doc 3.11.txt CHANGES.rst COPYRIGHT.txt HISTORY.rst LICENSE.txt README.rst
+%{python_sitelib}/ZODB/
+%{python_sitelib}/ZODB-%{version}-py*.egg-info
+%python_alternative %{_bindir}/fsdump
+%python_alternative %{_bindir}/fsoids
+%python_alternative %{_bindir}/fsrefs
+%python_alternative %{_bindir}/fstail
+%python_alternative %{_bindir}/repozo
 
-%files doc
+%files -n %{name}-doc
 %defattr(-,root,root,-)
 %doc doc/
 

++++++ ZODB-4.1.0.tar.gz -> ZODB-5.2.4.tar.gz ++++++
++++ 36674 lines of diff (skipped)


Reply via email to