nftables 1.0.7-2 (aarch64) 2023-17403
9999

Status published
Submitter benbullard79 [@T] cox.net
Platform rolling
Repository main
URL https://abf.openmandriva.org/build_lists/329947
Packages
lib64nftables-devel-1.0.7-2.aarch64.binary
lib64nftables1-1.0.7-2.aarch64.binary
lib64nftables1-debuginfo-1.0.7-2.aarch64.debuginfo
nftables-1.0.7-2.aarch64.binary
nftables-1.0.7-2.aarch64.source
nftables-debuginfo-1.0.7-2.aarch64.debuginfo
nftables-debugsource-1.0.7-2.aarch64.binary
python-nftables-1.0.7-2.aarch64.binary
Build Date 2023-04-06 01:11:55 +0000 UTC
Last Updated 2023-04-09 02:15:59.788354346 +0000 UTC
$ git diff --patch-with-stat --summary 9946f3d8d4513a0fb95bf086ba992d80c9669f82..a644eb561ccc5af066d59475a770bd35735e48c9

 .abf.yml      |  2 +-
 nftables.spec | 14 ++++++--------
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/.abf.yml b/.abf.yml
index 5f44e2e..37c58b1 100644
--- a/.abf.yml
+++ b/.abf.yml
@@ -1,2 +1,2 @@
 sources:
-  nftables-1.0.5.tar.bz2: 662783522f050c594c6e86c8c170b6b9c6e094dd
+  nftables-1.0.7.tar.xz: 6f0812a96f2eece098644f004ea13ec39aa7bbbe
diff --git a/nftables.spec b/nftables.spec
index ee33e69..9a412aa 100644
--- a/nftables.spec
+++ b/nftables.spec
@@ -1,15 +1,17 @@
 %define major 1
 %define libname %mklibname %{name} %{major}
 %define develname %mklibname %{name} -d
+# (tpg) optimize it a bit
+%global optflags %{optflags} -Oz
 
 Summary:	Netfilter Tables userspace utillites
 Name:		nftables
-Version:	1.0.5
-Release:	1
+Version:	1.0.7
+Release:	2
 License:	GPLv2
 Group:		System/Kernel and hardware
 URL:		http://netfilter.org/projects/nftables/
-Source0:	http://ftp.netfilter.org/pub/nftables/nftables-%{version}.tar.bz2
+Source0:	http://ftp.netfilter.org/pub/nftables/nftables-%{version}.tar.xz
 Source1:	nftables.service
 Source2:	nftables.conf
 BuildRequires:	bison
@@ -76,6 +78,7 @@ Python files for development with %{name}.
 make check
 
 %install
+export SETUPTOOLS_USE_DISTUTILS=stdlib
 %make_install
 
 find %{buildroot} -name '*.la' -delete
@@ -95,11 +98,6 @@ find %{buildroot}%{_sysconfdir} \
     \( -type d -exec chmod 0700 {} \; \) , \
     \( -type f -exec chmod 0600 {} \; \)
 
-# make nftables.py use the real library file name
-# to avoid nftables-devel package dependency
-sofile=$(readlink %{buildroot}%{_libdir}/libnftables.so)
-sed -i -e 's/\(sofile=\)".*"/\1"'$sofile'"/' %{buildroot}%{python_sitelib}/nftables/nftables.py
-
 install -d %{buildroot}%{_presetdir}
 cat > %{buildroot}%{_presetdir}/86-nftables.preset << EOF
 enable nftables.service
Not Available

benbullard79 [@T] cox.netNo Comment.597d 07hrs
benbullard79 [@T] cox.netNo Comment.594d 23hrs
benbullard79 [@T] cox.netNo Comment.594d 22hrs