Hello community,

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

Package is "python-odfpy"

Mon Aug 28 15:13:22 2017 rev:16 rq:518468 version:1.3.5

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-odfpy/python-odfpy.changes        
2013-09-16 12:46:05.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-odfpy.new/python-odfpy.changes   
2017-08-28 15:14:59.719019886 +0200
@@ -1,0 +2,6 @@
+Thu Aug 24 05:19:14 UTC 2017 - [email protected]
+
+- update to 1.3.5
+- convert to singlespec
+
+-------------------------------------------------------------------

Old:
----
  odfpy-0.9.6.tar.bz2

New:
----
  odfpy-1.3.5.tar.gz

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

Other differences:
------------------
++++++ python-odfpy.spec ++++++
--- /var/tmp/diff_new_pack.Wtp8EV/_old  2017-08-28 15:15:00.678885020 +0200
+++ /var/tmp/diff_new_pack.Wtp8EV/_new  2017-08-28 15:15:00.678885020 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-odfpy
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -11,30 +11,28 @@
 # case the license is the MIT License). An "Open Source License" is a
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
-#
+
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-odfpy
-Version:        0.9.6
+Version:        1.3.5
 Release:        0
 Url:            http://opendocumentfellowship.com/development/projects/odfpy
 Summary:        Python API and tools to manipulate OpenDocument files
 License:        GPL-2.0+ and Apache-2.0
 Group:          Development/Languages/Python
-Source:         odfpy-%{version}.tar.bz2
+Source:         
https://files.pythonhosted.org/packages/source/o/odfpy/odfpy-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-BuildRequires:  python-devel
-BuildRequires:  python-setuptools
-%if 0%{?suse_version}
-%py_requires
-%if 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
+BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildArch:      noarch
-%endif
-%endif
+
+%python_subpackages
 
 %description
 Odfpy is a library to read and write OpenDocument v. 1.1 files.
@@ -68,15 +66,16 @@
 sed -i "1d" 
odf/{userfield,odf2xhtml,manifest,element,elementtypes,load,odfmanifest,thumbnail}.py
 # Fix non-executable scripts
 
 %build
-python setup.py build
+%python_build
 
 %install
-python setup.py install --prefix=%{_prefix} --root=%{buildroot}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%files
+%files %{python_files}
 %defattr(-,root,root,-)
-%{_bindir}/*
-%{_mandir}/man1/*
+%python3_only %{_bindir}/*
+%python3_only %{_mandir}/man1/*
 %{python_sitelib}/*
 
 %changelog


Reply via email to