Robert Schweikert 2014-02-20 23:44:59 +00:00 committed by Git OBS Bridge
parent 039cd71128
commit 92829cf648
2 changed files with 21 additions and 16 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Feb 20 23:44:28 UTC 2014 - rschweikert@suse.com
- Include in SLE 12 (FATE #316168)
-------------------------------------------------------------------
Wed Feb 5 01:52:25 UTC 2014 - rschweikert@suse.com

View File

@ -1,6 +1,5 @@
#
# spec file for package python-uritemplate
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
@ -16,25 +15,28 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-uritemplate
Version: 0.6
Release: 0
License: Apache-2.0
Summary: URI Template Expansison
URL: https://pypi.python.org/pypi/uritemplate
Group: Development/Languages/Python
Source0: uritemplate-%{version}.tar.gz
Requires: python-simplejson
BuildRequires: python-setuptools
BuildRequires: python-simplejson
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-uritemplate
Version: 0.6
Release: 0
Summary: URI Template Expansison
License: Apache-2.0
Group: Development/Languages/Python
Url: https://pypi.python.org/pypi/uritemplate
Source0: uritemplate-%{version}.tar.gz
Requires: python-simplejson
BuildRequires: python-setuptools
BuildRequires: python-simplejson
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%description
This is a Python implementation of RFC6570, URI Template, and can expand
templates up to and including Level 4 in that specification
@ -48,11 +50,9 @@ python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%files
%defattr(-,root,root,-)
%doc README.rst
%{python_sitelib}/*
%changelog