Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-mailman-hyperkitty for 
openSUSE:Factory checked in at 2024-03-04 21:24:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mailman-hyperkitty (Old)
 and      /work/SRC/openSUSE:Factory/.python-mailman-hyperkitty.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-mailman-hyperkitty"

Mon Mar  4 21:24:41 2024 rev:10 rq:1154170 version:1.2.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-mailman-hyperkitty/python-mailman-hyperkitty.changes
      2024-02-29 21:50:28.602255951 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-mailman-hyperkitty.new.1770/python-mailman-hyperkitty.changes
    2024-03-04 21:24:42.493464182 +0100
@@ -1,0 +2,9 @@
+Thu Feb 29 20:11:12 UTC 2024 - Ben Greiner <[email protected]>
+
+- Simplify python flavor selection
+  * Go back to primary python3 on Tumbleweed
+  * Use SLE15 python module pythons on 15.x
+- Replace pseudo python singlespec rewriter in order to not give
+  the wrong impression
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-mailman-hyperkitty.spec ++++++
--- /var/tmp/diff_new_pack.uG8cvb/_old  2024-03-04 21:24:43.305493647 +0100
+++ /var/tmp/diff_new_pack.uG8cvb/_new  2024-03-04 21:24:43.309493792 +0100
@@ -16,14 +16,15 @@
 #
 
 
+# Always only build one flavor: primary python for TW, python311 from the 
SLE15 python module for 15.x
 %if 0%{?suse_version} >= 1550
-%define pythons python312
-%define mypython python312
+%define pythons python3
 %else
 %{?sle15_python_module_pythons}
-%define pythons python311
-%define mypython python311
 %endif
+%global mypython %pythons
+%global mypython_sitelib %{expand:%%{%{mypython}_sitelib}}
+
 Name:           python-mailman-hyperkitty
 Version:        1.2.1
 Release:        0
@@ -33,42 +34,48 @@
 Source:         
https://files.pythonhosted.org/packages/source/m/mailman-hyperkitty/mailman-hyperkitty-%{version}.tar.gz
 # https://gitlab.com/mailman/mailman-hyperkitty/-/issues/28
 Patch0:         python-mailman-hyperkitty-fix-archiver-test.patch
+BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       %{mypython}-requests
-Requires:       %{mypython}-setuptools
-Requires:       %{mypython}-zope.interface
-Requires:       mailman3 >= 3.3.5
 BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  mailman3 >= 3.3.5
+BuildRequires:  (mailman3 >= 3.3.5 with %{mypython}-mailman3)
 BuildRequires:  %{python_module nose2}
 BuildRequires:  %{python_module requests}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  %{python_module zope.interface}
 # /SECTION
-%python_subpackages
 
 %description
 Mailman archiver plugin for HyperKitty
 
+%package -n %{mypython}-mailman-hyperkitty
+Summary:        Mailman archiver plugin for HyperKitty
+Requires:       %{mypython}-requests
+Requires:       %{mypython}-zope.interface
+Requires:       (mailman3 >= 3.3.5 with %{mypython}-mailman3)
+
+%description -n %{mypython}-mailman-hyperkitty
+Mailman archiver plugin for HyperKitty
+
 %prep
 %autosetup -n mailman-hyperkitty-%{version} -p1
 
 %build
-%python_build
+%pyproject_wheel
 
 %install
-%python_install
+%pyproject_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
 %python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} $python -m nose2 -v
 
-%files %{python_files}
+%files -n %{mypython}-mailman-hyperkitty
 %doc README.rst mailman-hyperkitty.cfg
 %license LICENSE.txt
-%{python_sitelib}/mailman_hyperkitty
-%{python_sitelib}/mailman_hyperkitty-%{version}*-info
+%{mypython_sitelib}/mailman_hyperkitty
+%{mypython_sitelib}/mailman_hyperkitty-%{version}.dist-info
 

Reply via email to