Update to 2.2
This commit is contained in:
parent
bac56856a7
commit
709809af70
@ -3,7 +3,7 @@
|
|||||||
%global with_python3 1
|
%global with_python3 1
|
||||||
|
|
||||||
Name: python-%{pypi_name}
|
Name: python-%{pypi_name}
|
||||||
Version: 2.0
|
Version: 2.2
|
||||||
Release: 1%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: A simple wrapper around optparse for powerful command line utilities
|
Summary: A simple wrapper around optparse for powerful command line utilities
|
||||||
|
|
||||||
@ -11,7 +11,6 @@ License: BSD
|
|||||||
URL: http://github.com/mitsuhiko/click
|
URL: http://github.com/mitsuhiko/click
|
||||||
Source0: https://pypi.python.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
Source0: https://pypi.python.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
||||||
# Tests are not included in pypi package, checked from github
|
# Tests are not included in pypi package, checked from github
|
||||||
Source1: click-%{version}-tests.tgz
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
@ -77,11 +76,9 @@ popd
|
|||||||
%{__python2} setup.py install --skip-build --root %{buildroot}
|
%{__python2} setup.py install --skip-build --root %{buildroot}
|
||||||
|
|
||||||
%check
|
%check
|
||||||
tar xzf %{SOURCE1}
|
|
||||||
PYTHONPATH=$(pwd) py.test-%{python2_version} tests --tb=long --verbose
|
PYTHONPATH=$(pwd) py.test-%{python2_version} tests --tb=long --verbose
|
||||||
%if 0%{?with_python3}
|
%if 0%{?with_python3}
|
||||||
pushd %{py3dir}
|
pushd %{py3dir}
|
||||||
tar xzf %{SOURCE1}
|
|
||||||
LANG=en_GB.utf8 LC_ALL=en_GB.utf8 PYTHONPATH=$(pwd) py.test-%{python3_version} tests --tb=long --verbose
|
LANG=en_GB.utf8 LC_ALL=en_GB.utf8 PYTHONPATH=$(pwd) py.test-%{python3_version} tests --tb=long --verbose
|
||||||
popd
|
popd
|
||||||
%endif
|
%endif
|
||||||
@ -99,6 +96,9 @@ popd
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Jun 30 2014 Robert Kuska <rkuska@redhat.com> - 2.2-1
|
||||||
|
- Update to 2.2
|
||||||
|
|
||||||
* Thu Jun 12 2014 Robert Kuska <rkuska@redhat.com> - 2.0-1
|
* Thu Jun 12 2014 Robert Kuska <rkuska@redhat.com> - 2.0-1
|
||||||
- Update to 2.0
|
- Update to 2.0
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user