diff --git a/grub2.spec b/grub2.spec index bda23d91ae58942bc6253515cc27b61bb0be1499..b48169c5aade934b309b28a6a6050761ae2a81a6 100644 --- a/grub2.spec +++ b/grub2.spec @@ -1,4 +1,4 @@ -%define anolis_release 4 +%define anolis_release 5 %global _lto_cflags %{nil} %undefine _hardened_build @@ -81,6 +81,14 @@ Requires(post): util-linux This package provides some directories which are required by various grub2 subpackages. +%package doc +Summary: Documentation files for %{name} +Requires: %{name}-common = %{epoch}:%{version}-%{release} +BuildArch: noarch + +%description doc +The %{name}-doc package contains documentation files for %{name}. + %package tools Summary: Support tools for GRUB. Obsoletes: %{name}-tools < %{evr} @@ -357,11 +365,13 @@ mv ${EFI_HOME}/grub.cfg.stb ${EFI_HOME}/grub.cfg %exclude %{efi_esp_dir}/* %ghost %config(noreplace) %verify(not size mode md5 mtime) /boot/grub2/grubenv %license COPYING -%doc THANKS %doc docs/grub.html %doc docs/grub-dev.html %doc docs/font_char_metrics.png +%files doc +%doc THANKS + %files tools-minimal %{_sbindir}/%{name}-get-kernel-settings %{_sbindir}/%{name}-probe @@ -501,6 +511,9 @@ mv ${EFI_HOME}/grub.cfg.stb ${EFI_HOME}/grub.cfg %endif %changelog +* Fri Sep 30 2022 mgb01105731 - 2.06-5 +- add doc package + * Wed Mar 23 2022 Chunmei Xu - 2.06-4 - optimise Conflicts version of grubby