forked from pool/python-Routes
- Update to version 1.13:
* Fix bug with dots forcing extension by default. The portion with the dot
can now be recognized. Patch by Michael Basnight.
- Simplified macro usage
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Routes?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
aaa98df5a0
commit
b815db945e
@@ -16,9 +16,8 @@
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: python-Routes
|
||||
Version: 1.12.3
|
||||
Version: 1.13
|
||||
Release: 0
|
||||
Url: http://routes.groovie.org/
|
||||
Summary: Routing Recognition and Generation Tools
|
||||
@@ -28,15 +27,13 @@ Source: http://pypi.python.org/packages/source/R/Routes/Routes-%{version
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-distribute
|
||||
%if 0%{?suse_version}
|
||||
%py_requires
|
||||
%if 0%{?suse_version} > 1110
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%endif
|
||||
Provides: python-routes = %{version}
|
||||
Obsoletes: python-routes < %{version}
|
||||
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
|
||||
%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
|
||||
A Routing package for Python that matches URL's to dicts and vice versa.
|
||||
|
||||
Reference in New Issue
Block a user