14
0
Alexandre Rogoski
2013-03-30 17:48:17 +00:00
committed by Git OBS Bridge
parent e3f43436de
commit 78029f1ddc
6 changed files with 34 additions and 22 deletions

View File

@@ -15,9 +15,8 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define modname tornado
Name: python-%{modname}
Version: 2.4.1
Name: python-tornado
Version: 3.0
Release: 0
Url: http://www.tornadoweb.org
Summary: Open source version of scalable, non-blocking web server that power FriendFeed
@@ -54,7 +53,7 @@ FriendFeed servers. (For more information on scaling servers to support
thousands of clients, see The C10K problem.)
%prep
%setup -q -n %{modname}-%{version}
%setup -q -n tornado-%{version}
%build
python setup.py build
@@ -65,13 +64,13 @@ python setup.py install --prefix=%{_prefix} --root=%{buildroot}
%fdupes demos
%endif
# fix executability rmplint warning
chmod +x %{buildroot}%{python_sitelib}/%{modname}/*.py
chmod +x %{buildroot}%{python_sitelib}/%{modname}/*/*.py
chmod +x %{buildroot}%{python_sitelib}/tornado/*.py
chmod +x %{buildroot}%{python_sitelib}/tornado/*/*.py
%files
%defattr(-,root,root,-)
%doc README demos
%{python_sitelib}/%{modname}
%{python_sitelib}/%{modname}-%{version}-py%{py_ver}.egg-info
%doc demos
%{python_sitelib}/tornado
%{python_sitelib}/tornado-%{version}-py%{py_ver}.egg-info
%changelog