Hello community,
here is the log from the commit of package python-txtorcon for openSUSE:Factory
checked in at 2020-04-21 13:07:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-txtorcon (Old)
and /work/SRC/openSUSE:Factory/.python-txtorcon.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-txtorcon"
Tue Apr 21 13:07:09 2020 rev:8 rq:795712 version:20.0.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-txtorcon/python-txtorcon.changes
2020-04-07 10:31:36.674521238 +0200
+++
/work/SRC/openSUSE:Factory/.python-txtorcon.new.2738/python-txtorcon.changes
2020-04-21 13:07:10.620394616 +0200
@@ -1,0 +2,5 @@
+Mon Apr 20 08:51:54 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build wihtout python2
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-txtorcon.spec ++++++
--- /var/tmp/diff_new_pack.NKuEHV/_old 2020-04-21 13:07:11.528396427 +0200
+++ /var/tmp/diff_new_pack.NKuEHV/_new 2020-04-21 13:07:11.528396427 +0200
@@ -17,17 +17,16 @@
%{?!python_module:%define python_module() python-%{**}
%{!?skip_python3:python3-%{**}}}
+%bcond_without python2
Name: python-txtorcon
Version: 20.0.0
Release: 0
Summary: Twisted-based asynchronous Tor control protocol implementation
License: MIT
-Group: Development/Languages/Python
URL: https://txtorcon.readthedocs.org
Source:
https://files.pythonhosted.org/packages/source/t/txtorcon/txtorcon-%{version}.tar.gz
BuildRequires: %{python_module setuptools >= 36.2}
BuildRequires: fdupes
-BuildRequires: python-ipaddress
BuildRequires: python-rpm-macros
Requires: python-Automat
Requires: python-Twisted >= 15.5.0
@@ -40,6 +39,9 @@
BuildRequires: %{python_module mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module zope.interface >= 3.6.1}
+%if %{with python2}
+BuildRequires: python-ipaddress
+%endif
# /SECTION
%ifpython2
Requires: python-ipaddress >= 1.0.16