From 353f3ff0c6def754fa3e72ece44ebdf3657ca9bb21dc14d86f9457aaf8dd33ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 4 Nov 2014 16:21:05 +0000 Subject: [PATCH] Accepting request 259510 from home:bmanojlovic:branches:devel:languages:python - add python-xml to requires to enable SLE build OBS-URL: https://build.opensuse.org/request/show/259510 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-xmltodict?expand=0&rev=2 --- python-xmltodict.changes | 5 +++++ python-xmltodict.spec | 10 +++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/python-xmltodict.changes b/python-xmltodict.changes index 3fd2058..f519596 100644 --- a/python-xmltodict.changes +++ b/python-xmltodict.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Nov 3 13:45:57 UTC 2014 - boris@steki.net + +- add python-xml to requires to enable SLE build + ------------------------------------------------------------------- Wed Sep 10 12:48:51 UTC 2014 - boris@steki.net diff --git a/python-xmltodict.spec b/python-xmltodict.spec index e5ca74c..9d43bd8 100644 --- a/python-xmltodict.spec +++ b/python-xmltodict.spec @@ -13,18 +13,22 @@ # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Name: python-xmltodict Version: 0.9.0 Release: 0 -License: MIT Summary: Makes working with XML feel like you are working with JSON -Url: https://github.com/martinblech/xmltodict +License: MIT Group: Development/Languages/Python +Url: https://github.com/martinblech/xmltodict Source: https://pypi.python.org/packages/source/x/xmltodict/xmltodict-%{version}.tar.gz BuildRequires: python-devel BuildRequires: python-setuptools +%if 0%{?suse_version} == 1110 +BuildRequires: python-xml +%endif 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()")} @@ -52,4 +56,4 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot} %doc README.md LICENSE %{python_sitelib}/* -%changelog \ No newline at end of file +%changelog