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:
@@ -16,23 +16,21 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%bcond_without tests
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%bcond_without tests
|
||||||
Name: python-uritemplate
|
Name: python-uritemplate
|
||||||
Version: 3.0.0
|
Version: 3.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: URI Template Expansison
|
Summary: URI Template Expansison
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
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
|
Source: https://files.pythonhosted.org/packages/source/u/uritemplate/uritemplate-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module simplejson}
|
BuildRequires: %{python_module simplejson}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires: python-simplejson
|
Requires: python-simplejson
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
@@ -58,8 +56,8 @@ $python tests/test_uritemplate.py
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE LICENSE.*
|
||||||
%doc AUTHORS.rst HISTORY.rst LICENSE LICENSE.* README.rst
|
%doc AUTHORS.rst HISTORY.rst README.rst
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user