From f0f3533abf6cb78b385de61834d30bc78be6533f829a33bb683012dfe3231823 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 27 Jul 2015 06:19:39 +0000 Subject: [PATCH] Accepting request 318676 from home:seife:OpenStack:Master fix build on non-SUSE distributions OBS-URL: https://build.opensuse.org/request/show/318676 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Genshi?expand=0&rev=8 --- python-Genshi.changes | 5 +++++ python-Genshi.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/python-Genshi.changes b/python-Genshi.changes index c2ac0b9..06fad44 100644 --- a/python-Genshi.changes +++ b/python-Genshi.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Jul 24 20:36:31 UTC 2015 - seife+obs@b1-systems.com + +- fix build on non-SUSE distributions + ------------------------------------------------------------------- Tue Feb 17 10:53:23 UTC 2015 - opensuse@dstoecker.de diff --git a/python-Genshi.spec b/python-Genshi.spec index dbae433..106598e 100644 --- a/python-Genshi.spec +++ b/python-Genshi.spec @@ -1,7 +1,7 @@ # # spec file for package python-Genshi # -# 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 @@ -35,7 +35,7 @@ Requires: python-Babel Requires: python-xml Provides: python-genshi = %{version} Obsoletes: python-genshi < %{version} -%if 0%{?suse_version} <= 1110 +%if 0%{?suse_version} && 0%{?suse_version} <= 1110 %{!?python_sitearch: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True)")} %{py_requires} %endif