Clean up the SPEC file
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uritemplate?expand=0&rev=11
This commit is contained in:
parent
b3d2f4e189
commit
2c48f9a861
@ -16,23 +16,21 @@
|
||||
#
|
||||
|
||||
|
||||
%bcond_without tests
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%bcond_without tests
|
||||
Name: python-uritemplate
|
||||
Version: 3.0.0
|
||||
Release: 0
|
||||
Summary: URI Template Expansison
|
||||
License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: https://pypi.python.org/pypi/uritemplate
|
||||
URL: https://pypi.python.org/pypi/uritemplate
|
||||
Source: https://files.pythonhosted.org/packages/source/u/uritemplate/uritemplate-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module simplejson}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-simplejson
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
@ -58,8 +56,8 @@ $python tests/test_uritemplate.py
|
||||
%endif
|
||||
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS.rst HISTORY.rst LICENSE LICENSE.* README.rst
|
||||
%license LICENSE LICENSE.*
|
||||
%doc AUTHORS.rst HISTORY.rst README.rst
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user