spec: sync with upstream to add grub2-static files

This commit is contained in:
HuijingHei 2023-12-15 11:08:19 +08:00
parent 91403e70e8
commit 7c010e643a

View File

@ -5,7 +5,7 @@
Name: rust-%{crate}
Version: 0.2.16
Release: 3%{?dist}
Release: 4%{?dist}
Summary: Bootloader updater
License: ASL 2.0
@ -39,6 +39,7 @@ License: ASL 2.0
%{_bindir}/bootupctl
%{_libexecdir}/bootupd
%{_unitdir}/*
%{_prefix}/lib/bootupd/grub2-static/
%prep
%autosetup -n %{crate}-%{version} -p1
@ -57,6 +58,7 @@ EOF
%install
%make_install INSTALL="install -p -c"
make install-grub-static DESTDIR=%{?buildroot} INSTALL="%{__install} -p"
%post -n %{crate}
%systemd_post bootupd.service bootupd.socket
@ -68,6 +70,10 @@ EOF
%systemd_postun bootupd.service bootupd.socket
%changelog
* Wed Dec 15 2023 Huijing Hei <hhei@redhat.com> - 0.2.16-4
- Sync spec with upstream
Related: https://issues.redhat.com/browse/RHEL-14388
* Wed Dec 13 2023 Colin Walters <walters@verbum.org> - 0.2.16-3
- Build on all architectures
Related: https://issues.redhat.com/browse/RHEL-14388