update to 0.16.1 [release 0.16.1-1mamba;Thu Nov 19 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 16:44:38 +01:00
parent 11cd650ed4
commit f991ae96b7
2 changed files with 56 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-systemd
Python systemd wrapper using Cython.

54
python-systemd.spec Normal file
View File

@ -0,0 +1,54 @@
Name: python-systemd
Epoch: 1
Version: 0.16.1
Release: 1mamba
Summary: Python systemd wrapper using Cython
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.org/project/systemd/
#Source: https://github.com/systemd/python-systemd.git/v%{version}/python-systemd-%{version}.tar.bz2
Source: https://pypi.debian.net/systemd/systemd-%{version}.tar.gz
License: Apache License 2.0
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpython36-devel
BuildRequires: libsystemd-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
%{summary}.
%if 0%{?with_pyver}
%pyver_package
%endif
%prep
%setup -q -n systemd-%{version}
%build
CFLAGS="%{optflags}" %{__python} setup.py build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%{__python} setup.py install \
-O1 --skip-build \
--root="%{buildroot}" \
--install-headers=%{python_inc} \
--install-lib=%{python_sitearch} \
--record=%{name}.filelist
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%changelog
* Thu Nov 19 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.16.1-1mamba
- update to 0.16.1
* Wed Feb 06 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 234-1mamba
- update to 234
- package created using the webbuild interface