forked from pool/python-click
Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-click?expand=0&rev=18
This commit is contained in:
@@ -23,7 +23,7 @@ Release: 0
|
|||||||
Summary: A simple wrapper around optparse for powerful command line utilities
|
Summary: A simple wrapper around optparse for powerful command line utilities
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://github.com/mitsuhiko/click
|
URL: http://github.com/mitsuhiko/click
|
||||||
Source: https://files.pythonhosted.org/packages/source/c/click/click-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/c/click/click-%{version}.tar.gz
|
||||||
# PATCH-FIX-OPENSUSE python-click-test_compat.py.patch -- disable a test to make it build
|
# PATCH-FIX-OPENSUSE python-click-test_compat.py.patch -- disable a test to make it build
|
||||||
Patch0: %{name}-test_compat.py.patch
|
Patch0: %{name}-test_compat.py.patch
|
||||||
@@ -60,8 +60,8 @@ export LANG=en_US.UTF-8
|
|||||||
%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest --tb=short}
|
%{python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m pytest --tb=short}
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc CHANGES LICENSE README
|
%doc CHANGES README
|
||||||
%{python_sitelib}/click
|
%{python_sitelib}/click
|
||||||
%{python_sitelib}/click-%{version}-py%{python_version}.egg-info
|
%{python_sitelib}/click-%{version}-py%{python_version}.egg-info
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user