|
|
@ -3,16 +3,13 @@
|
|
|
|
%global with_python3 1
|
|
|
|
%global with_python3 1
|
|
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
Version: 3.3
|
|
|
|
Version: 4.0
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
License: BSD
|
|
|
|
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
|
|
|
|
#In upstream since v3.3
|
|
|
|
|
|
|
|
#https://github.com/mitsuhiko/click/pull/209
|
|
|
|
|
|
|
|
Patch1: 0001-Change-exception-check-of-TypeError.patch
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: python-devel
|
|
|
|
BuildRequires: python-devel
|
|
|
@ -47,7 +44,6 @@ comes with good defaults out of the box.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{pypi_name}-%{version}
|
|
|
|
%setup -q -n %{pypi_name}-%{version}
|
|
|
|
#%patch1 -p1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
%if 0%{?with_python3}
|
|
|
|
rm -rf %{py3dir}
|
|
|
|
rm -rf %{py3dir}
|
|
|
@ -99,6 +95,9 @@ popd
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Wed Apr 01 2015 Robert Kuska <rkuska@redhat.com> - 4.0-1
|
|
|
|
|
|
|
|
- Update to 4.0
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Oct 03 2014 Robert Kuska <rkuska@redhat.com> - 3.3-1
|
|
|
|
* Fri Oct 03 2014 Robert Kuska <rkuska@redhat.com> - 3.3-1
|
|
|
|
- Update to 3.3
|
|
|
|
- Update to 3.3
|
|
|
|
|
|
|
|
|
|
|
|