15
0
forked from pool/python-Genshi

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
This commit is contained in:
2015-07-27 06:19:39 +00:00
committed by Git OBS Bridge
parent fa63893b99
commit f0f3533abf
2 changed files with 7 additions and 2 deletions

View File

@@ -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

View File

@@ -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