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