!5 同步master分支并升级bootupd至0.2.8

From: @fu-shanqing 
Reviewed-by: @duyiwei7w 
Signed-off-by: @duyiwei7w
This commit is contained in:
openeuler-ci-bot 2022-11-14 01:17:47 +00:00 committed by Gitee
commit 7ef1de3a0e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
5 changed files with 14 additions and 5 deletions

Binary file not shown.

Binary file not shown.

BIN
bootupd-0.2.8-vendor.tar.gz Normal file

Binary file not shown.

BIN
bootupd-0.2.8.crate Normal file

Binary file not shown.

View File

@ -1,16 +1,15 @@
%global crate bootupd
Name: rust-%{crate}
Version: 0.2.5
Version: 0.2.8
Release: 1
Summary: Bootloader updater
License: ASL 2.0
License: Apache-2.0
URL: https://crates.io/crates/bootupd
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
Source1: https://github.com/coreos/%{crate}/releases/download/v%{version}/%{crate}-%{version}-vendor.tar.gz
ExclusiveArch: x86_64 aarch64
BuildRequires: make
BuildRequires: openssl-devel
BuildRequires: rust-packaging
@ -36,7 +35,8 @@ License: ASL 2.0
%prep
%autosetup -n %{crate}-%{version} -p1
tar xvf %{SOURCE1}
mkdir -p vendor
tar xvf %{SOURCE1} -C vendor
mkdir -p .cargo
cat >.cargo/config << EOF
[source.crates-io]
@ -62,5 +62,14 @@ EOF
%systemd_postun bootupd.service bootupd.socket
%changelog
* Tue Nov 08 2022 fushanqing <fushanqing@kylinos.cn> - 0.2.8-1
- update to 0.2.8
* Wed Aug 03 2022 liukuo <liukuo@kylinos.cn> - 0.2.6-2
- License compliance rectification
* Thu Jun 09 2022 duyiwei <duyiwei@kylinos.cn> - 0.2.6-1
- upgrade to 0.2.6
* Mon Jan 17 2022 fushanqing <fushanqing@kylinos.cn> - 0.2.5-1
- Initial package
- Initial package