Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-keyring for openSUSE:Factory 
checked in at 2022-08-30 14:48:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-keyring (Old)
 and      /work/SRC/openSUSE:Factory/.python-keyring.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-keyring"

Tue Aug 30 14:48:10 2022 rev:46 rq:999759 version:23.7.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-keyring/python-keyring.changes    
2022-07-26 19:42:08.776926730 +0200
+++ /work/SRC/openSUSE:Factory/.python-keyring.new.2083/python-keyring.changes  
2022-08-30 14:48:11.567921185 +0200
@@ -1,0 +2,5 @@
+Mon Aug 29 04:50:09 UTC 2022 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Inject multibuild to prevent a build cycle 
+
+-------------------------------------------------------------------

New:
----
  _multibuild

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

Other differences:
------------------
++++++ python-keyring.spec ++++++
--- /var/tmp/diff_new_pack.6cQ4PU/_old  2022-08-30 14:48:12.151922805 +0200
+++ /var/tmp/diff_new_pack.6cQ4PU/_new  2022-08-30 14:48:12.155922816 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-keyring
+# spec file
 #
 # Copyright (c) 2022 SUSE LLC
 #
@@ -18,7 +18,15 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
-Name:           python-keyring
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+Name:           python-keyring%{psuffix}
 Version:        23.7.0
 Release:        0
 Summary:        System keyring service access from Python
@@ -26,13 +34,8 @@
 URL:            https://github.com/jaraco/keyring
 Source:         
https://files.pythonhosted.org/packages/source/k/keyring/keyring-%{version}.tar.gz
 Patch0:         support-new-importlib.patch
-BuildRequires:  %{python_module SecretStorage >= 3}
-BuildRequires:  %{python_module entrypoints}
-BuildRequires:  %{python_module importlib-metadata}
-BuildRequires:  %{python_module pytest >= 3.5}
 BuildRequires:  %{python_module setuptools >= 17.1}
 BuildRequires:  %{python_module setuptools_scm >= 1.15.0}
-BuildRequires:  %{python_module toml}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-SecretStorage >= 3
@@ -43,6 +46,14 @@
 Requires(post): update-alternatives
 Requires(postun):update-alternatives
 BuildArch:      noarch
+%if %{with test}
+BuildRequires:  %{python_module SecretStorage >= 3}
+BuildRequires:  %{python_module entrypoints}
+BuildRequires:  %{python_module importlib-metadata}
+BuildRequires:  %{python_module keyring = %{version}}
+BuildRequires:  %{python_module pytest >= 3.5}
+BuildRequires:  %{python_module toml}
+%endif
 %python_subpackages
 
 %description
@@ -65,13 +76,18 @@
 %python_build
 
 %install
+%if !%{with test}
 %python_install
 %python_clone -a %{buildroot}%{_bindir}/keyring
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
+%if %{with test}
 %check
 %pytest
+%endif
 
+%if !%{with test}
 %post
 %python_install_alternative keyring
 
@@ -84,5 +100,6 @@
 %python_alternative %{_bindir}/keyring
 %{python_sitelib}/keyring-%{version}-py*.egg-info
 %{python_sitelib}/keyring/
+%endif
 
 %changelog

++++++ _multibuild ++++++
<multibuild>
  <package>test</package>
</multibuild>

Reply via email to