Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-proto-plus for
openSUSE:Factory checked in at 2021-11-11 21:37:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-proto-plus (Old)
and /work/SRC/openSUSE:Factory/.python-proto-plus.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-proto-plus"
Thu Nov 11 21:37:54 2021 rev:4 rq:930808 version:1.19.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-proto-plus/python-proto-plus.changes
2021-09-10 23:41:54.130597109 +0200
+++
/work/SRC/openSUSE:Factory/.python-proto-plus.new.1890/python-proto-plus.changes
2021-11-11 21:38:45.160990641 +0100
@@ -1,0 +2,5 @@
+Thu Nov 11 08:25:24 UTC 2021 - Steve Kowalik <[email protected]>
+
+- Add multibuild to defeat a build loop.
+
+-------------------------------------------------------------------
New:
----
_multibuild
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-proto-plus.spec ++++++
--- /var/tmp/diff_new_pack.iNjGzK/_old 2021-11-11 21:38:45.524990906 +0100
+++ /var/tmp/diff_new_pack.iNjGzK/_new 2021-11-11 21:38:45.528990909 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package python-proto-plus
+# spec file
#
# Copyright (c) 2021 SUSE LLC
#
@@ -17,9 +17,17 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
%define skip_python2 1
%define modname proto-plus
-Name: python-proto-plus
+Name: python-proto-plus%{psuffix}
Version: 1.19.0
Release: 0
Summary: Pythonic Protocol Buffers
@@ -31,8 +39,11 @@
BuildRequires: %{python_module setuptools}
BuildRequires: python-rpm-macros
# SECTION test requirements
+%if %{with test}
BuildRequires: %{python_module google-api-core >= 1.22.2}
+BuildRequires: %{python_module proto-plus}
BuildRequires: %{python_module pytest}
+%endif
# /SECTION
BuildRequires: fdupes
Requires: python-protobuf >= 3.12.0
@@ -52,15 +63,21 @@
%python_build
%install
+%if !%{with test}
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
%check
+%if %{with test}
%pytest
+%endif
+%if !%{with test}
%files %{python_files}
%license LICENSE
%doc README.rst
%{python_sitelib}/*
+%endif
%changelog
++++++ _multibuild ++++++
<multibuild>
<package>test</package>
</multibuild>