Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-google-api-core for 
openSUSE:Factory checked in at 2021-09-07 21:21:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-google-api-core (Old)
 and      /work/SRC/openSUSE:Factory/.python-google-api-core.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-google-api-core"

Tue Sep  7 21:21:38 2021 rev:18 rq:917253 version:2.0.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-google-api-core/python-google-api-core.changes
    2021-09-06 15:58:14.125292361 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-google-api-core.new.1899/python-google-api-core.changes
  2021-09-07 21:22:24.713374793 +0200
@@ -1,0 +2,5 @@
+Tue Sep  7 11:04:50 UTC 2021 - Steve Kowalik <steven.kowa...@suse.com>
+
+- To avoid a build cycle, switch to multibuild. 
+
+-------------------------------------------------------------------

New:
----
  _multibuild

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

Other differences:
------------------
++++++ python-google-api-core.spec ++++++
--- /var/tmp/diff_new_pack.Sbtqe4/_old  2021-09-07 21:22:25.189375369 +0200
+++ /var/tmp/diff_new_pack.Sbtqe4/_new  2021-09-07 21:22:25.189375369 +0200
@@ -17,6 +17,14 @@
 
 
 %{?!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
 Name:           python-google-api-core
 Version:        2.0.1
@@ -34,10 +42,13 @@
 BuildRequires:  %{python_module requests >= 2.18.0}
 BuildRequires:  %{python_module setuptools >= 40.3.0}
 # START TESTING SECTION
+%if %{with test}
+BuildRequires:  %{python_module google-api-core >= %{version}}
 BuildRequires:  %{python_module mock}
 BuildRequires:  %{python_module proto-plus}
 BuildRequires:  %{python_module pytest-asyncio}
 BuildRequires:  %{python_module pytest}
+%endif
 # END TESTIN SECTION
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -62,15 +73,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>

Reply via email to