automatic version update by autodist [release 1.1.0-1mamba;Sat Aug 03 2024]

This commit is contained in:
Automatic Build System 2024-08-04 18:29:58 +02:00
parent c712b0132e
commit 5b84cbc943

View File

@ -1,5 +1,5 @@
Name: nftables
Version: 1.0.9
Version: 1.1.0
Release: 1mamba
Summary: Netfilter tables userspace tools
Group: Network/Security
@ -17,7 +17,7 @@ BuildRequires: libgmp-devel
BuildRequires: libjansson-devel
BuildRequires: libmnl-devel
BuildRequires: libnftnl-devel
BuildRequires: libpython310-devel
BuildRequires: libpython311-devel
BuildRequires: libreadline-devel
## AUTOBUILDREQ-END
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
@ -42,12 +42,13 @@ Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%package -n python-nftables-py310
%package -n python-nftables-py3
Group: System/Libraries/Python
Summary: Python bindings to %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Obsoletes: python-nftables-py310 < 1.1.0
%description -n python-nftables-py310
%description -n python-nftables-py3
This package contains the Python bindings to %{name}.
%debug_package
@ -66,13 +67,13 @@ This package contains the Python bindings to %{name}.
# From Arch: Building the Python module separately due to the automatic build resulting
# in an incorrect directory structure and unimportable module (see FS#79229)
cd py
%{__python310} -m build --wheel --no-isolation
%{__python3} -m build --wheel --no-isolation
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%{__python310} -m installer --destdir=%{buildroot} py/dist/*.whl
%{__python3} -m installer --destdir=%{buildroot} py/dist/*.whl
install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/nftables/nftables.conf
install -D -m0644 %{SOURCE2} %{buildroot}%{_unitdir}/nftables.service
@ -122,14 +123,17 @@ install -D -m0644 %{SOURCE2} %{buildroot}%{_unitdir}/nftables.service
%{_libdir}/pkgconfig/libnftables.pc
%{_mandir}/man3/libnftables.3*
%files -n python-nftables-py310
%files -n python-nftables-py3
%defattr(-,root,root)
%dir %{python310_sitelib}/nftables-*.dist-info
%{python310_sitelib}/nftables-*.dist-info/*
%dir %{python310_sitelib}/nftables
%{python310_sitelib}/nftables/*
%dir %{python3_sitelib}/nftables-*.dist-info
%{python3_sitelib}/nftables-*.dist-info/*
%dir %{python3_sitelib}/nftables
%{python3_sitelib}/nftables/*
%changelog
* Sat Aug 03 2024 Automatic Build System <autodist@openmamba.org> 1.1.0-1mamba
- automatic version update by autodist
* Fri Oct 20 2023 Automatic Build System <autodist@mambasoft.it> 1.0.9-1mamba
- automatic version update by autodist