From 62c7f31ffb0e482e46599cca83dcbd1e715f76b3 Mon Sep 17 00:00:00 2001 From: nettingsisyphus Date: Wed, 24 Mar 2021 17:28:00 +0800 Subject: [PATCH] create firewalld temporary file --- firewalld.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/firewalld.spec b/firewalld.spec index b9adb24..5d02fa8 100644 --- a/firewalld.spec +++ b/firewalld.spec @@ -1,6 +1,6 @@ Name: firewalld Version: 0.6.6 -Release: 3 +Release: 4 Summary: A firewall daemon with D-Bus interface providing a dynamic firewall License: GPLv2+ URL: http://www.firewalld.org @@ -86,6 +86,7 @@ mv %{buildroot}%{_sysconfdir}/firewalld/firewalld.conf \ %find_lang %{name} --all-name +dd if=/dev/zero of=$RPM_BUILD_ROOT/%{_datadir}/firewalld/firewalld-tmp-mmap bs=4096 count=1 %check @@ -173,6 +174,7 @@ fi %exclude %{_mandir}/man1/firewall-applet*.1* %defattr(0644,root,root) +%attr (0700,root,root) %{_datadir}/firewalld/firewalld-tmp-mmap %{_datadir}/firewalld/* %{_datadir}/applications/firewall-config.desktop %{_datadir}/metainfo/firewall-config.appdata.xml @@ -191,6 +193,12 @@ fi %changelog +* Wed Mar 24 2021 Anakin Zhang - 0.6.6-4 +- Type:requirement +- ID:NA +- SUG:NA +- DESC:create firewalld temporary file + * Wed Feb 24 2021 hanzhijun - 0.6.6-3 - drop Requires: kernel -- Gitee