forked from pool/python-tornado
- Update to version 3.1:
+ See http://www.tornadoweb.org/en/stable/releases/v3.1.0.html - Fix rpmlint issues properly - Use upstream URL OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=29
This commit is contained in:
committed by
Git OBS Bridge
parent
3987afc5a3
commit
f305b3a530
@@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 15 11:03:17 UTC 2013 - speilicke@suse.com
|
||||||
|
|
||||||
|
- Update to version 3.1:
|
||||||
|
+ See http://www.tornadoweb.org/en/stable/releases/v3.1.0.html
|
||||||
|
- Fix rpmlint issues properly
|
||||||
|
- Use upstream URL
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Apr 11 16:47:30 UTC 2013 - alexandre@exatati.com.br
|
Thu Apr 11 16:47:30 UTC 2013 - alexandre@exatati.com.br
|
||||||
|
|
||||||
|
@@ -16,20 +16,18 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
Name: python-tornado
|
Name: python-tornado
|
||||||
Version: 3.0.1
|
Version: 3.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Url: http://www.tornadoweb.org
|
Url: http://www.tornadoweb.org
|
||||||
Summary: Open source version of scalable, non-blocking web server that power FriendFeed
|
Summary: Open source version of scalable, non-blocking web server that power FriendFeed
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Source: tornado-%{version}.tar.bz2
|
Source: https://pypi.python.org/packages/source/t/tornado/tornado-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: python-devel
|
BuildRequires: python-devel
|
||||||
Requires: python-pycurl
|
Requires: python-pycurl
|
||||||
Requires: python-simplejson
|
Requires: python-simplejson
|
||||||
%if 0%{?suse_version}
|
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
%endif
|
|
||||||
%if 0%{?suse_version} <= 1110
|
%if 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
|
||||||
@@ -54,18 +52,14 @@ thousands of clients, see The C10K problem.)
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n tornado-%{version}
|
%setup -q -n tornado-%{version}
|
||||||
|
# Fix non-executable script rpmlint issue:
|
||||||
|
find demos tornado -name "*.py" -exec sed -i "/#\!\/usr\/bin\/.*/d" {} \;
|
||||||
|
|
||||||
%build
|
%build
|
||||||
python setup.py build
|
python setup.py build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||||
%if 0%{?suse_version}
|
|
||||||
%fdupes demos
|
|
||||||
%endif
|
|
||||||
# fix executability rmplint warning
|
|
||||||
chmod +x %{buildroot}%{python_sitelib}/tornado/*.py
|
|
||||||
chmod +x %{buildroot}%{python_sitelib}/tornado/*/*.py
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:8b6e5697abb2aa24df632ee6079b5a749ceb3318cdae53ac65ac9883250d4d33
|
|
||||||
size 310214
|
|
3
tornado-3.1.tar.gz
Normal file
3
tornado-3.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:898b577e37b8681bf3d31483b7a30a2db062e99fb1b2b2cb65d203759d3a88d0
|
||||||
|
size 374189
|
Reference in New Issue
Block a user