|
|
|
@ -1,30 +1,36 @@
|
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
|
## (rpmautospec version 0.6.1)
|
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
|
release_number = 10;
|
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
Name: python-systemd
|
|
|
|
|
Version: 234
|
|
|
|
|
Release: 18%{?dist}
|
|
|
|
|
Summary: Python module wrapping systemd functionality
|
|
|
|
|
Version: 235
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Python module wrapping libsystemd functionality
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
License: LGPL-2.1-or-later
|
|
|
|
|
URL: https://github.com/systemd/python-systemd
|
|
|
|
|
Source0: https://github.com/systemd/python-systemd/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
Patch0001: 0001-journal-avoid-warning-about-deprecated-constant.patch
|
|
|
|
|
Patch0002: 0002-reader-make-PY_SSIZE_T_CLEAN.patch
|
|
|
|
|
Patch0003: 0003-test-make-sure-NOTIFY_SOCKET-is-unset-in-test.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc
|
|
|
|
|
BuildRequires: systemd-devel
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-setuptools
|
|
|
|
|
BuildRequires: python3-sphinx
|
|
|
|
|
BuildRequires: web-assets-devel
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Python module for native access to the systemd facilities.
|
|
|
|
|
Functionality includes sending of structured messages to the journal
|
|
|
|
|
and reading journal files, querying machine and boot identifiers and a
|
|
|
|
|
lists of message identifiers provided by systemd. Other functionality
|
|
|
|
|
provided by libsystemd is also wrapped.}
|
|
|
|
|
Python module for native access to the libsystemd facilities. Functionality
|
|
|
|
|
includes sending of structured messages to the journal and reading journal
|
|
|
|
|
files, querying machine and boot identifiers and a lists of message identifiers
|
|
|
|
|
provided by systemd. Other functionality provided the library is also wrapped.}
|
|
|
|
|
|
|
|
|
|
%description %_description
|
|
|
|
|
|
|
|
|
@ -35,7 +41,6 @@ Summary: %{summary}
|
|
|
|
|
Provides: systemd-python3 = %{version}-%{release}
|
|
|
|
|
Provides: systemd-python3%{?_isa} = %{version}-%{release}
|
|
|
|
|
Obsoletes: systemd-python3 < 230
|
|
|
|
|
Recommends: %{name}-doc
|
|
|
|
|
|
|
|
|
|
%description -n python3-systemd %_description
|
|
|
|
|
|
|
|
|
@ -79,12 +84,54 @@ make PYTHON=%{__python3} check
|
|
|
|
|
%doc %{_pkgdocdir}/html
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 234-18
|
|
|
|
|
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
|
|
|
|
|
Related: rhbz#1991688
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 235-10
|
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
|
|
|
|
|
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 235-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 235-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Aug 22 2023 Jens Petersen <petersen@redhat.com> - 235-7
|
|
|
|
|
- Don't recommend python-systemd-doc which pulls in 3 packages
|
|
|
|
|
|
|
|
|
|
* Mon Aug 07 2023 Lukáš Zaoral <lzaoral@redhat.com> - 235-6
|
|
|
|
|
- migrate to SPDX license format
|
|
|
|
|
|
|
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 235-5
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 235-4
|
|
|
|
|
- Rebuilt for Python 3.12
|
|
|
|
|
|
|
|
|
|
* Tue Feb 28 2023 Miro Hrončok <miro@hroncok.cz> - 235-3
|
|
|
|
|
- BuildRequire python3-setuptools explicitly
|
|
|
|
|
|
|
|
|
|
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 234-17
|
|
|
|
|
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
|
|
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 235-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Aug 16 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 235-1
|
|
|
|
|
- Version 235 (rhbz#2113777)
|
|
|
|
|
|
|
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 234-22
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 234-21
|
|
|
|
|
- Rebuilt for Python 3.11
|
|
|
|
|
|
|
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 234-20
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Sep 16 2021 Paul Wouters <paul.wouters@aiven.io> - 234-19
|
|
|
|
|
- Pull in namespace support of upstream PR#87
|
|
|
|
|
|
|
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 234-18
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jun 03 2021 Python Maint <python-maint@redhat.com> - 234-17
|
|
|
|
|
- Rebuilt for Python 3.10
|
|
|
|
|
|
|
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 234-16
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
@ -165,3 +212,5 @@ make PYTHON=%{__python3} check
|
|
|
|
|
|
|
|
|
|
* Mon Jul 6 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@laptop> - 230-1
|
|
|
|
|
- Initial packaging
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|
|