Move license to grub2-common package

OBS-URL: https://build.opensuse.org/package/show/Base:System/grub2?expand=0&rev=515
This commit is contained in:
Michael Chang 2024-09-19 09:16:45 +00:00 committed by Git OBS Bridge
parent d9cea2d1a3
commit 3a7e8d1651

View File

@ -1207,11 +1207,6 @@ grep -E ${EXTRA_PATTERN} %{grubarch}-mod-all.lst > %{grubarch}-mod-extras.lst
%files
%defattr(-,root,root,-)
%if 0%{?suse_version} < 1500
%doc COPYING
%else
%license COPYING
%endif
%doc AUTHORS
%doc NEWS README
%doc THANKS TODO ChangeLog
@ -1221,6 +1216,11 @@ grep -E ${EXTRA_PATTERN} %{grubarch}-mod-all.lst > %{grubarch}-mod-extras.lst
%endif
%files common -f %{name}.lang
%if 0%{?suse_version} < 1500
%doc COPYING
%else
%license COPYING
%endif
%defattr(-,root,root,-)
%dir /boot/%{name}
%ghost %attr(600, root, root) /boot/%{name}/grub.cfg