Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-runthis-sphinxext for
openSUSE:Factory checked in at 2024-03-04 21:25:17
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-runthis-sphinxext (Old)
and /work/SRC/openSUSE:Factory/.python-runthis-sphinxext.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-runthis-sphinxext"
Mon Mar 4 21:25:17 2024 rev:2 rq:1154509 version:0.0.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-runthis-sphinxext/python-runthis-sphinxext.changes
2020-05-15 23:51:34.789458953 +0200
+++
/work/SRC/openSUSE:Factory/.python-runthis-sphinxext.new.1770/python-runthis-sphinxext.changes
2024-03-04 21:25:24.226978514 +0100
@@ -1,0 +2,6 @@
+Mon Mar 4 04:48:04 UTC 2024 - Steve Kowalik <[email protected]>
+
+- Switch to autosetup and pyproject macros.
+- No more greedy globs in %files.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-runthis-sphinxext.spec ++++++
--- /var/tmp/diff_new_pack.uqrq4l/_old 2024-03-04 21:25:26.027043831 +0100
+++ /var/tmp/diff_new_pack.uqrq4l/_new 2024-03-04 21:25:26.039044266 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-runthis-sphinxext
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2024 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,6 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
Name: python-runthis-sphinxext
Version: 0.0.3
Release: 0
@@ -32,7 +30,9 @@
Source99: download_client.sh
# PATCH-FIX-OPENSUSE no_download_setup.patch -- do not download files during
setup
Patch0: no_download_setup.patch
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -46,20 +46,20 @@
code.
%prep
-%setup -q -n runthis-sphinxext-%{version}
+%autosetup -p1 -n runthis-sphinxext-%{version}
cp %{SOURCE1} runthis/
cp %{SOURCE2} .
-%patch0 -p1
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
-%{python_sitelib}/*
%doc README.md AUTHORS.md
%license LICENSE
+%{python_sitelib}/runthis
+%{python_sitelib}/runthis_sphinxext-%{version}.dist-info