From b038612be187aedda6958093a134ae6f875d5fa7c12636e2e06bc6542fdfb7c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20S=C3=BAkup?= Date: Thu, 19 Apr 2018 22:01:53 +0000 Subject: [PATCH] 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 --- python-falcon.changes | 5 +++++ python-falcon.spec | 11 ++++------- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/python-falcon.changes b/python-falcon.changes index cd43347..00c3eee 100644 --- a/python-falcon.changes +++ b/python-falcon.changes @@ -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 diff --git a/python-falcon.spec b/python-falcon.spec index 2d37ee6..5cf3130 100644 --- a/python-falcon.spec +++ b/python-falcon.spec @@ -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}/*