forked from pool/python-cliff
Accepting request 199550 from devel:languages:python
- Add 0001-Require-pyparsing-2.0.1.patch: Allow running with pyparsing>=2.0.1 OBS-URL: https://build.opensuse.org/request/show/199550 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cliff?expand=0&rev=14
This commit is contained in:
committed by
Git OBS Bridge
parent
f0b2c34307
commit
373f4dc33b
@@ -25,6 +25,8 @@ License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Source: http://pypi.python.org/packages/source/c/cliff/cliff-%{version}.tar.gz
|
||||
Patch0: relax-cmd2-requires.diff
|
||||
# PATCH-FIX-UPSTREAM speilicke@suse.com -- Backport of https://github.com/dreamhost/cliff/pull/47
|
||||
Patch1: 0001-Require-pyparsing-2.0.1.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-argparse
|
||||
BuildRequires: python-devel
|
||||
@@ -37,11 +39,11 @@ BuildRequires: python-coverage
|
||||
BuildRequires: python-mock >= 1.0.1
|
||||
BuildRequires: python-nose
|
||||
BuildRequires: python-pep8
|
||||
BuildRequires: python-pyparsing == 1.5.7
|
||||
BuildRequires: python-pyparsing >= 2.0.1
|
||||
Requires: python-PrettyTable >= 0.6
|
||||
Requires: python-argparse
|
||||
Requires: python-cmd2 >= 0.6.4
|
||||
Requires: python-pyparsing == 1.5.7
|
||||
Requires: python-pyparsing >= 2.0.1
|
||||
Requires: python-tablib
|
||||
%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()")}
|
||||
@@ -66,6 +68,7 @@ This package contains documentation files for %{name}.
|
||||
%prep
|
||||
%setup -q -n cliff-%{version}
|
||||
%patch0
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
Reference in New Issue
Block a user