From a9731ea0f1bc72ce80498ed81031d1715ab4357c3d3c3c3f6d0332f64bf0fba5 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Thu, 2 May 2013 09:33:12 +0000 Subject: [PATCH] Accepting request 173927 from devel:languages:python - add ignore-cmd2-requires.diff: loosen cmd2 version requires (forwarded request 173906 from dirkmueller) OBS-URL: https://build.opensuse.org/request/show/173927 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cliff?expand=0&rev=7 --- ignore-cmd2-requires.diff | 11 +++++++++++ python-cliff.changes | 6 ++++++ python-cliff.spec | 4 +++- 3 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 ignore-cmd2-requires.diff diff --git a/ignore-cmd2-requires.diff b/ignore-cmd2-requires.diff new file mode 100644 index 0000000..fa1d51c --- /dev/null +++ b/ignore-cmd2-requires.diff @@ -0,0 +1,11 @@ +--- setup.py ++++ setup.py +@@ -24,7 +24,7 @@ + install_requires = [ + 'distribute', + 'PrettyTable>=0.6,<0.8', +- 'cmd2==0.6.4', ++ 'cmd2>=0.6.4,<0.7', + ] + + # We need a different version of PyParsing, depending on which version diff --git a/python-cliff.changes b/python-cliff.changes index 8655106..989ba5e 100644 --- a/python-cliff.changes +++ b/python-cliff.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Apr 30 08:39:29 UTC 2013 - dmueller@suse.com + +- add ignore-cmd2-requires.diff: + loosen cmd2 version requires + ------------------------------------------------------------------- Thu Apr 25 09:06:44 UTC 2013 - dmueller@suse.com diff --git a/python-cliff.spec b/python-cliff.spec index aaa181f..808e023 100644 --- a/python-cliff.spec +++ b/python-cliff.spec @@ -24,6 +24,7 @@ Summary: Command Line Interface Formulation Framework License: Apache-2.0 Group: Development/Languages/Python Source: http://pypi.python.org/packages/source/c/cliff/cliff-%{version}.tar.gz +Patch0: ignore-cmd2-requires.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: python-argparse BuildRequires: python-devel @@ -38,7 +39,7 @@ BuildRequires: python-pep8 BuildRequires: python-prettytable BuildRequires: python-pyparsing == 1.5.7 Requires: python-argparse -Requires: python-cmd2 == 0.6.4 +Requires: python-cmd2 >= 0.6.4 Requires: python-prettytable >= 0.6 Requires: python-pyparsing == 1.5.7 Requires: python-tablib @@ -64,6 +65,7 @@ This package contains documentation files for %{name}. %prep %setup -q -n cliff-%{version} +%patch0 %build python setup.py build