!33 [sync] PR-28: fix build error

From: @openeuler-sync-bot 
Reviewed-by: @seuzw 
Signed-off-by: @seuzw
This commit is contained in:
openeuler-ci-bot 2022-09-05 07:54:19 +00:00 committed by Gitee
commit 103db99a6e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: nftables
Version: 1.0.0
Release: 1
Release: 2
Epoch: 1
Summary: A subsystem of the Linux kernel processing network data
License: GPLv2
@ -43,6 +43,7 @@ The nftables python module providing an interface to libnftables via ctypes.
%make_build
%install
export SETUPTOOLS_USE_DISTUTILS=stdlib
%make_install
%delete_la
@ -104,6 +105,12 @@ echo "%{_libdir}" > %{buildroot}/etc/ld.so.conf.d/%{name}-%{_arch}.conf
%{python3_sitelib}/nftables/
%changelog
* Mon Aug 1 2022 huangyu <huangyu106@huawei.com> - 1:1.0.0-2
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:The python-setup tools causes an error in the nftables packaging path,This macro is added to ensure that path remains unchanged
* Sat Mar 19 2022 quanhongfei <quanhongfei@h-partners.com> - 1:1.0.0-1
- Type:requirement
- ID:NA