forked from pool/python-PyMuPDF
Accepting request 716213 from home:guoyunhe:branches:devel:languages:python
Version 1.14.18. Drop Python 2 package. OBS-URL: https://build.opensuse.org/request/show/716213 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyMuPDF?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
29e2b76839
commit
fad8ae8ca3
@@ -17,9 +17,11 @@
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
# Upstream doesn't support Python 2 anymore.
|
||||
%define skip_python2 1
|
||||
%define pypi_name PyMuPDF
|
||||
Name: python-%{pypi_name}
|
||||
Version: 1.14.16
|
||||
Version: 1.14.18
|
||||
Release: 0
|
||||
Summary: Python binding for MuPDF, a PDF and XPS viewer
|
||||
License: GPL-3.0-only AND AGPL-3.0-only
|
||||
@@ -32,13 +34,15 @@ BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: gcc
|
||||
BuildRequires: jbig2dec-devel
|
||||
BuildRequires: mupdf-devel-static
|
||||
BuildRequires: mupdf-devel-static >= 1.14.0
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: python-rpm-macros
|
||||
BuildRequires: swig
|
||||
BuildRequires: pkgconfig(freetype2)
|
||||
BuildRequires: pkgconfig(harfbuzz)
|
||||
BuildRequires: pkgconfig(libjpeg)
|
||||
BuildRequires: pkgconfig(libopenjp2)
|
||||
BuildRequires: pkgconfig(libpng16)
|
||||
BuildRequires: pkgconfig(zlib)
|
||||
%python_subpackages
|
||||
|
||||
|
Reference in New Issue
Block a user