diff --git a/root/ppg/common/deps/python3-systemd/obs/_service b/root/ppg/common/deps/python3-systemd/obs/_service new file mode 100644 index 00000000..cf390d5a --- /dev/null +++ b/root/ppg/common/deps/python3-systemd/obs/_service @@ -0,0 +1,16 @@ + + + https://github.com/systemd/python-systemd.git + git + v235 + @PARENT_TAG@ + v(.*) + python3-systemd + + + + *.tar + gz + + + diff --git a/root/ppg/common/deps/python3-systemd/package.yaml b/root/ppg/common/deps/python3-systemd/package.yaml new file mode 100644 index 00000000..b7ffd955 --- /dev/null +++ b/root/ppg/common/deps/python3-systemd/package.yaml @@ -0,0 +1,14 @@ +title: python3.12-systemd +description: Python interface for libsystemd, built for the python3.12 stream needed by percona-patroni on UBI containers +build: + RockyLinux_8: false + RockyLinux_9: false + RockyLinux_10: false + Debian_11: false + Debian_12: false + Debian_13: false + Ubuntu_22.04: false + Ubuntu_24.04: false + Ubuntu_26.04: false + openSUSE_Tumbleweed: false + openSUSE_Leap_16: false diff --git a/root/ppg/common/deps/python3-systemd/rpm/python3-systemd.spec b/root/ppg/common/deps/python3-systemd/rpm/python3-systemd.spec new file mode 100644 index 00000000..b8ec30ba --- /dev/null +++ b/root/ppg/common/deps/python3-systemd/rpm/python3-systemd.spec @@ -0,0 +1,41 @@ +%global debug_package %{nil} + +%global __ospython %{_bindir}/python3.12 + +Name: python3.12-systemd +Version: 235 +Release: 1%{?dist} +Summary: Python interface for libsystemd +License: LGPL-2.1-or-later +URL: https://github.com/systemd/python-systemd +Source0: python3-systemd-%{version}.tar.gz + +BuildRequires: gcc +BuildRequires: pkgconfig +BuildRequires: systemd-devel +BuildRequires: python3.12-devel +BuildRequires: python3.12-setuptools + +Provides: python3-systemd = %{version}-%{release} + +%description +Python module for native access to libsystemd facilities: sending +structured messages to the journal, reading journal files, and querying +machine/boot identifiers. Needed by percona-patroni for systemd notify +support under the python3.12 interpreter stream. + +%prep +%setup -q -n python3-systemd-%{version} + +%build +%{__ospython} setup.py build + +%install +%{__ospython} setup.py install --single-version-externally-managed -O1 --root=%{buildroot} --record=INSTALLED_FILES + +%files -f INSTALLED_FILES +%license LICENSE.txt + +%changelog +* Tue Sep 01 2026 Percona Development Team - 235-1 +- Initial build of python-systemd 235 for python3.12 (needed by percona-patroni)