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