Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package haas-proxy for openSUSE:Factory checked in at 2025-11-24 14:11:48 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/haas-proxy (Old) and /work/SRC/openSUSE:Factory/.haas-proxy.new.14147 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "haas-proxy" Mon Nov 24 14:11:48 2025 rev:4 rq:1319529 version:1.9 Changes: -------- --- /work/SRC/openSUSE:Factory/haas-proxy/haas-proxy.changes 2018-09-07 15:43:49.434252222 +0200 +++ /work/SRC/openSUSE:Factory/.haas-proxy.new.14147/haas-proxy.changes 2025-11-24 14:14:37.991013923 +0100 @@ -1,0 +2,7 @@ +Tue Oct 21 02:36:16 UTC 2025 - Steve Kowalik <[email protected]> + +- Use pyproject macros from python-rpm-macros to build and install. +- List directories under sitelib explicitly. +- Fix requirements. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ haas-proxy.spec ++++++ --- /var/tmp/diff_new_pack.U1linr/_old 2025-11-24 14:14:38.899052173 +0100 +++ /var/tmp/diff_new_pack.U1linr/_new 2025-11-24 14:14:38.899052173 +0100 @@ -1,7 +1,7 @@ # # spec file for package haas-proxy # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,11 +12,12 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define hash bbf8629d1d64840407eefc23d2b6c8835365347b +%define pythons python3 Name: haas-proxy Version: 1.9 Release: 0 @@ -27,15 +28,16 @@ Source0: https://gitlab.labs.nic.cz/haas/proxy/raw/%{hash}/release/%{name}-%{version}.tar.gz Source1: haas-proxy.service Source2: haas-sysconfig +BuildRequires: python-rpm-macros BuildRequires: python3 BuildRequires: python3-devel +BuildRequires: python3-pip BuildRequires: python3-setuptools +BuildRequires: python3-wheel BuildRequires: systemd-rpm-macros Requires: python3-Twisted -Requires: python3-base Requires: python3-cachetools -Requires: python3-pycrypto -Requires: python3-service_identity +Requires: python3-requests Requires: sshpass BuildArch: noarch %{?systemd_requires} @@ -49,10 +51,10 @@ %setup -q %build -python3 setup.py build +%pyproject_wheel %install -python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} +%pyproject_install install -Dm 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/haas-proxy rm -rf %{buildroot}%{_sysconfdir}/init.d install -D -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/haas-proxy.service @@ -74,7 +76,8 @@ %files %config(noreplace) %{_sysconfdir}/haas-proxy -%{python3_sitelib}/* +%{python3_sitelib}/haas_proxy +%{python3_sitelib}/haas_proxy-%{version}.dist-info %{_sbindir}/rchaas-proxy %{_unitdir}/haas-proxy.service
