From eac3e6e8d43b0e34824decf48386e07ff5757ad6c30ec9062df8e7df2740c0ae Mon Sep 17 00:00:00 2001 From: Sascha Peilicke Date: Mon, 17 Jun 2013 12:15:25 +0000 Subject: [PATCH] - Only require argparse on SLE, it's part of Python-2.7 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=10 --- python-tox.changes | 5 +++++ python-tox.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/python-tox.changes b/python-tox.changes index ebb871d..a35e56c 100644 --- a/python-tox.changes +++ b/python-tox.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Jun 17 12:14:38 UTC 2013 - speilicke@suse.com + +- Only require argparse on SLE, it's part of Python-2.7 + ------------------------------------------------------------------- Sun Apr 21 08:09:05 UTC 2013 - toms@opensuse.org diff --git a/python-tox.spec b/python-tox.spec index cad0d33..b2b74ee 100644 --- a/python-tox.spec +++ b/python-tox.spec @@ -15,6 +15,7 @@ # Please submit bugfixes or comments via http://bugs.opensuse.org/ # + Name: python-tox Version: 1.4.3 Release: 0 @@ -29,12 +30,12 @@ BuildRequires: python-py >= 1.4.9 BuildRequires: python-pytest BuildRequires: python-virtualenv BuildRequires: unzip -Requires: python-argparse Requires: python-py Requires: python-virtualenv 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()")} +Requires: python-argparse %else BuildArch: noarch %endif