Hello community, here is the log from the commit of package python-factory_boy for openSUSE:Factory checked in at 2020-03-27 00:25:39 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-factory_boy (Old) and /work/SRC/openSUSE:Factory/.python-factory_boy.new.3160 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-factory_boy" Fri Mar 27 00:25:39 2020 rev:13 rq:785574 version:2.12.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-factory_boy/python-factory_boy.changes 2019-11-22 10:25:30.797271973 +0100 +++ /work/SRC/openSUSE:Factory/.python-factory_boy.new.3160/python-factory_boy.changes 2020-03-27 00:25:40.252268154 +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.p3HRtZ/_old 2020-03-27 00:25:40.756268409 +0100 +++ /var/tmp/diff_new_pack.p3HRtZ/_new 2020-03-27 00:25:40.756268409 +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
