Hello community,

here is the log from the commit of package python-epubmerge for 
openSUSE:Leap:15.2 checked in at 2020-04-25 19:07:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-epubmerge (Old)
 and      /work/SRC/openSUSE:Leap:15.2/.python-epubmerge.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-epubmerge"

Sat Apr 25 19:07:50 2020 rev:2 rq:797242 version:2.9.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-epubmerge/python-epubmerge.changes      
2020-02-22 18:49:33.256374466 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-epubmerge.new.2738/python-epubmerge.changes
    2020-04-25 19:08:08.399989834 +0200
@@ -1,0 +2,21 @@
+Tue Apr 21 09:20:06 UTC 2020 - Tomáš Chvátal <tchva...@suse.com>
+
+- Use update-alternatives for the binary
+
+-------------------------------------------------------------------
+Mon Apr 20 16:57:11 UTC 2020 - Matej Cepl <mc...@suse.com>
+
+- Upgrade to 2.9.0:
+  - Update translations.
+  - Set allowZip64=True when writing zip files. Should only
+    matter for files >2G.
+  - Update cover view as well as tags and library list on new
+    book create.
+  - Copy six.ensure_binary for Calibre v3.
+  - Reduce debug output.
+  - Changes for eventual Python3 migration of Calibre.
+  - Add 'current time' option to custom datetime columns.
+  - Add a check and error message for unsupported epub3.
+- Rewrite SPEC into the standard pythonish one.
+
+-------------------------------------------------------------------

Old:
----
  v2.3.0.tar.gz

New:
----
  v2.9.0.tar.gz

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

Other differences:
------------------
++++++ python-epubmerge.spec ++++++
--- /var/tmp/diff_new_pack.qUMGue/_old  2020-04-25 19:08:08.975991072 +0200
+++ /var/tmp/diff_new_pack.qUMGue/_new  2020-04-25 19:08:08.975991072 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-epubmerge
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,19 +18,22 @@
 
 %define upname EpubMerge
 %define upnamedown epubmerge
-%define skip_python3 1
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-epubmerge
-Version:        2.3.0
+Version:        2.9.0
 Release:        0
 Summary:        EpubMerge Calibre Plugin
 License:        GPL-3.0-only
-Group:          Development/Languages/Python
 URL:            https://github.com/JimmXinu/EpubMerge
 Source:         
https://github.com/JimmXinu/EpubMerge/archive/v%{version}.tar.gz
+BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python2
+Requires:       python-setuptools
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
+# converted to update-alternatives with 2.9.0 release
+Conflicts:      python2-%{upnamedown} < 2.9.0
 BuildArch:      noarch
 %python_subpackages
 
@@ -60,14 +63,23 @@
 %setup -q -n %{upname}-%{version}
 
 %build
-/bin/true
+%python_build
 
 %install
-install -p -D epubmerge.py %{buildroot}%{_bindir}/%{upnamedown}
+%python_install
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%python_clone -a %{buildroot}%{_bindir}/%{upnamedown}
+
+%post
+%python_install_alternative %{upnamedown}
+
+%postun
+%python_uninstall_alternative %{upnamedown}
 
 %files %{python_files}
 %license LICENSE
 %doc README.md
-%{_bindir}/%{upnamedown}
+%python_alternative %{_bindir}/%{upnamedown}
+%{python_sitelib}/%{upname}*
 
 %changelog

++++++ v2.3.0.tar.gz -> v2.9.0.tar.gz ++++++
++++ 10957 lines of diff (skipped)


Reply via email to