forked from pool/python-tornado
Accepting request 233467 from home:anubisg1:branches:devel:languages:python
new upstream version 3.2.1 OBS-URL: https://build.opensuse.org/request/show/233467 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=31
This commit is contained in:
committed by
Git OBS Bridge
parent
9823ad0d56
commit
be5d002825
@@ -16,7 +16,7 @@
|
||||
#
|
||||
|
||||
Name: python-tornado
|
||||
Version: 3.1.1
|
||||
Version: 3.2.1
|
||||
Release: 0
|
||||
Url: http://www.tornadoweb.org
|
||||
Summary: Open source version of scalable, non-blocking web server that power FriendFeed
|
||||
@@ -29,9 +29,7 @@ Requires: python-pycurl
|
||||
Requires: python-simplejson
|
||||
BuildRequires: fdupes
|
||||
%if 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
|
||||
%{!?python_sitearch: %global python_sitearch %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True);")}
|
||||
%endif
|
||||
|
||||
%description
|
||||
@@ -60,11 +58,12 @@ python setup.py build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%fdupes demos
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc demos
|
||||
%{python_sitelib}/tornado
|
||||
%{python_sitelib}/tornado-%{version}-py%{py_ver}.egg-info
|
||||
%{python_sitearch}/tornado
|
||||
%{python_sitearch}/tornado-%{version}-py%{py_ver}.egg-info
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user