Accepting request 328828 from home:TheBlackCat:branches:devel:languages:python

Fix build on SLE 11

OBS-URL: https://build.opensuse.org/request/show/328828
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-bleach?expand=0&rev=4
This commit is contained in:
Todd R 2015-09-03 15:15:38 +00:00 committed by Git OBS Bridge
parent 6d40d0f003
commit ffd286e797
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Sep 3 14:39:11 UTC 2015 - toddrme2178@gmail.com
- Fix build on SLE 11
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 7 22:19:47 UTC 2015 - hpj@urpla.net Fri Aug 7 22:19:47 UTC 2015 - hpj@urpla.net

View File

@ -36,6 +36,8 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 %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()")} %{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
BuildRequires: python-ordereddict
Requires: python-ordereddict
%else %else
BuildArch: noarch BuildArch: noarch
%endif %endif