Matej Cepl 2018-12-04 17:25:01 +00:00 committed by Git OBS Bridge
parent b3d2f4e189
commit 2c48f9a861

View File

@ -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