Compare commits

..

1 Commits

Author SHA1 Message Date
95781a866c import CS rust-bootupd-0.2.27-3.el9 2025-03-11 08:10:06 +00:00
4 changed files with 59 additions and 75 deletions

4
.gitignore vendored
View File

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

2
.rust-bootupd.metadata Normal file
View File

@ -0,0 +1,2 @@
bd5472e5dec9ece6e15ee8b0e234dd147bc77eff SOURCES/bootupd-0.2.27-vendor.tar.zstd
560917781f901145a9d17b2b844fb0c898e82752 SOURCES/bootupd-0.2.27.tar.zstd

View File

@ -3,15 +3,19 @@
%global crate bootupd
Name: rust-%{crate}
Version: 0.2.19
Release: 1%{?dist}
Version: 0.2.27
Release: 3%{?dist}
Summary: Bootloader updater
License: Apache-2.0
URL: https://github.com/coreos/bootupd
Source0: %{url}/releases/download/v%{version}/bootupd-%{version}.crate
Source0: %{url}/releases/download/v%{version}/bootupd-%{version}.tar.zstd
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,110 +53,89 @@ 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
%cargo_prep -v vendor
%autosetup -n %{crate}-%{version} -p1 -Sgit -a1
# Default -v vendor config doesn't support non-crates.io deps (i.e. git)
cp .cargo/vendor-config.toml .
%cargo_prep -N
cat vendor-config.toml >> .cargo/config.toml
rm vendor-config.toml
%build
%cargo_build
%cargo_vendor_manifest
# https://pagure.io/fedora-rust/rust-packaging/issue/33
sed -i -e '/https:\/\//d' cargo-vendor.txt
%cargo_license_summary
%{cargo_license} > LICENSE.dependencies
%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
* 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-35889
Resolves: RHEL-35887
* Thu Feb 01 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 0.2.17-4
- Update Rust macro usage
* Thu Feb 22 2024 Joseph Marrero <jmarrero@fedoraproject.org> - 0.2.18-1
- https://github.com/coreos/bootupd/releases/tag/v0.2.18
backport patch to support GRUB console.cfg
Resolves: RHEL-26439
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.17-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Tue Dec 19 2023 Colin Walters <walters@verbum.org> - 0.2.17-2
* Tue Dec 19 2023 Joseph Marrero <jmarrero@fedoraproject.org> - 0.2.17-1
- https://github.com/coreos/bootupd/releases/tag/v0.2.17
Resolves: RHEL-14388
* Fri 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
* Wed Dec 13 2023 Colin Walters <walters@verbum.org> - 0.2.16-2
- https://github.com/coreos/bootupd/releases/tag/v0.2.16
- Update to 0.2.16
Related: https://issues.redhat.com/browse/RHEL-14388
* Tue Nov 28 2023 Colin Walters <walters@verbum.org> - 0.2.15-2
- https://github.com/coreos/bootupd/releases/tag/v0.2.15
* Mon Nov 20 2023 Colin Walters <walters@verbum.org> - 0.2.14-2
- https://github.com/coreos/bootupd/releases/tag/v0.2.14
* Tue Nov 14 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 0.2.13-4
- Fix RHEL build
* Fri Nov 10 2023 Colin Walters <walters@verbum.org> - 0.2.13-3
- Backport patch for not having separate /boot
* Thu Nov 02 2023 Colin Walters <walters@verbum.org> - 0.2.13-2
- Rebase to 0.2.13
* Mon Oct 23 2023 Colin Walters <walters@verbum.org> - 0.2.12-4
- Install static configs
Related: https://issues.redhat.com/browse/RHEL-14388
* Fri Oct 20 2023 Colin Walters <walters@verbum.org> - 0.2.12-2
- https://github.com/coreos/bootupd/releases/tag/v0.2.12
* Fri Oct 06 2023 Colin Walters <walters@verbum.org> - 0.2.11-5
- Enable ppc64le, it is supported now
* Sat Sep 30 2023 Fabio Valentini <decathorpe@gmail.com> - 0.2.11-4
- Updates for the latest Rust packaging and license tag / SPDX guidelines.
* Tue Sep 19 2023 Colin Walters <walters@verbum.org> - 0.2.11-3
* Tue Sep 19 2023 Colin Walters <walters@verbum.org> - 0.2.11-2
- https://github.com/coreos/bootupd/releases/tag/v0.2.11
Resolves: https://issues.redhat.com/browse/RHEL-5273
* Mon Sep 11 2023 Colin Walters <walters@verbum.org> - 0.2.10-2
- https://github.com/coreos/bootupd/releases/tag/v0.2.10
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Tue Oct 18 2022 Colin Walters <walters@verbum.org> - 0.2.8-3
- Update to v0.2.8
* Fri Jul 29 2022 Colin Walters <walters@verbum.org> - 0.2.7-2
* Mon Aug 01 2022 Colin Walters <walters@verbum.org> - 0.2.7-2
- https://github.com/coreos/bootupd/releases/tag/v0.2.7
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2.6-4
- Rebuild with package notes
* Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 0.2.6-3
- Rebuild with package notes
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Sep 16 2021 Luca BRUNO <lucab@lucabruno.net> - 0.2.6-1
- New upstream version
https://github.com/coreos/bootupd/releases/tag/v0.2.6
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 0.2.5-5
- Rebuilt with OpenSSL 3.0.0
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

View File

@ -1,2 +0,0 @@
SHA512 (bootupd-0.2.19-vendor.tar.zstd) = bd4df9a6e959212d3c48c90a5ef02904fc3d1db5ef50bbc98ce235f3f624316a01814d9c9605b64ca986aa65a984296fc0ffb83e683d6f220ba31ba05785b28c
SHA512 (bootupd-0.2.19.crate) = 286309334b935620a004743631c0bb040c8416ce83284b2f5ad1db04918736f40d7eb68a84bef2927cad7fe5efe13946b1e620e22aec9a428a13d10cbda0231e