import rust-bootupd-0.2.7-2.el9

This commit is contained in:
CentOS Sources 2022-09-27 09:39:45 -04:00 committed by Stepan Oksanichenko
parent 43b63a7b31
commit a164115769
3 changed files with 12 additions and 8 deletions

4
.gitignore vendored
View File

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

View File

@ -1,2 +1,2 @@
b69f8bc33615ba70f7cd468219f03acede48921e SOURCES/bootupd-0.2.6-vendor.tar.gz
1b58ee98c7b9b1c0cb0970ba479e877bab9123a8 SOURCES/bootupd-0.2.6.crate
517b22e10b8ea25bfae434d8ae4cfeb8bfc37baa SOURCES/bootupd-0.2.7-vendor.tar.gz
4105365556ce4bd93d88bf85a9b47ba970160927 SOURCES/bootupd-0.2.7.crate

View File

@ -4,13 +4,13 @@
%global crate bootupd
Name: rust-%{crate}
Version: 0.2.6
Release: 1%{?dist}
Version: 0.2.7
Release: 2%{?dist}
Summary: Bootloader updater
License: ASL 2.0
URL: https://crates.io/crates/bootupd
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
Source0: https://github.com/coreos/bootupd/releases/download/v%{version}/bootupd-%{version}.crate
Source1: https://github.com/coreos/%{crate}/releases/download/v%{version}/%{crate}-%{version}-vendor.tar.gz
# For now, see upstream
@ -44,7 +44,8 @@ License: ASL 2.0
%prep
%autosetup -n %{crate}-%{version} -p1
tar xvf %{SOURCE1}
mkdir vendor
tar -xv -C vendor -f %{SOURCE1}
mkdir -p .cargo
cat >.cargo/config << EOF
[source.crates-io]
@ -70,6 +71,9 @@ EOF
%systemd_postun bootupd.service bootupd.socket
%changelog
* Mon Aug 01 2022 Colin Walters <walters@verbum.org> - 0.2.7-2
- https://github.com/coreos/bootupd/releases/tag/v0.2.7
* 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