Script 'mail_helper' called by obssrc
Hello community,

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

Package is "python-SecretStorage"

Tue Aug 30 14:48:10 2022 rev:13 rq:999750 version:3.3.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-SecretStorage/python-SecretStorage.changes    
    2022-05-12 22:58:33.004650970 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-SecretStorage.new.2083/python-SecretStorage.changes
      2022-08-30 14:48:10.647918632 +0200
@@ -1,0 +2,5 @@
+Mon Aug 29 03:53:10 UTC 2022 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Inject multibuild to prevent a build cycle
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-SecretStorage.spec ++++++
--- /var/tmp/diff_new_pack.ejJ8td/_old  2022-08-30 14:48:11.107919908 +0200
+++ /var/tmp/diff_new_pack.ejJ8td/_new  2022-08-30 14:48:11.111919920 +0200
@@ -1,5 +1,5 @@
 #
-# spec file for package python-SecretStorage
+# spec file
 #
 # Copyright (c) 2022 SUSE LLC
 #
@@ -18,22 +18,33 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
-Name:           python-SecretStorage
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+Name:           python-SecretStorage%{psuffix}
 Version:        3.3.2
 Release:        0
 Summary:        Python bindings to FreeDesktoporg Secret Service API
 License:        BSD-3-Clause
 URL:            https://github.com/mitya57/secretstorage
 Source:         
https://files.pythonhosted.org/packages/source/S/SecretStorage/SecretStorage-%{version}.tar.gz
-BuildRequires:  %{python_module cryptography}
-BuildRequires:  %{python_module jeepney >= 0.6}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
-BuildRequires:  gnome-keyring
 BuildRequires:  python-rpm-macros
 Requires:       python-cryptography
 Requires:       python-jeepney >= 0.6
 BuildArch:      noarch
+%if %{with test}
+BuildRequires:  %{python_module SecretStorage = %{version}}
+BuildRequires:  %{python_module cryptography}
+BuildRequires:  %{python_module jeepney >= 0.6}
+BuildRequires:  gnome-keyring
+%endif
 %python_subpackages
 
 %description
@@ -62,17 +73,23 @@
 %python_build
 
 %install
+%if !%{with test}
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
+%if %{with test}
 %check
 # gnome-keyring "forgets" to create this directory under certain conditions
 mkdir -p $HOME/.cache
 %python_expand dbus-run-session -- $python -m unittest discover -s tests
+%endif
 
+%if !%{with test}
 %files %{python_files}
 %license LICENSE
 %doc changelog README.rst
 %{python_sitelib}/*
+%endif
 
 %changelog

Reply via email to