Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-hatch_vcs for
openSUSE:Factory checked in at 2023-02-28 12:48:06
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hatch_vcs (Old)
and /work/SRC/openSUSE:Factory/.python-hatch_vcs.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hatch_vcs"
Tue Feb 28 12:48:06 2023 rev:6 rq:1067918 version:0.3.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-hatch_vcs/python-hatch_vcs.changes
2023-02-22 15:21:06.141696520 +0100
+++
/work/SRC/openSUSE:Factory/.python-hatch_vcs.new.31432/python-hatch_vcs.changes
2023-02-28 12:48:30.372427449 +0100
@@ -1,0 +2,5 @@
+Mon Feb 27 09:05:31 UTC 2023 - Matej Cepl <[email protected]>
+
+- The test build branch MUST BR the package itself.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-hatch_vcs.spec ++++++
--- /var/tmp/diff_new_pack.YfjNII/_old 2023-02-28 12:48:30.972431348 +0100
+++ /var/tmp/diff_new_pack.YfjNII/_new 2023-02-28 12:48:30.980431400 +0100
@@ -33,10 +33,10 @@
Source:
https://files.pythonhosted.org/packages/source/h/hatch_vcs/hatch_vcs-%{version}.tar.gz
BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210929
-Requires: python-hatchling >= 0.21.0
# https://github.com/ofek/hatch-vcs/issues/8
Requires: (python-setuptools_scm >= 6.4.0)
-Provides: python-hatch-vcs = %{version}-%{info}
+Requires: python-hatchling >= 0.21.0
+Provides: python-hatch-vcs = %{version}-%{release}
BuildArch: noarch
# SECTION build
BuildRequires: %{python_module hatchling >= 0.21.0}
@@ -44,8 +44,9 @@
# /SECTION
%if %{with test}
# SECTION test
-BuildRequires: %{python_module setuptools_scm >= 6.4.0}
+BuildRequires: %{python_module hatch_vcs = %{version}}
BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module setuptools_scm >= 6.4.0}
BuildRequires: git
# /SECTION
%endif
@@ -61,13 +62,14 @@
%pyproject_wheel
%install
+%if %{without test}
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%endif
%check
%if %{with test}
%pytest tests
-rm -rf %{buildroot}
%endif
%if %{without test}