Hello community, here is the log from the commit of package pypoppler for openSUSE:Factory checked in at 2016-01-09 23:13:35 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pypoppler (Old) and /work/SRC/openSUSE:Factory/.pypoppler.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pypoppler" Changes: -------- --- /work/SRC/openSUSE:Factory/pypoppler/pypoppler.changes 2011-09-23 12:42:15.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.pypoppler.new/pypoppler.changes 2016-01-09 23:13:48.000000000 +0100 @@ -1,0 +2,8 @@ +Thu Dec 31 09:04:58 UTC 2015 - zai...@opensuse.org + +- Add pypoppler-0.12.1-poppler-0.39.0.patch: Fix build with poppler + 0.39.0. Only apply it for builds where we have this version of + poppler (lp#1528489). +- Make the same change for pypoppler-0.12.1-poppler-0.18.0.patch. + +------------------------------------------------------------------- New: ---- pypoppler-0.12.1-poppler-0.39.0.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pypoppler.spec ++++++ --- /var/tmp/diff_new_pack.Yk6zNF/_old 2016-01-09 23:13:48.000000000 +0100 +++ /var/tmp/diff_new_pack.Yk6zNF/_new 2016-01-09 23:13:48.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package pypoppler # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,19 +16,20 @@ # - Name: pypoppler Version: 0.12.1 -Release: 6 -License: GPL-2.0+ +Release: 0 Summary: Python bindings for the Poppler PDF rendering library -Url: https://launchpad.net/poppler-python/ +License: GPL-2.0+ Group: Productivity/Other +Url: https://launchpad.net/poppler-python/ Source: pypoppler-%{version}.tar.bz2 # PATCH-FIX-UPSTREAM pypoppler-0.12.1-poppler-0.16.0.patch lp#696025 co...@novell.com -- Fix build with poppler 0.16.0, based on patch from launchpad Patch0: pypoppler-0.12.1-poppler-0.16.0.patch # PATCH-FIX-UPSTREAM pypoppler-0.12.1-poppler-0.18.0.patch lp#776234 vu...@opensuse.org -- Fix build with poppler 0.18 Patch1: pypoppler-0.12.1-poppler-0.18.0.patch +# PATCH-FIX-UPSTREAM pypoppler-0.12.1-poppler-0.39.0.patch lp#1528489 zai...@opensuse.org -- Fix build with poppler-0.39.0 +Patch2: pypoppler-0.12.1-poppler-0.39.0.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: pkgconfig(atk) BuildRequires: pkgconfig(poppler-glib) @@ -45,7 +46,6 @@ python world. It is fairly complete, most of the API are covered. %package -n python-poppler -License: GPL-2.0+ Summary: Python bindings for the Poppler PDF rendering library Group: Productivity/Other Provides: %{name} = %{version} @@ -57,9 +57,12 @@ %prep %setup -q %patch0 -%if 0%{?suse_version} > 1140 +if pkg-config --atleast-version=0.18 poppler-glib; then %patch1 -p1 -%endif +fi +if pkg-config --atleast-version=0.39 poppler-glib; then +%patch2 +fi %build %configure ++++++ pypoppler-0.12.1-poppler-0.39.0.patch ++++++ --- poppler.defs 2009-09-27 16:07:59.000000000 +0700 +++ poppler.defs 2015-12-22 16:36:14.000000000 +0600 @@ -579,16 +579,4 @@ ) -(define-enum Orientation - (in-module "Poppler") - (c-name "PopplerOrientation") - (gtype-id "POPPLER_TYPE_ORIENTATION") - (values - '("portrait" "POPPLER_ORIENTATION_PORTRAIT") - '("landscape" "POPPLER_ORIENTATION_LANDSCAPE") - '("upsidedown" "POPPLER_ORIENTATION_UPSIDEDOWN") - '("seascape" "POPPLER_ORIENTATION_SEASCAPE") - ) -) - (define-enum PageTransitionType (in-module "Poppler")