From d6d2dbd992789fd449dbd0909cc7d37f50d6a1830aefc56a15f25d3d9f0c4c59 Mon Sep 17 00:00:00 2001 From: Todd R Date: Tue, 14 Jul 2015 07:45:15 +0000 Subject: [PATCH] Accepting request 316555 from home:TheBlackCat:branches:devel:languages:python Fix building on SLES 11 OBS-URL: https://build.opensuse.org/request/show/316555 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pdfrw?expand=0&rev=3 --- python-pdfrw.changes | 5 +++++ python-pdfrw.spec | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/python-pdfrw.changes b/python-pdfrw.changes index 9ca50d8..0661c3a 100644 --- a/python-pdfrw.changes +++ b/python-pdfrw.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jul 13 13:12:38 UTC 2015 - toddrme2178@gmail.com + +- Fix building on SLES 11 + ------------------------------------------------------------------- Sat Nov 9 17:48:10 UTC 2013 - tchvatal@suse.com diff --git a/python-pdfrw.spec b/python-pdfrw.spec index 1ccaf16..c36019e 100644 --- a/python-pdfrw.spec +++ b/python-pdfrw.spec @@ -1,7 +1,7 @@ # # spec file for package python-pdfrw # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -27,7 +27,9 @@ Url: https://code.google.com/p/pdfrw/ BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build %{py_requires} -BuildArch: noarch +%if 0%{?suse_version} && 0%{?suse_version} > 1110 +BuildArch: noarch +%endif %description PDF file reader/writer library written in python