Remove obsolete parts
This commit is contained in:
parent
f51f9f3df3
commit
b20f65587a
@ -8,10 +8,6 @@ Summary: Simple wrapper around optparse for powerful command line utiliti
|
||||
License: BSD
|
||||
URL: https://github.com/mitsuhiko/click
|
||||
Source0: %{url}/archive/%{version}/%{pypi_name}-%{version}.tar.gz
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1500962
|
||||
# https://github.com/pallets/click/pull/838
|
||||
Patch0: 0001-Remove-outdated-comment-about-Click-3.0.patch
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%global _description \
|
||||
@ -27,12 +23,10 @@ Summary: %{summary}
|
||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pypi_name}}
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: python%{python3_pkgversion}-setuptools
|
||||
BuildRequires: python%{python3_pkgversion}-pytest >= 2.8
|
||||
BuildRequires: python%{python3_pkgversion}-pytest
|
||||
|
||||
%description -n python%{python3_pkgversion}-%{pypi_name} %{_description}
|
||||
|
||||
Python 3 version.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{pypi_name}-%{version} -p1
|
||||
|
||||
@ -43,14 +37,13 @@ Python 3 version.
|
||||
%py3_install
|
||||
|
||||
%check
|
||||
export PYTHONPATH=$(pwd)
|
||||
py.test-%{python3_version} tests --tb=long --verbose
|
||||
PYTHONPATH=%{buildroot}%{python3_sitelib} pytest-%{python3_version} -v tests
|
||||
|
||||
%files -n python%{python3_pkgversion}-%{pypi_name}
|
||||
%license LICENSE.rst
|
||||
%doc README.rst CHANGES.rst
|
||||
%{python3_sitelib}/Click-*.egg-info/
|
||||
%{python3_sitelib}/%{pypi_name}/
|
||||
%{python3_sitelib}/%{pypi_name}-*.egg-info/
|
||||
|
||||
%changelog
|
||||
* Sat Apr 18 2020 Fabian Affolter <mail@fabian-affolter.ch> - 7.1.1-1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user