Hello community,

here is the log from the commit of package python-invocations for 
openSUSE:Factory checked in at 2020-03-27 00:23:55
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-invocations (Old)
 and      /work/SRC/openSUSE:Factory/.python-invocations.new.3160 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-invocations"

Fri Mar 27 00:23:55 2020 rev:5 rq:784842 version:1.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-invocations/python-invocations.changes    
2019-07-04 15:44:33.134229166 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-invocations.new.3160/python-invocations.changes
  2020-03-27 00:23:58.224216472 +0100
@@ -1,0 +2,5 @@
+Sat Mar 14 08:35:22 UTC 2020 - Tomáš Chvátal <tchva...@suse.com>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-invocations.spec ++++++
--- /var/tmp/diff_new_pack.rr5L5h/_old  2020-03-27 00:23:59.512217125 +0100
+++ /var/tmp/diff_new_pack.rr5L5h/_new  2020-03-27 00:23:59.512217125 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-invocations
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,12 +17,12 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:           python-invocations
 Version:        1.4.0
 Release:        0
 Summary:        Reusable Invoke tasks
 License:        BSD-2-Clause
-Group:          Development/Languages/Python
 URL:            https://github.com/pyinvoke/invocations
 Source:         
https://github.com/pyinvoke/invocations/archive/%{version}.tar.gz
 Patch0:         invocations-no-bundled.patch
@@ -41,7 +41,6 @@
 BuildRequires:  %{python_module tqdm >= 4.8.1}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python2-enum34
 Requires:       python-blessings >= 1.6
 Requires:       python-invoke >= 1.0
 Requires:       python-lexicon
@@ -51,6 +50,9 @@
 Requires:       python-tabulate >= 0.7.5
 Requires:       python-tqdm >= 4.8.1
 BuildArch:      noarch
+%if %{with python2}
+BuildRequires:  python-enum34
+%endif
 %ifpython2
 Requires:       python-enum34
 %endif


Reply via email to