Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-calver for openSUSE:Factory checked in at 2023-05-03 12:56:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-calver (Old) and /work/SRC/openSUSE:Factory/.python-calver.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-calver" Wed May 3 12:56:14 2023 rev:2 rq:1083111 version:2022.6.26 Changes: -------- --- /work/SRC/openSUSE:Factory/python-calver/python-calver.changes 2022-07-15 13:52:38.279566524 +0200 +++ /work/SRC/openSUSE:Factory/.python-calver.new.1533/python-calver.changes 2023-05-03 12:56:16.731480514 +0200 @@ -1,0 +2,10 @@ +Fri Apr 21 12:23:05 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Thu Apr 20 08:02:49 UTC 2023 - Steve Kowalik <steven.kowa...@suse.com> + +- Inject multibuild. + +------------------------------------------------------------------- New: ---- _multibuild ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-calver.spec ++++++ --- /var/tmp/diff_new_pack.goV23y/_old 2023-05-03 12:56:17.263483640 +0200 +++ /var/tmp/diff_new_pack.goV23y/_new 2023-05-03 12:56:17.267483663 +0200 @@ -1,7 +1,7 @@ # -# spec file for package python-calver +# 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,21 +16,32 @@ # -%{?!python_module:%define python_module() python3-%{**}} +%global flavor @BUILD_FLAVOR@%{nil} +%if "%{flavor}" == "test" +%define psuffix -%{flavor} +%bcond_without test +%else +%define psuffix %{nil} +%bcond_with test +%endif %define skip_python2 1 %define ghtag 2022.06.26 -Name: python-calver +%{?sle15_python_module_pythons} +Name: python-calver%{psuffix} Version: 2022.6.26 Release: 0 Summary: Setuptools extension for CalVer package versions License: Apache-2.0 URL: https://github.com/di/calver Source: https://github.com/di/calver/archive/refs/tags/%{ghtag}.tar.gz#/calver-%{version}-gh.tar.gz -BuildRequires: python-rpm-macros BuildRequires: %{python_module setuptools} +BuildRequires: python-rpm-macros # SECTION test requirement -BuildRequires: %{python_module pytest} +%if %{with test} +BuildRequires: %{python_module calver} BuildRequires: %{python_module pretend} +BuildRequires: %{python_module pytest} +%endif # /SECTION BuildRequires: fdupes BuildArch: noarch @@ -49,16 +60,22 @@ %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} %doc README.md %license LICENSE %{python_sitelib}/calver %{python_sitelib}/calver-%{version}*-info +%endif %changelog ++++++ _multibuild ++++++ <multibuild> <package>test</package> </multibuild>