0.74.0
This commit is contained in:
parent
ee82afe27e
commit
503f008874
1
.gitignore
vendored
1
.gitignore
vendored
@ -1 +1,2 @@
|
||||
/python-poppler-qt5-0.24.2.tar.gz
|
||||
/python-poppler-qt5-0.74.0.tar.gz
|
||||
|
@ -1,32 +0,0 @@
|
||||
From faf4d1308f89560b0d849671226e3080dfc72e79 Mon Sep 17 00:00:00 2001
|
||||
From: Anthony Fok <foka@debian.org>
|
||||
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 <wbsoft@xs4all.nl>
|
||||
*/
|
||||
|
||||
+%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
|
@ -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 <gwync@protonmail.com> - 0.74.0-1
|
||||
- 0.74.0
|
||||
|
||||
* Wed Sep 18 2019 Rex Dieter <rdieter@fedoraproject.org> - 0.24.2-15
|
||||
- fix sip dep harder
|
||||
|
||||
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (python-poppler-qt5-0.24.2.tar.gz) = 4a7245081a8a823a7620a2b0503ebe2858749f47a7f66dd2c885fd344aea36c18342dae5b443a355c177e5893313f6323615ac05da45d319ba8e477e62e7d404
|
||||
SHA512 (python-poppler-qt5-0.74.0.tar.gz) = b6ad1aad8ff00773e4d67915f1bc11c129f6a44bd9ae5a439b3d91d4439669126901b0091780380970406e5fa1bc4fb8dcbd27a13ee97b3903fe361a2d0a696f
|
||||
|
Loading…
Reference in New Issue
Block a user