create firewalld temporary file

This commit is contained in:
nettingsisyphus 2020-12-17 20:37:58 +08:00
parent 0f35e64d20
commit bab1595672

View File

@ -1,6 +1,6 @@
Name: firewalld
Version: 0.8.3
Release: 2
Release: 3
Summary: A firewall daemon with D-Bus interface providing a dynamic firewall
License: GPLv2+
URL: http://www.firewalld.org
@ -94,6 +94,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
@ -182,6 +183,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
@ -200,6 +202,12 @@ fi
%changelog
* Thu Dec 17 2020 Anakin Zhang <benjamin93@163.com> - 0.8.3-3
- Type:requirement
- ID:NA
- SUG:NA
- DESC:create firewalld temporary file
* Wed Sep 09 2020 gaihuiying <gaihuiying1@huawei.com> - 0.8.3-2
- Type:bugfix
- ID:NA