create firewalld temporary file

This commit is contained in:
nettingsisyphus 2020-12-23 09:48:53 +08:00
parent 92a8b29650
commit d7090ae35a

View File

@ -1,6 +1,6 @@
Name: firewalld
Version: 0.6.6
Release: 2
Release: 3
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 Dec 23 2020 Anakin Zhang <benjamin93@163.com> - 0.9.6-3
- Type:requirement
- ID:NA
- SUG:NA
- DESC:create firewalld temporary file
* Tue Nov 10 2020 quanhongfei <quanhongfei@huawei.com> - 0.9.6-2
- Type:requirement
- ID:NA