Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package calibre for openSUSE:Factory checked 
in at 2023-07-03 17:42:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/calibre (Old)
 and      /work/SRC/openSUSE:Factory/.calibre.new.13546 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "calibre"

Mon Jul  3 17:42:07 2023 rev:301 rq:1096286 version:6.21.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/calibre/calibre.changes  2023-04-27 
20:03:03.914677080 +0200
+++ /work/SRC/openSUSE:Factory/.calibre.new.13546/calibre.changes       
2023-07-03 17:42:09.236495513 +0200
@@ -1,0 +2,102 @@
+Thu Jun 29 13:06:20 UTC 2023 - ecsos <ec...@opensuse.org>
+
+- Update to 6.21.0
+  * New Features
+    - DOCX Output: Add support for SVG images
+    - E-book viewer: Allow configuring the actions triggered by
+      touch gestures
+    - DOCX Input: Add support for SVG images
+  * Bug Fixes
+    - Windows: Fix a regression in the previous release that could
+      cause files to be deleted if one of the files/folders was
+      open in another program while changing title/author in calibre
+    - macOS: Fix extra dock icons visible when doing a job using
+      Qt WebEngine such as converting to PDF or searching in Get books
+    - macOS and Linux: Fix an error when changing metadata or
+      deleting books whose files are owned by another user
+    - CHM Input: Yet another regression opening CHM files with
+      missing internal files on windows
+    - CHM Input: Resolve absolute links to resource files from the
+      root of the CHM file
+- Changes from 6.20.0
+  * Bug Fixes
+    - CHM Input: Fix a regression in the previous release that
+      broke conversion of CHM files
+    - Windows: Make moving files in the calibre library folder more
+      robust, locking folders in addition to files, before the start
+      of the move
+    - Get books: Update Barnes and Noble store plugin for website
+      changes
+    - Kindle output: Only re-encode JPEG images with EXIF metadata
+      if the metadata contains actual transpose operations
+    - PDF Output: Fix error when input document contains multiple
+      instances of a font some with vertical metrics and some without
+    - PDF Output: Fix using CSS Multicolumns for body causing
+      conversion to fail when header/footer is specified
+    - MOBI Input: Fix a crash when converting some corrupted
+      palmdoc compressed MOBI files
+    - E-book viewer: Ensure CSS stylesheets are interpreted as UTF-8
+- Changes from 6.19.1
+  * Bug Fixes
+    - 6.19.1 fixes a bug in 6.19.0 that broke the edit metadata dialog
+- Changes from 6.19.0
+  * New Features
+    - HTML Input: Restrict adding of resources like images to only
+      files within the folder hierarchy starting at the parent
+      folder of the root HTML file Can be controlled by customizing
+      the HTML to Zip plugin in Preferences->Plugins or the 
+      --allow-local-files-outside-root option to the ebook-convert
+      command
+  * Bug Fixes
+    - PDF Output: Fix regression in previous release causing
+      non-English entries to be incorrectly encoded into the PDF
+      bookmarks
+    - PDF Output: Fix regression in previous release that caused
+      blank pages when generating headers or footers
+    - Book list: Fix editing-in-place not pre-selecting existing
+      text for some column types
+    - Amazon.de metadata download: Update for site changes
+    - PDF Output: Set /Creator and /Producer in /Info
+    - Fix row height incorrect in Manage category dialog when blank
+- Changes from 6.18.1
+  * Bug Fixes
+    - 6.18.1 fixes a regression that broke setting metadata and
+      generating PDF files in the macOS and Linux binary builds
+- Changes from 6.18.0
+  * New Features
+    - Cover download: Allowing saving alternate covers to disk or
+      in the book's data folder by right clicking on the cover
+    - Content server: Allow disabling full text search via the web
+      interface
+    - When sending books to the device confirm the overwrite if the
+      book already exists on the device
+    - E-book viewer: Handle horizontal wheel events as section
+      jumps in paged mode
+    - Comic Input: When grayscaling comic images use 16bit gray
+      instead of 8bit for better fidelity
+    - Add a new option in Preferences->Searching to disable keyboard
+      searching in book list (i.e. you can turn off the behavior
+      that pressing a key will jump to the first book whose title
+      starts with that letter)
+    - Manage categories dialog: Use alternating row colors and
+      allow adjusting row height
+    - Allow assigning a keyboard shortcut in Preferences->Shortcuts
+      to open the data folder of a book
+    - Various improvements to syntax highlighting for the Markdown
+      long text editor
+  * Bug Fixes
+    - Fix a regression in 6.16 that broke restoring of the database
+    - Tag browser: Fix using F2 to edit items not allowing completion
+    - Book details: Fix formatting of text when copying all book
+      details in narrow mode
+    - Book details: Fix copy all not respecting line breaks in fields
+    - Fix a regression in previous release that broke scrolling
+      when using the scroll_per_row tweak
+    - Fix a regression in the previous release that broke the
+      category manager dialog in some situations    
+- Add calibre-revert-new-podofo.patch to fix build error with podofo.
+- Drop calibre-python_test.patch and disable tests in spec file.
+- Comment out mathjax and hyphenation-dictionaries for now.
+- Use only python 3.11 to build packages, so Leap can also build.
+
+-------------------------------------------------------------------

Old:
----
  calibre-6.17.0.tar.xz
  calibre-6.17.0.tar.xz.sig
  calibre-python_test.patch

New:
----
  calibre-6.21.0.tar.xz
  calibre-6.21.0.tar.xz.sig
  calibre-revert-new-podofo.patch

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

Other differences:
------------------
++++++ calibre.spec ++++++
--- /var/tmp/diff_new_pack.GGIzKe/_old  2023-07-03 17:42:12.356513882 +0200
+++ /var/tmp/diff_new_pack.GGIzKe/_new  2023-07-03 17:42:12.360513906 +0200
@@ -16,8 +16,9 @@
 #
 
 
+%{?sle15_python_module_pythons}
 Name:           calibre
-Version:        6.17.0
+Version:        6.21.0
 Release:        0
 Summary:        EBook Management Application
 License:        GPL-3.0-only
@@ -34,12 +35,12 @@
 # Use from inside 
https://github.com/kovidgoyal/calibre/releases/download/v6.14.0/calibre-6.14.0-x86_64.txz
 Source6:        user-agent-data.json
 Source100:      %{name}-rpmlintrc
-# PATCH-FIX-OPENSUSE: disabling unrar test, disable zeroconf test
-Patch1:         %{name}-python_test.patch
 # PATCH-FIX-OPENSUSE: install locale files the openSUSE way
 Patch2:         %{name}-setup.install.py.diff
 # PATCH-FIX-OPENSUSE: disabling Autoupdate Searcher
 Patch3:         %{name}-no-update.diff
+# PATCH-FIX-OPENSUSE: revert new podofo
+Patch4:         %{name}-revert-new-podofo.patch
 ExclusiveArch:  aarch64 x86_64 riscv64
 BuildRequires:  fdupes
 BuildRequires:  help2man
@@ -82,7 +83,7 @@
 BuildRequires:  qt6-imageformats-devel >= 6.3.1
 BuildRequires:  qt6-platformsupport-private-devel  >= 6.3.1
 BuildRequires:  qt6-wayland-devel >= 6.3.1
-#BuildRequires:  python3-dbus-python
+#BuildRequires:  python311-dbus-python
 BuildRequires:  xdg-utils >= 1.0.2
 BuildRequires:  pkgconfig(Qt6Core) >= 6.3.1
 BuildRequires:  pkgconfig(Qt6Gui) >= 6.3.1
@@ -108,9 +109,10 @@
 BuildRequires:  pkgconfig(libopenjp2) >= 2.4.0
 BuildRequires:  pkgconfig(libpng16) >= 1.6.37
 BuildRequires:  pkgconfig(libusb-1.0) >= 1.0.24
-BuildRequires:  pkgconfig(ncurses) >= 6.3
-# upstream use pkgconfig(python3) >= 3.10.1
-BuildRequires:  pkgconfig(python3) >= 3.10
+# upstream use BuildRequires:  pkgconfig(ncurses) >= 6.3
+BuildRequires:  pkgconfig(ncurses) >= 6.1
+# upstream use pkgconfig(python311) >= 3.10.1
+BuildRequires:  python311-devel >= 3.10
 BuildRequires:  pkgconfig(readline) >= 8.1
 BuildRequires:  pkgconfig(sqlite3)
 BuildRequires:  pkgconfig(uchardet) >= 0.0.7
@@ -121,60 +123,63 @@
 BuildRequires:  jxrlib-devel >= 0.2.4
 BuildRequires:  libjpeg-turbo >= 2.0.5
 BuildRequires:  python-rpm-macros
-BuildRequires:  python3-Brotli >= 1.0.9
-BuildRequires:  python3-FontTools >= 4.39.3
-BuildRequires:  python3-Markdown >= 3.3.6
-BuildRequires:  python3-Pillow >= 8.4.0
-BuildRequires:  python3-Pygments >= 2.10.0
-BuildRequires:  python3-apsw >= 3.36.0-r1
-BuildRequires:  python3-beautifulsoup4 >= 4.10.0
-BuildRequires:  python3-cchardet >= 2.1.7
-BuildRequires:  python3-chardet >= 4.0.0
-BuildRequires:  python3-css-parser >= 1.0.8
-BuildRequires:  python3-dateutil >= 2.8.2
-BuildRequires:  python3-dnspython >= 2.1.0
-BuildRequires:  python3-dukpy-kovidgoyal >= 0.3
-BuildRequires:  python3-feedparser >= 6.0.8
-BuildRequires:  python3-html2text >= 2020.1.16
-BuildRequires:  python3-html5-parser >= 0.4.10
-BuildRequires:  python3-html5lib >= 1.1
-BuildRequires:  python3-ifaddr >= 0.1.7
-BuildRequires:  python3-jeepney >= 0.7.1
-BuildRequires:  python3-lxml >= 4.9.1
-BuildRequires:  python3-mechanize >= 0.4.7
-BuildRequires:  python3-msgpack >= 1.0.3
-BuildRequires:  python3-netifaces >= 0.11.0
-BuildRequires:  python3-odfpy
-BuildRequires:  python3-packaging >= 20.4
-BuildRequires:  python3-psutil >= 5.8.0
-BuildRequires:  python3-pychm >= 0.8.6
-BuildRequires:  python3-pycryptodome >= 3.11.0
-BuildRequires:  python3-pyparsing >= 3.0.6
-BuildRequires:  python3-pyzstd >= 0.15.6
-# upstream use: BuildRequires:  python3-pyqt-builder >= 1.13.0
-BuildRequires:  python3-pyqt-builder >= 1.12.2
-BuildRequires:  python3-qt6-devel >= 6.3.1
-BuildRequires:  python3-regex >= 2021.11.10
-BuildRequires:  python3-setuptools >= 57.4.0
-BuildRequires:  python3-sgmllib3k >= 1.0.0
-BuildRequires:  python3-sip-devel >= 6.6.2
-BuildRequires:  python3-texttable >= 1.6.4
-BuildRequires:  python3-toml >= 0.10.2
+BuildRequires:  python311-Brotli >= 1.0.9
+BuildRequires:  python311-FontTools >= 4.39.3
+BuildRequires:  python311-Markdown >= 3.3.6
+BuildRequires:  python311-Pillow >= 8.4.0
+BuildRequires:  python311-Pygments >= 2.10.0
+BuildRequires:  python311-apsw >= 3.36.0-r1
+BuildRequires:  python311-beautifulsoup4 >= 4.10.0
+BuildRequires:  python311-cchardet >= 2.1.7
+BuildRequires:  python311-chardet >= 4.0.0
+BuildRequires:  python311-css-parser >= 1.0.8
+BuildRequires:  python311-dateutil >= 2.8.2
+BuildRequires:  python311-dnspython >= 2.1.0
+BuildRequires:  python311-dukpy-kovidgoyal >= 0.3
+BuildRequires:  python311-feedparser >= 6.0.8
+BuildRequires:  python311-html2text >= 2020.1.16
+BuildRequires:  python311-html5-parser >= 0.4.10
+BuildRequires:  python311-html5lib >= 1.1
+BuildRequires:  python311-ifaddr >= 0.1.7
+BuildRequires:  python311-jeepney >= 0.7.1
+BuildRequires:  python311-lxml >= 4.9.1
+BuildRequires:  python311-mechanize >= 0.4.7
+BuildRequires:  python311-msgpack >= 1.0.3
+BuildRequires:  python311-netifaces >= 0.11.0
+BuildRequires:  python311-odfpy
+BuildRequires:  python311-packaging >= 20.4
+BuildRequires:  python311-psutil >= 5.8.0
+BuildRequires:  python311-pychm >= 0.8.6
+BuildRequires:  python311-pycryptodome >= 3.11.0
+BuildRequires:  python311-pyparsing >= 3.0.6
+BuildRequires:  python311-pyzstd >= 0.15.6
+# upstream use: BuildRequires:  python311-pyqt-builder >= 1.13.0
+BuildRequires:  python311-pyqt-builder >= 1.12.2
+BuildRequires:  python311-qt6-devel >= 6.3.1
+BuildRequires:  python311-regex >= 2021.11.10
+BuildRequires:  python311-setuptools >= 57.4.0
+BuildRequires:  python311-sgmllib3k >= 1.0.0
+BuildRequires:  python311-sip-devel >= 6.6.2
+BuildRequires:  python311-texttable >= 1.6.4
+BuildRequires:  python311-toml >= 0.10.2
 BuildRequires:  pkgconfig(libjpeg) >= 2.1.2
 BuildRequires:  pkgconfig(libwebp) >= 1.2.1
 BuildRequires:  pkgconfig(libxml-2.0) >= 2.9.14
 BuildRequires:  pkgconfig(libxslt) >= 1.1.35
 # Need at buildtime too, to produce the bash completion
-BuildRequires:  python3-qtwebengine-qt6 >= 6.3.1
-BuildRequires:  python3-six >= 1.16.0
-BuildRequires:  python3-soupsieve >= 2.3.1
+BuildRequires:  python311-qtwebengine-qt6 >= 6.3.1
+BuildRequires:  python311-six >= 1.16.0
+BuildRequires:  python311-soupsieve >= 2.3.1
 #BuildRequires:  python-unrardll >= 0.1.5
-# upstream use: BuildRequires:  python3-py7zr >= 0.15.0
-BuildRequires:  python3-py7zr >= 0.11.1
-# upstream use: BuildRequires:  python3-speechd >= 0.11.1
-BuildRequires:  python3-speechd >= 0.10.2
-BuildRequires:  python3-webencodings >= 0.5.1
-BuildRequires:  python3-zeroconf >= 0.37.0
+# upstream use: BuildRequires:  python311-py7zr >= 0.15.0
+BuildRequires:  python311-py7zr >= 0.11.1
+%if 0%{?suse_version} > 1500
+BuildRequires:  python3-speechd >= 0.11.1
+%else
+BuildRequires:  python311-speechd >= 0.11.1
+%endif
+BuildRequires:  python311-webencodings >= 0.5.1
+BuildRequires:  python311-zeroconf >= 0.37.0
 #
 Requires:       chmlib >= 0.40
 #Requires:       dbus-1-python3 >= 1.2.0
@@ -185,56 +190,60 @@
 Requires:       optipng >= 0.7.5
 Requires:       podofo >= 0.9.7
 Requires:       poppler-tools >= 21.11.0
-Requires:       python3 >= 3.10
-Requires:       python3-Brotli >= 1.0.9
-Requires:       python3-Markdown >= 3.3.6
-Requires:       python3-Pillow >= 8.4.0
-Requires:       python3-Pygments >= 2.10.0
-Requires:       python3-apsw >= 3.36.0-r1
-Requires:       python3-beautifulsoup4 >= 4.10.0
-Requires:       python3-cchardet >= 2.1.7
-Requires:       python3-chardet >= 4.0.0
-Requires:       python3-css-parser >= 1.0.8
-Requires:       python3-dateutil >= 2.8.2
-#Requires:       python3-dbus-python
-Requires:       python3-dnspython >= 2.1.0
-Requires:       python3-FontTools >= 4.39.3
-Requires:       python3-PyQt6-sip >= 13.4.0
-Requires:       python3-dukpy-kovidgoyal >= 0.3
-Requires:       python3-feedparser >= 6.0.8
-Requires:       python3-html2text >= 2020.1.16
-Requires:       python3-html5-parser >= 0.4.10
-Requires:       python3-html5lib >= 1.1
-Requires:       python3-ifaddr >= 0.1.7
-Requires:       python3-jeepney >= 0.7.1
-Requires:       python3-lxml >= 4.9.1
-Requires:       python3-mechanize >= 0.4.7
-Requires:       python3-msgpack >= 1.0.3
-Requires:       python3-netifaces >= 0.11.0
-Requires:       python3-odfpy
-Requires:       python3-psutil >= 5.8.0
-Requires:       python3-pychm >= 0.8.6
-Requires:       python3-pycryptodome >= 3.11.0
-Requires:       python3-pyzstd >= 0.15.6
-Requires:       python3-qt6 >= 6.3.1
-Requires:       python3-qtwebengine-qt6 >= 6.3.1
-Requires:       python3-regex >= 2021.11.10
-Requires:       python3-sgmllib3k >= 1.0.0
-Requires:       python3-six >= 1.16.0
-Requires:       python3-soupsieve >= 2.3.1
-Requires:       python3-texttable >= 1.6.4
-#Requires:       python3-unrardll >= 0.1.5
-Requires:       python3-py7zr >= 0.11.1
-Requires:       python3-speechd >= 0.10.2
-Requires:       python3-webencodings >= 0.5.1
-Requires:       python3-zeroconf >= 0.37.0
+Requires:       python311 >= 3.10
+Requires:       python311-Brotli >= 1.0.9
+Requires:       python311-Markdown >= 3.3.6
+Requires:       python311-Pillow >= 8.4.0
+Requires:       python311-Pygments >= 2.10.0
+Requires:       python311-apsw >= 3.36.0-r1
+Requires:       python311-beautifulsoup4 >= 4.10.0
+Requires:       python311-cchardet >= 2.1.7
+Requires:       python311-chardet >= 4.0.0
+Requires:       python311-css-parser >= 1.0.8
+Requires:       python311-dateutil >= 2.8.2
+#Requires:       python311-dbus-python
+Requires:       python311-dnspython >= 2.1.0
+Requires:       python311-FontTools >= 4.39.3
+Requires:       python311-PyQt6-sip >= 13.4.0
+Requires:       python311-dukpy-kovidgoyal >= 0.3
+Requires:       python311-feedparser >= 6.0.8
+Requires:       python311-html2text >= 2020.1.16
+Requires:       python311-html5-parser >= 0.4.10
+Requires:       python311-html5lib >= 1.1
+Requires:       python311-ifaddr >= 0.1.7
+Requires:       python311-jeepney >= 0.7.1
+Requires:       python311-lxml >= 4.9.1
+Requires:       python311-mechanize >= 0.4.7
+Requires:       python311-msgpack >= 1.0.3
+Requires:       python311-netifaces >= 0.11.0
+Requires:       python311-odfpy
+Requires:       python311-psutil >= 5.8.0
+Requires:       python311-pychm >= 0.8.6
+Requires:       python311-pycryptodome >= 3.11.0
+Requires:       python311-pyzstd >= 0.15.6
+Requires:       python311-qt6 >= 6.3.1
+Requires:       python311-qtwebengine-qt6 >= 6.3.1
+Requires:       python311-regex >= 2021.11.10
+Requires:       python311-sgmllib3k >= 1.0.0
+Requires:       python311-six >= 1.16.0
+Requires:       python311-soupsieve >= 2.3.1
+Requires:       python311-texttable >= 1.6.4
+#Requires:       python311-unrardll >= 0.1.5
+Requires:       python311-py7zr >= 0.11.1
+%if 0%{?suse_version} > 1500
+Requires:       python3-speechd >= 0.11.1
+%else
+Requires:       python311-speechd >= 0.11.1
+%endif
+Requires:       python311-webencodings >= 0.5.1
+Requires:       python311-zeroconf >= 0.37.0
 #
 Requires:       sqlite3
 Requires:       bzip2 >= 1.0.8
 Requires:       expat >= 2.4.1
 Requires:       unrar >= 6.1.2
 Requires:       xdg-utils >= 1.0.2
-Requires:       xz >= 5.2.5
+Requires:       xz >= 5.2.3
 Requires:       zlib >= 1.2.11
 
 Requires(pretrans):findutils
@@ -250,9 +259,9 @@
 
 %prep
 %setup -q -a4 -a5
-%patch1 -p1
 %patch2 -p1
 %patch3 -p1 -b .no-update
+%patch4 -p1
 
 # dos2unix newline conversion
 sed -i 's/\r//' src/calibre/web/feeds/recipes/*
@@ -286,22 +295,26 @@
 CFLAGS="%{optflags}" \
 CXXFLAGS="%{optflags}" \
 OVERRIDE_CFLAGS="%{optflags}" \
-CALIBRE_PY3_PORT=1 python3 setup.py build
+
 ###python setup.py build
-%{__python3} setup.py iso639
-%{__python3} setup.py iso3166
-%{__python3} setup.py translations
-%{__python3} setup.py gui
-%{__python3} setup.py resources \
-       --path-to-liberation_fonts %{_datadir}/fonts/truetype \
-       --system-liberation_fonts \
-       --path-to-hyphenation `pwd`/dictionaries-master \
-       --path-to-mathjax `pwd`/MathJax-3.1.4
-#%%{__python3} setup.py man_pages
+CALIBRE_PY3_PORT=1 python3.11 setup.py build
+
+python3.11 setup.py iso639
+python3.11 setup.py iso3166
+python3.11 setup.py translations
+python3.11 setup.py gui
+
+#%%{__python3} setup.py resources \
+#      --path-to-liberation_fonts %%{_datadir}/fonts/truetype \
+#      --system-liberation_fonts \
+#      --path-to-hyphenation `pwd`/dictionaries-master \
+#      --path-to-mathjax `pwd`/MathJax-3.1.4
+
+#%%{__python311} setup.py man_pages
 
 %install
 ###python setup.py install \
-CALIBRE_PY3_PORT=1 python3 setup.py install \
+CALIBRE_PY3_PORT=1 python3.11 setup.py install \
    --prefix=%{_prefix} \
    --root=%{buildroot}%{_prefix} \
    --staging-bindir=%{buildroot}%{_bindir} \
@@ -367,7 +380,15 @@
 end
 
 %check
-CALIBRE_PY3_PORT=1 SKIP_QT_BUILD_TEST=1 python3 setup.py test
+# don't know why Leap rise up an error. Does anyone know the reason?
+%if 0%{?suse_version} > 1500
+TEST_EXCLUDE=(
+    --exclude-test-name unrar                       # is not in openSUSE oss
+    --exclude-test-name zeroconf                    # rise up build error
+)
+
+CALIBRE_PY3_PORT=1 SKIP_QT_BUILD_TEST=1 python3.11 setup.py test 
"${TEST_EXCLUDE[@]}"
+%endif
 
 %if 0%{?suse_version} <= 1320
 %post
@@ -397,6 +418,6 @@
 %{_datadir}/bash-completion/completions/%{name}*
 %{_datadir}/bash-completion/completions/*ebook*
 %{_datadir}/bash-completion/completions/lrf*
-%{python3_sitearch}/init_calibre.py
+%{python_sitearch}/init_calibre.py
 
 %changelog

++++++ calibre-6.17.0.tar.xz -> calibre-6.21.0.tar.xz ++++++
/work/SRC/openSUSE:Factory/calibre/calibre-6.17.0.tar.xz 
/work/SRC/openSUSE:Factory/.calibre.new.13546/calibre-6.21.0.tar.xz differ: 
char 26, line 1

++++++ calibre-revert-new-podofo.patch ++++++
++++ 2001 lines (skipped)


++++++ hyphenation-dictionaries.tar.gz ++++++
/work/SRC/openSUSE:Factory/calibre/hyphenation-dictionaries.tar.gz 
/work/SRC/openSUSE:Factory/.calibre.new.13546/hyphenation-dictionaries.tar.gz 
differ: char 13, line 1

Reply via email to