Hello community,

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

Package is "python-factory_boy"

Fri Mar 27 16:48:27 2020 rev:13 rq:788998 version:2.12.0

Changes:
--------
--- /work/SRC/openSUSE:Leap:15.2/python-factory_boy/python-factory_boy.changes  
2020-03-09 18:05:09.180811185 +0100
+++ 
/work/SRC/openSUSE:Leap:15.2/.python-factory_boy.new.3160/python-factory_boy.changes
        2020-03-27 16:48:35.147949598 +0100
@@ -1,0 +2,5 @@
+Mon Mar 16 10:31:31 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Fix build without python2
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-factory_boy.spec ++++++
--- /var/tmp/diff_new_pack.9xYlis/_old  2020-03-27 16:48:35.435949767 +0100
+++ /var/tmp/diff_new_pack.9xYlis/_new  2020-03-27 16:48:35.435949767 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-factory_boy
 #
-# 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,13 +17,13 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without python2
 Name:           python-factory_boy
 Version:        2.12.0
 Release:        0
 Summary:        A test fixtures replacement
 License:        MIT
-Group:          Development/Languages/Python
-URL:            http://github.com/rbarrois/factory_boy
+URL:            https://github.com/rbarrois/factory_boy
 Source:         
https://github.com/FactoryBoy/factory_boy/archive/%{version}.tar.gz
 BuildRequires:  %{python_module Django}
 BuildRequires:  %{python_module Faker >= 0.7.0}
@@ -34,9 +34,11 @@
 BuildRequires:  %{pythons}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-BuildRequires:  python2-ipaddress
 Requires:       python-Faker >= 0.7.0
 BuildArch:      noarch
+%if %{with python2}
+BuildRequires:  python-ipaddress
+%endif
 %python_subpackages
 
 %description


Reply via email to