Add cache and hosts directories

(cherry picked from commit 634301916b70a4f8f4ff178f963853d96518817c)
This commit is contained in:
lyn1001 2023-12-06 14:16:27 +08:00 committed by openeuler-sync-bot
parent 629d4e93ce
commit 55cf72e2d8

View File

@ -1,6 +1,6 @@
Name: boom-boot Name: boom-boot
Version: 1.3 Version: 1.3
Release: 2 Release: 3
Summary: libraries and files for helping boot loger entries Summary: libraries and files for helping boot loger entries
License: GPL-2.0-only License: GPL-2.0-only
URL: https://github.com/bmr-cymru/boom URL: https://github.com/bmr-cymru/boom
@ -95,8 +95,11 @@ install -m 644 etc/default/boom ${RPM_BUILD_ROOT}/etc/default
# Make configuration directories # Make configuration directories
# mode 0700 - in line with /boot/grub2 directory: # mode 0700 - in line with /boot/grub2 directory:
install -d -m 700 ${RPM_BUILD_ROOT}/boot/boom/profiles install -d -m 700 ${RPM_BUILD_ROOT}/boot/boom/profiles
install -d -m 700 ${RPM_BUILD_ROOT}/boot/boom/hosts
install -d -m 700 ${RPM_BUILD_ROOT}/boot/loader/entries install -d -m 700 ${RPM_BUILD_ROOT}/boot/loader/entries
install -d -m 700 ${RPM_BUILD_ROOT}/boot/boom/cache
install -m 644 examples/boom.conf ${RPM_BUILD_ROOT}/boot/boom install -m 644 examples/boom.conf ${RPM_BUILD_ROOT}/boot/boom
install -m 644 examples/profiles/*.profile ${RPM_BUILD_ROOT}/boot/boom/profiles
mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man8 mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man8
mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man5 mkdir -p ${RPM_BUILD_ROOT}/%{_mandir}/man5
@ -123,6 +126,9 @@ rm doc/Makefile doc/conf.py
%license COPYING %license COPYING
%dir /boot/boom %dir /boot/boom
%config(noreplace) /boot/boom/boom.conf %config(noreplace) /boot/boom/boom.conf
%config(noreplace) /boot/boom/profiles/*
%dir /boot/boom/hosts
%dir /boot/boom/cache
%dir /boot/boom/profiles %dir /boot/boom/profiles
%dir /boot/loader/entries %dir /boot/loader/entries
@ -139,6 +145,9 @@ rm doc/Makefile doc/conf.py
%doc README.md %doc README.md
%changelog %changelog
* Wed Dec 6 2023 liyanan <liyanan61@h-partners.com> - 1.3-3
- Add cache and hosts directories
* Tue Nov 22 2022 Ge Wang <wangge20@h-partners.com> - 1.3-2 * Tue Nov 22 2022 Ge Wang <wangge20@h-partners.com> - 1.3-2
- Bring source file into correspondence with described in spec file - Bring source file into correspondence with described in spec file