forked from pool/python-tornado
- Add conditional so we can dynamically turn off python2
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tornado?expand=0&rev=120
This commit is contained in:
committed by
Git OBS Bridge
parent
879338e009
commit
c727d06a60
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 8 12:17:24 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Add conditional so we can dynamically turn off python2
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Oct 1 13:36:35 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
Tue Oct 1 13:36:35 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-tornado
|
# spec file for package python-tornado
|
||||||
#
|
#
|
||||||
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
|
%bcond_without python2
|
||||||
Name: python-tornado
|
Name: python-tornado
|
||||||
Version: 5
|
Version: 5
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -98,8 +99,10 @@ cp %{SOURCE0} .
|
|||||||
%install
|
%install
|
||||||
:
|
:
|
||||||
|
|
||||||
|
%if %{with python2}
|
||||||
%files -n python2-tornado
|
%files -n python2-tornado
|
||||||
%doc README.SUSE
|
%doc README.SUSE
|
||||||
|
%endif
|
||||||
|
|
||||||
%files -n python3-tornado
|
%files -n python3-tornado
|
||||||
%doc README.SUSE
|
%doc README.SUSE
|
||||||
|
Reference in New Issue
Block a user