Hello community,

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

Package is "python-requirementslib"

Fri Mar 27 00:23:16 2020 rev:4 rq:784792 version:1.5.3

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-requirementslib/python-requirementslib.changes
    2019-07-30 13:07:07.574360743 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-requirementslib.new.3160/python-requirementslib.changes
  2020-03-27 00:23:18.056196125 +0100
@@ -1,0 +2,5 @@
+Sat Mar 14 07:15:44 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-requirementslib.spec ++++++
--- /var/tmp/diff_new_pack.JeXopR/_old  2020-03-27 00:23:18.996196602 +0100
+++ /var/tmp/diff_new_pack.JeXopR/_new  2020-03-27 00:23:19.000196603 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-requirementslib
 #
-# 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-requirementslib
 Version:        1.5.3
 Release:        0
 Summary:        A tool for converting between pip-style and pipfile 
requirements
 License:        MIT
-Group:          Development/Languages/Python
 URL:            https://github.com/sarugaku/requirementslib
 Source:         
https://github.com/sarugaku/requirementslib/archive/%{version}.tar.gz#/requirementslib-%{version}.tar.gz
 Source1:        
https://raw.githubusercontent.com/mahmoud/boltons/master/LICENSE#/LICENSE.boltons
@@ -79,7 +79,10 @@
 BuildRequires:  %{python_module tomlkit >= 0.5.3}
 BuildRequires:  %{python_module twine}
 BuildRequires:  %{python_module vistir >= 0.3.0}
+%if %{with python2}
+BuildRequires:  python-scandir
 BuildRequires:  python-typing
+%endif
 # /SECTION
 %python_subpackages
 


Reply via email to