14
0
forked from pool/python-falcon

Accepting request 598821 from home:mimi_vx:branches:devel:languages:python

- use %license macro

OBS-URL: https://build.opensuse.org/request/show/598821
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-falcon?expand=0&rev=27
This commit is contained in:
2018-04-19 22:01:53 +00:00
committed by Git OBS Bridge
parent fac3db8b45
commit b038612be1
2 changed files with 9 additions and 7 deletions

View File

@@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 19 22:01:11 UTC 2018 - mimi.vx@gmail.com
- use %license macro
-------------------------------------------------------------------
Tue Mar 6 13:56:37 UTC 2018 - aplanas@suse.com

View File

@@ -31,7 +31,7 @@ Source: https://github.com/falconry/falcon/archive/%{version}.tar.gz#./f
# PATCH-FIX-UPSTREAM remove_failing_test.patch sebix+novell.com@sebix.at -- removes a broken test
Patch0: remove_failing_test.patch
# TODO: Cython support
# BuildRequires: %%{python_module Cython}
#BuildRequires: %%{python_module Cython}
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
@@ -50,12 +50,9 @@ BuildRequires: %{python_module requests}
BuildRequires: %{python_module six >= 1.4.0}
BuildRequires: %{python_module testtools}
%endif
# /SECTION
# SECTION docs
BuildRequires: python3-Sphinx
BuildRequires: python3-pygments-style-railscasts
# /SECTION
# Requires: python-Cython
#Requires: python-Cython
Requires: python-python-mimeparse
Requires: python-six
%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
@@ -111,8 +108,8 @@ export LANG=en_US.UTF8
%{python_uninstall_alternative falcon-bench falcon-print-routes}
%files %{python_files}
%defattr(-,root,root,-)
%doc README.rst LICENSE
%doc README.rst
%license LICENSE
%python_alternative %{_bindir}/falcon-bench
%python_alternative %{_bindir}/falcon-print-routes
%{python_sitelib}/*