Compare commits

...

3 Commits

Author SHA1 Message Date
AlmaLinux RelEng Bot
5537e8701b import CS rust-bootupd-0.2.31-1.el9 2026-03-30 11:02:12 -04:00
8823906449 import CS rust-bootupd-0.2.28-3.el9 2025-09-15 12:42:12 +00:00
95781a866c import CS rust-bootupd-0.2.27-3.el9 2025-03-11 08:10:06 +00:00
3 changed files with 32 additions and 17 deletions

4
.gitignore vendored
View File

@ -1,2 +1,2 @@
SOURCES/bootupd-0.2.19-vendor.tar.zstd
SOURCES/bootupd-0.2.19.crate
SOURCES/bootupd-0.2.31-vendor.tar.zstd
SOURCES/bootupd-0.2.31.crate

View File

@ -1,2 +1,2 @@
c9fc8b2e450c11c8e12fb63b7474cddd009f52e5 SOURCES/bootupd-0.2.19-vendor.tar.zstd
11db1d98620000dccf43a2d645b2020b696ae321 SOURCES/bootupd-0.2.19.crate
6c67d51045bfd7a91f8dcc18ef8df3740945a9e7 SOURCES/bootupd-0.2.31-vendor.tar.zstd
92f66e9b7133728aac746009411bb4263e7d3e69 SOURCES/bootupd-0.2.31.crate

View File

@ -3,15 +3,19 @@
%global crate bootupd
Name: rust-%{crate}
Version: 0.2.19
Version: 0.2.31
Release: 1%{?dist}
Summary: Bootloader updater
License: Apache-2.0
URL: https://github.com/coreos/bootupd
Source0: %{url}/releases/download/v%{version}/bootupd-%{version}.crate
Source0: %{crates_source}
Source1: %{url}/releases/download/v%{version}/bootupd-%{version}-vendor.tar.zstd
%if 0%{?fedora} || 0%{?rhel} >= 10
ExcludeArch: %{ix86}
%endif
BuildRequires: git
# For now, see upstream
BuildRequires: make
BuildRequires: openssl-devel
@ -31,12 +35,13 @@ Summary: %{summary}
# Apache-2.0
# Apache-2.0 OR BSL-1.0
# Apache-2.0 OR MIT
# Apache-2.0 WITH LLVM-exception
# Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT
# BSD-3-Clause
# MIT
# MIT OR Apache-2.0
# Unlicense OR MIT
License: Apache-2.0 AND BSD-3-Clause AND MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
License: Apache-2.0 AND (Apache-2.0 WITH LLVM-exception) AND BSD-3-Clause AND MIT AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT)
%{?systemd_requires}
%description -n %{crate} %{_description}
@ -48,8 +53,8 @@ License: Apache-2.0 AND BSD-3-Clause AND MIT AND (Apache-2.0 OR BSL-1.0)
%doc README.md
%{_bindir}/bootupctl
%{_libexecdir}/bootupd
%{_unitdir}/*
%{_prefix}/lib/bootupd/grub2-static/
%{_unitdir}/bootloader-update.service
%prep
%autosetup -n %{crate}-%{version} -p1 -a1
@ -64,17 +69,27 @@ License: Apache-2.0 AND BSD-3-Clause AND MIT AND (Apache-2.0 OR BSL-1.0)
%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
%preun -n %{crate}
%systemd_preun bootupd.service bootupd.socket
%postun -n %{crate}
%systemd_postun bootupd.service bootupd.socket
%{__make} install-systemd-unit DESTDIR=%{?buildroot} INSTALL="%{__install} -p"
%changelog
* Thu Aug 21 2025 HuijingHei <hhei@redhat.com> - 0.2.29-1
Resolves: #RHEL-110494
* Wed Feb 12 2025 Joseph Marrero <jmarrero@fedoraproject.org> - 0.2.27-3
- spec: remove ExcludeArch ix86 as this is c9s
Resolves: #RHEL-77736, #RHEL-79091
* Wed Feb 12 2025 Joseph Marrero <jmarrero@fedoraproject.org> - 0.2.27-2
- Add git to the build requires
Resolves: #RHEL-77736, #RHEL-79091
* Wed Feb 12 2025 Joseph Marrero <jmarrero@fedoraproject.org> - 0.2.27-1
- https://github.com/coreos/bootupd/releases/tag/v0.2.27
Resolves: #RHEL-77736
* Thu Dec 12 2024 HuijingHei <hhei@redhat.com> - 0.2.25-1
- new version
* Fri May 17 2024 Joseph Marrero <jmarrero@fedoraproject.org> - 0.2.19-1
- https://github.com/coreos/bootupd/releases/tag/v0.2.19
Resolves: RHEL-35887