Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-hatch-fancy-pypi-readme for
openSUSE:Factory checked in at 2023-05-19 11:55:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hatch-fancy-pypi-readme (Old)
and /work/SRC/openSUSE:Factory/.python-hatch-fancy-pypi-readme.new.1533
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hatch-fancy-pypi-readme"
Fri May 19 11:55:28 2023 rev:4 rq:1087558 version:22.8.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-hatch-fancy-pypi-readme/python-hatch-fancy-pypi-readme.changes
2023-04-22 21:58:15.988429436 +0200
+++
/work/SRC/openSUSE:Factory/.python-hatch-fancy-pypi-readme.new.1533/python-hatch-fancy-pypi-readme.changes
2023-05-19 11:56:01.679437048 +0200
@@ -1,0 +2,5 @@
+Tue May 16 14:27:31 UTC 2023 - Dirk Müller <[email protected]>
+
+- break dependency cycle between attrs (pulled by pytest) and
pytest-hatch-fancy-pypi-readme
+
+-------------------------------------------------------------------
New:
----
_multibuild
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-hatch-fancy-pypi-readme.spec ++++++
--- /var/tmp/diff_new_pack.GNPFeK/_old 2023-05-19 11:56:02.131439632 +0200
+++ /var/tmp/diff_new_pack.GNPFeK/_new 2023-05-19 11:56:02.135439655 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package python-hatch-fancy-pypi-readme
+# spec file
#
# Copyright (c) 2023 SUSE LLC
#
@@ -16,8 +16,16 @@
#
+%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-hatch-fancy-pypi-readme
+Name: python-hatch-fancy-pypi-readme%{psuffix}
Version: 22.8.0
Release: 0
Summary: Fancy PyPI READMEs with Hatch
@@ -30,9 +38,12 @@
BuildRequires: fdupes
BuildRequires: python-rpm-generators
BuildRequires: python-rpm-macros
+%if %{with test}
# SECTION test
+BuildRequires: %{python_module hatch-fancy-pypi-readme >= %version}
BuildRequires: %{python_module pytest}
# /SECTION
+%endif
Requires(post): update-alternatives
Requires(postun):update-alternatives
Provides: python-hatch_fancy_pypi_readme = %{version}-%{release}
@@ -62,13 +73,17 @@
%pyproject_wheel
%install
+%if !%{with test}
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/hatch-fancy-pypi-readme
+%endif
%check
+%if %{with test}
#test_end_to_end want's to have a hatchling wheel
%pytest --ignore tests/test_end_to_end.py
+%endif
%post
%python_install_alternative hatch-fancy-pypi-readme
@@ -76,11 +91,13 @@
%postun
%python_uninstall_alternative hatch-fancy-pypi-readme
+%if !%{with test}
%files %{python_files}
%license LICENSE.txt
%doc README.md
%python_alternative %{_bindir}/hatch-fancy-pypi-readme
%{python_sitelib}/hatch_fancy_pypi_readme
%{python_sitelib}/hatch_fancy_pypi_readme-%{version}*-info
+%endif
%changelog
++++++ _multibuild ++++++
<multibuild>
<package>test</package>
</multibuild>