[packages/nftables] - package nftables.service man page

qboosh qboosh at pld-linux.org
Thu Aug 28 21:16:47 CEST 2025


commit 5f3d21723015e8ee9f0ca76f1e737a2713bc2641
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Aug 28 21:19:28 2025 +0200

    - package nftables.service man page

 nftables.spec | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/nftables.spec b/nftables.spec
index d7cc577..23f466b 100644
--- a/nftables.spec
+++ b/nftables.spec
@@ -3,7 +3,7 @@
 %bcond_without	python2		# CPython 2.x module
 %bcond_without	python3		# CPython 3.x module
 %bcond_without	static_libs	# static library
-%bcond_without	systemd		# without systemd unit
+%bcond_without	systemd		# systemd unit
 
 Summary:	Administration tool for packet filtering and classification
 Summary(pl.UTF-8):	Narzędzie administracyjne do filtrowania i klasyfikacji pakietów
@@ -223,7 +223,10 @@ rm -rf $RPM_BUILD_ROOT
 %doc %{_docdir}/nftables
 %{_mandir}/man5/libnftables-json.5*
 %{_mandir}/man8/nft.8*
-%{?with_systemd:%{systemdunitdir}/%{name}.service}
+%if %{with systemd}
+%{systemdunitdir}/nftables.service
+%{_mandir}/man8/nftables.service.8*
+%endif
 
 %files devel
 %defattr(644,root,root,755)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nftables.git/commitdiff/5f3d21723015e8ee9f0ca76f1e737a2713bc2641



More information about the pld-cvs-commit mailing list