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 Wed Feb 5 01:52:25 UTC 2014 - rschweikert@suse.com

View File

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