From 5f314b03c63b5d587acd353e5c58b8cb62b65c4d890fe0a4e14fa43c40722d01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 23 Apr 2015 11:15:21 +0000 Subject: [PATCH] Accepting request 298779 from home:Nijel:branches:devel:languages:python - Compatibility with SLE11 OBS-URL: https://build.opensuse.org/request/show/298779 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-alabaster?expand=0&rev=3 --- python-alabaster.changes | 5 +++++ python-alabaster.spec | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/python-alabaster.changes b/python-alabaster.changes index f110870..596044a 100644 --- a/python-alabaster.changes +++ b/python-alabaster.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Apr 23 11:11:44 UTC 2015 - mcihar@suse.com + +- Compatibility with SLE11 + ------------------------------------------------------------------- Mon Apr 13 16:29:47 UTC 2015 - alarrosa@suse.com diff --git a/python-alabaster.spec b/python-alabaster.spec index 8cd9c36..fa9847d 100644 --- a/python-alabaster.spec +++ b/python-alabaster.spec @@ -1,7 +1,7 @@ # # spec file for package python-alabaster # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 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 @@ -28,7 +28,11 @@ BuildRequires: fdupes BuildRequires: python-devel BuildRequires: python-setuptools BuildRoot: %{_tmppath}/%{name}-%{version}-build +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 +%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} +%else BuildArch: noarch +%endif %description This theme is a modified "Kr" Sphinx theme from @kennethreitz