Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-testrepository for
openSUSE:Factory checked in at 2025-05-02 15:00:08
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-testrepository (Old)
and /work/SRC/openSUSE:Factory/.python-testrepository.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-testrepository"
Fri May 2 15:00:08 2025 rev:24 rq:1273900 version:0.0.21
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-testrepository/python-testrepository.changes
2024-07-01 11:23:07.917083692 +0200
+++
/work/SRC/openSUSE:Factory/.python-testrepository.new.30101/python-testrepository.changes
2025-05-02 15:01:21.870904872 +0200
@@ -1,0 +2,7 @@
+Fri May 2 05:01:28 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Run the testsuite again.
+- Switch to pyproject macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-testrepository.spec ++++++
--- /var/tmp/diff_new_pack.31fe0r/_old 2025-05-02 15:01:22.790943540 +0200
+++ /var/tmp/diff_new_pack.31fe0r/_new 2025-05-02 15:01:22.794943707 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-testrepository
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -22,12 +22,14 @@
Release: 0
Summary: A repository of test results
License: Apache-2.0 OR BSD-3-Clause
-Group: Development/Languages/Python
URL: https://github.com/testing-cabal/testrepository
Source:
https://files.pythonhosted.org/packages/source/t/testrepository/testrepository-%{version}.tar.gz
+BuildRequires: %{python_module dbm}
BuildRequires: %{python_module extras}
BuildRequires: %{python_module fixtures}
BuildRequires: %{python_module hatch_vcs}
+BuildRequires: %{python_module iso8601}
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module python-mimeparse}
BuildRequires: %{python_module python-subunit}
BuildRequires: %{python_module pytz}
@@ -35,20 +37,15 @@
BuildRequires: %{python_module testresources}
BuildRequires: %{python_module testscenarios}
BuildRequires: %{python_module testtools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-BuildRequires: python3-dbm
-Requires: python-extras
Requires: python-fixtures
+Requires: python-iso8601
Requires: python-python-subunit >= 0.0.11
-Requires: python-testscenarios
-Requires: python-testtools >= 0.9.30
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
-%if "%python_flavor" != "python2"
-Requires: python-dbm
-%endif
%python_subpackages
%description
@@ -67,31 +64,33 @@
%setup -q -n testrepository-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/testr
%check
-#mv .testr.conf .testr.conf.orig
-#%%{python_expand # first line can't be empty
-#rm -rf .testrepository
-#sed 's/python/$python/' .testr.conf.orig >| .testr.conf
-#$python ./testr init
-#$python ./testr run --parallel
-#}
+mv .testr.conf .testr.conf.orig
+%{python_expand # first line can't be empty
+rm -rf .testrepository
+sed 's/python/$python/' .testr.conf.orig >| .testr.conf
+export PYTHON=$python
+$python ./testr init
+$python ./testr run --parallel
+}
%post
%python_install_alternative testr
-%preun
+%postun
%python_uninstall_alternative testr
%files %{python_files}
%license COPYING Apache-2.0 BSD
%doc NEWS README.rst
%python_alternative %{_bindir}/testr
-%{python_sitelib}/*
+%{python_sitelib}/testrepository
+%{python_sitelib}/testrepository-%{version}.dist-info