|
|
|
@ -3,13 +3,14 @@
|
|
|
|
|
%global with_python3 1
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
|
Version: 3.2
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Version: 3.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: A simple wrapper around optparse for powerful command line utilities
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
|
URL: http://github.com/mitsuhiko/click
|
|
|
|
|
Source0: https://pypi.python.org/packages/source/c/%{pypi_name}/%{pypi_name}-%{version}.tar.gz
|
|
|
|
|
#In upstream since v3.3
|
|
|
|
|
#https://github.com/mitsuhiko/click/pull/209
|
|
|
|
|
Patch1: 0001-Change-exception-check-of-TypeError.patch
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -46,7 +47,7 @@ comes with good defaults out of the box.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q -n %{pypi_name}-%{version}
|
|
|
|
|
%patch1 -p1
|
|
|
|
|
#%patch1 -p1
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
|
rm -rf %{py3dir}
|
|
|
|
@ -98,6 +99,9 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Oct 03 2014 Robert Kuska <rkuska@redhat.com> - 3.3-1
|
|
|
|
|
- Update to 3.3
|
|
|
|
|
|
|
|
|
|
* Sun Aug 24 2014 Robert Kuska <rkuska@redhat.com> - 3.2-2
|
|
|
|
|
- Add patch for exception check of TypeError
|
|
|
|
|
|
|
|
|
|