Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-trove-classifiers for 
openSUSE:Factory checked in at 2023-05-03 12:56:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-trove-classifiers (Old)
 and      /work/SRC/openSUSE:Factory/.python-trove-classifiers.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-trove-classifiers"

Wed May  3 12:56:18 2023 rev:6 rq:1083970 version:2022.12.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-trove-classifiers/python-trove-classifiers.changes
        2023-04-22 21:59:00.900697949 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-trove-classifiers.new.1533/python-trove-classifiers.changes
      2023-05-03 12:56:21.055505920 +0200
@@ -1,0 +2,6 @@
+Mon May  1 18:58:56 UTC 2023 - Ben Greiner <c...@bnavigator.de>
+
+- Test in multibuild: pytest requires python-iniconfig which
+  cycles back as build requirement in any build involving hatchling
+
+-------------------------------------------------------------------

New:
----
  _multibuild

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

Other differences:
------------------
++++++ python-trove-classifiers.spec ++++++
--- /var/tmp/diff_new_pack.MXBIh9/_old  2023-05-03 12:56:21.515508623 +0200
+++ /var/tmp/diff_new_pack.MXBIh9/_new  2023-05-03 12:56:21.519508646 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package python-trove-classifiers
+# spec file
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,17 @@
 #
 
 
+%global flavor @BUILD_FLAVOR@%{nil}
+%if "%{flavor}" == "test"
+%define psuffix -test
+%bcond_without test
+%else
+%define psuffix %{nil}
+%bcond_with test
+%endif
+
 %{?sle15_python_module_pythons}
-Name:           python-trove-classifiers
+Name:           python-trove-classifiers%{?psuffix}
 Version:        2022.12.1
 Release:        0
 Summary:        Canonical source for classifiers on PyPI
@@ -26,11 +35,13 @@
 Source:         
https://files.pythonhosted.org/packages/source/t/trove-classifiers/trove-classifiers-%{version}.tar.gz
 BuildRequires:  %{python_module calver}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
+%if %{with test}
+BuildRequires:  %{python_module pytest}
+%endif
 BuildArch:      noarch
 %python_subpackages
 
@@ -40,20 +51,26 @@
 %prep
 %setup -q -n trove-classifiers-%{version}
 
+%if !%{with test}
 %build
 %pyproject_wheel
 
 %install
 %pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
 
+%if %{with test}
 %check
 %pytest
+%endif
 
+%if !%{with test}
 %files %{python_files}
 %doc README.md
 %license LICENSE
 %{python_sitelib}/trove_classifiers
 %{python_sitelib}/trove_classifiers-%{version}*-info
+%endif
 
 %changelog

++++++ _multibuild ++++++
<multibuild>
  <package>test</package>
</multibuild>
(No newline at EOF)

Reply via email to