forked from pool/python-cliff
Accepting request 158847 from devel:languages:python
- add prettytable-0.7x.diff: - Be compatible with PrettyTable 0.7 - tighten rpm dependencies (forwarded request 158846 from dirkmueller) OBS-URL: https://build.opensuse.org/request/show/158847 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cliff?expand=0&rev=4
This commit is contained in:
committed by
Git OBS Bridge
parent
e2f2b21168
commit
c12b6d89ca
@@ -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: prettytable-0.7x.diff
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-argparse
|
||||
BuildRequires: python-devel
|
||||
@@ -36,10 +37,10 @@ BuildRequires: python-mock
|
||||
BuildRequires: python-nose
|
||||
BuildRequires: python-pep8
|
||||
BuildRequires: python-prettytable
|
||||
BuildRequires: python-pyparsing
|
||||
BuildRequires: python-pyparsing == 1.5.7
|
||||
Requires: python-argparse
|
||||
Requires: python-cmd2
|
||||
Requires: python-prettytable
|
||||
Requires: python-cmd2 == 0.6.4
|
||||
Requires: python-prettytable >= 0.6
|
||||
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()")}
|
||||
@@ -63,6 +64,7 @@ This package contains documentation files for %{name}.
|
||||
|
||||
%prep
|
||||
%setup -q -n cliff-%{version}
|
||||
%patch0
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
|
||||
Reference in New Issue
Block a user