Compare commits

..

No commits in common. 'c9' and 'i10cs' have entirely different histories.
c9 ... i10cs

4
.gitignore vendored

@ -1,2 +1,2 @@
SOURCES/bootupd-0.2.7-vendor.tar.gz SOURCES/bootupd-0.2.25-vendor.tar.zstd
SOURCES/bootupd-0.2.7.crate SOURCES/bootupd-0.2.25.crate

@ -1,2 +1,2 @@
517b22e10b8ea25bfae434d8ae4cfeb8bfc37baa SOURCES/bootupd-0.2.7-vendor.tar.gz 903be894ef170a421f1f807a824502fdf782b42b SOURCES/bootupd-0.2.25-vendor.tar.zstd
4105365556ce4bd93d88bf85a9b47ba970160927 SOURCES/bootupd-0.2.7.crate f9e0be901b439c54f979a35279ab89c3650a0c73 SOURCES/bootupd-0.2.25.crate

@ -1,26 +1,24 @@
%bcond_without check %bcond_without check
%global __cargo_skip_build 0
%global crate bootupd %global crate bootupd
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.2.7 Version: 0.2.25
Release: 2%{?dist} Release: 1%{?dist}
Summary: Bootloader updater Summary: Bootloader updater
License: ASL 2.0 License: Apache-2.0
URL: https://crates.io/crates/bootupd URL: https://github.com/coreos/bootupd
Source0: https://github.com/coreos/bootupd/releases/download/v%{version}/bootupd-%{version}.crate Source0: %{url}/releases/download/v%{version}/bootupd-%{version}.crate
Source1: https://github.com/coreos/%{crate}/releases/download/v%{version}/%{crate}-%{version}-vendor.tar.gz Source1: %{url}/releases/download/v%{version}/bootupd-%{version}-vendor.tar.zstd
# For now, see upstream # For now, see upstream
ExclusiveArch: x86_64 aarch64
BuildRequires: make BuildRequires: make
BuildRequires: openssl-devel BuildRequires: openssl-devel
%if 0%{?rhel} && !0%{?eln} %if 0%{?rhel}
BuildRequires: rust-toolset BuildRequires: rust-toolset
%else %else
BuildRequires: rust-packaging BuildRequires: cargo-rpm-macros >= 25
%endif %endif
BuildRequires: systemd BuildRequires: systemd
@ -30,54 +28,134 @@ Bootloader updater}
%package -n %{crate} %package -n %{crate}
Summary: %{summary} Summary: %{summary}
License: ASL 2.0 # Apache-2.0
# Apache-2.0 OR BSL-1.0
# Apache-2.0 OR MIT
# 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)
%{?systemd_requires} %{?systemd_requires}
%description -n %{crate} %{_description} %description -n %{crate} %{_description}
%files -n %{crate} %files -n %{crate}
%license LICENSE %license LICENSE
%license LICENSE.dependencies
%license cargo-vendor.txt
%doc README.md %doc README.md
%{_bindir}/bootupctl %{_bindir}/bootupctl
%{_libexecdir}/bootupd %{_libexecdir}/bootupd
%{_unitdir}/* %{_prefix}/lib/bootupd/grub2-static/
%prep %prep
%autosetup -n %{crate}-%{version} -p1 %autosetup -n %{crate}-%{version} -p1 -a1
mkdir vendor %cargo_prep -v vendor
tar -xv -C vendor -f %{SOURCE1}
mkdir -p .cargo
cat >.cargo/config << EOF
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"
EOF
%build %build
%cargo_build %cargo_build
%cargo_vendor_manifest
%cargo_license_summary
%{cargo_license} > LICENSE.dependencies
%install %install
%make_install INSTALL="install -p -c" %make_install INSTALL="install -p -c"
%{__make} install-grub-static DESTDIR=%{?buildroot} INSTALL="%{__install} -p"
%post -n %{crate} %changelog
%systemd_post bootupd.service bootupd.socket * Thu Dec 12 2024 HuijingHei <hhei@redhat.com> - 0.2.25-1
- https://github.com/coreos/bootupd/releases/tag/v0.2.25
Resolves: RHEL-71041
%preun -n %{crate} * Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 0.2.19-3
%systemd_preun bootupd.service bootupd.socket - Bump release for October 2024 mass rebuild:
Resolves: RHEL-64018
%postun -n %{crate} * Fri Oct 25 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.2.19-2
%systemd_postun bootupd.service bootupd.socket - Rebuilt for MSVSphere 10
%changelog * Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 0.2.19-2
* Mon Aug 01 2022 Colin Walters <walters@verbum.org> - 0.2.7-2 - Bump release for June 2024 mass rebuild
* 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
* Thu Feb 01 2024 Yaakov Selkowitz <yselkowi@redhat.com> - 0.2.17-4
- Update Rust macro usage
* 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
- https://github.com/coreos/bootupd/releases/tag/v0.2.17
* Wed Dec 13 2023 Colin Walters <walters@verbum.org> - 0.2.16-2
- https://github.com/coreos/bootupd/releases/tag/v0.2.16
* 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
* 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
- https://github.com/coreos/bootupd/releases/tag/v0.2.11
* 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
- https://github.com/coreos/bootupd/releases/tag/v0.2.7 - 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 * Thu Sep 16 2021 Luca BRUNO <lucab@lucabruno.net> - 0.2.6-1
- New upstream version - New upstream version
https://github.com/coreos/bootupd/releases/tag/v0.2.6 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 * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.5-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

Loading…
Cancel
Save