diff --git a/.gitignore b/.gitignore index 8badb71..a018652 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /python-poppler-qt5-0.24.2.tar.gz +/python-poppler-qt5-0.74.0.tar.gz diff --git a/faf4d1308f89560b0d849671226e3080dfc72e79.patch b/faf4d1308f89560b0d849671226e3080dfc72e79.patch deleted file mode 100644 index 9578905..0000000 --- a/faf4d1308f89560b0d849671226e3080dfc72e79.patch +++ /dev/null @@ -1,32 +0,0 @@ -From faf4d1308f89560b0d849671226e3080dfc72e79 Mon Sep 17 00:00:00 2001 -From: Anthony Fok -Date: Sat, 5 Sep 2015 04:42:59 -0600 -Subject: [PATCH] %Import QtXml/QtXmlmod.sip if available - -to fix `sip: QDomElement is undefined` error. - -Fixes #2 ---- - poppler-qt5.sip | 6 ++++-- - 1 file changed, 4 insertions(+), 2 deletions(-) - -diff --git a/poppler-qt5.sip b/poppler-qt5.sip -index e89cde3..6744eae 100644 ---- a/poppler-qt5.sip -+++ b/poppler-qt5.sip -@@ -5,11 +5,13 @@ - * Maintained by Wilbert Berendsen - */ - -+%Feature QTXML_AVAILABLE - - %Import QtCore/QtCoremod.sip - %Import QtGui/QtGuimod.sip -- --%Feature QTXML_AVAILABLE -+%If(QTXML_AVAILABLE) -+%Import QtXml/QtXmlmod.sip -+%End - - %Timeline { - POPPLER_V0_20_0 diff --git a/python3-poppler-qt5.spec b/python3-poppler-qt5.spec index ab0c452..bacf8e6 100644 --- a/python3-poppler-qt5.spec +++ b/python3-poppler-qt5.spec @@ -1,12 +1,11 @@ Name: python3-poppler-qt5 -Version: 0.24.2 -Release: 15%{?dist} +Version: 0.74.0 +Release: 1%{?dist} Summary: Python bindings for the Poppler PDF rendering library License: LGPLv2+ URL: https://github.com/wbsoft/python-poppler-qt5 Source0: %{url}/archive/%{version}.tar.gz#/python-poppler-qt5-%{version}.tar.gz -Patch0: faf4d1308f89560b0d849671226e3080dfc72e79.patch Requires: python3-qt5 BuildRequires: python3-devel BuildRequires: python3-qt5-devel @@ -28,8 +27,6 @@ run programs written in Python 3 and using Poppler set. %prep %setup -qn python-poppler-qt5-%{version} -%patch0 -p1 - sed -i s/\'qmake\'/\'qmake-qt5\'/g setup.py @@ -46,6 +43,9 @@ sed -i s/\'qmake\'/\'qmake-qt5\'/g setup.py %{python3_sitearch}/python_poppler* %changelog +* Wed Sep 18 2019 Gwyn Ciesla - 0.74.0-1 +- 0.74.0 + * Wed Sep 18 2019 Rex Dieter - 0.24.2-15 - fix sip dep harder diff --git a/sources b/sources index 037fd5a..10b0488 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (python-poppler-qt5-0.24.2.tar.gz) = 4a7245081a8a823a7620a2b0503ebe2858749f47a7f66dd2c885fd344aea36c18342dae5b443a355c177e5893313f6323615ac05da45d319ba8e477e62e7d404 +SHA512 (python-poppler-qt5-0.74.0.tar.gz) = b6ad1aad8ff00773e4d67915f1bc11c129f6a44bd9ae5a439b3d91d4439669126901b0091780380970406e5fa1bc4fb8dcbd27a13ee97b3903fe361a2d0a696f