From f7f244a552850961e25cbd778a050d047dba7935f31f15719d3fd1b4a04eeac8 Mon Sep 17 00:00:00 2001 From: Todd R Date: Thu, 3 Sep 2015 11:39:29 +0000 Subject: [PATCH] Accepting request 328774 from home:TheBlackCat:branches:devel:languages:python Shouldn't be noarch in SLE 11 OBS-URL: https://build.opensuse.org/request/show/328774 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-nbxmpp?expand=0&rev=19 --- python-nbxmpp.changes | 5 +++++ python-nbxmpp.spec | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/python-nbxmpp.changes b/python-nbxmpp.changes index e92fc41..638cf21 100644 --- a/python-nbxmpp.changes +++ b/python-nbxmpp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Sep 3 11:21:45 UTC 2015 - toddrme2178@gmail.com + +- Shouldn't be noarch in SLE 11 + ------------------------------------------------------------------- Mon Jul 20 11:52:43 UTC 2015 - sor.alexei@meowr.ru diff --git a/python-nbxmpp.spec b/python-nbxmpp.spec index 8783fb1..4686ee6 100644 --- a/python-nbxmpp.spec +++ b/python-nbxmpp.spec @@ -28,8 +28,11 @@ Source: https://pypi.python.org/packages/source/n/%{_name}/%{_name}-%{ve BuildRequires: fdupes BuildRequires: python-devel 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 -%py_requires +%endif %description Python-nbxmpp is a Python library that provides a way for Python