!5 [sync] PR-3: Update zincati to 0.0.24

From: @openeuler-sync-bot 
Reviewed-by: @duyiwei7w 
Signed-off-by: @duyiwei7w
This commit is contained in:
openeuler-ci-bot 2022-11-04 02:32:25 +00:00 committed by Gitee
commit 6593907f6e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
4 changed files with 5 additions and 5 deletions

View File

@ -4,14 +4,13 @@
%global crate zincati
Name: rust-%{crate}
Version: 0.0.18
Release: 2
Version: 0.0.24
Release: 1
Summary: Update agent for NestOS
License: ASL 2.0
URL: https://crates.io/crates/%{crate}
Source0: %{crate}-%{version}.crate
Source1: https://github.com/coreos/%{crate}/releases/download/v%{version}/%{crate}-%{version}-vendor.tar.gz
Patch0: zincati-fix-metadata.diff
Patch1: base-cincinnati-url-for-nestos.patch
BuildRequires: rust-packaging
@ -62,10 +61,8 @@ License: ASL 2.0 and BSD and MIT and MPLv2.0 and zlib
%prep
%autosetup -n %{crate}-%{version} -p1
%patch0 -R -p1
%cargo_prep
tar xvf %{SOURCE1}
mv $RPM_BUILD_DIR/zincati-0.0.18/target/vendor $RPM_BUILD_DIR/zincati-0.0.18
mkdir -p .cargo
cat >.cargo/config << EOF
@ -121,6 +118,9 @@ ln -snf /run/%{crate}/public/metrics.promsock %{buildroot}/run/%{crate}/private/
%endif
%changelog
* Wed Jun 08 2022 fushanqing <fushanqing@kylinos.cn> - 0.0.24-1
- update to 0.0.24
* Mon May 16 2022 duyiwei <duyiwei@kylinos.cn> - 0.0.18-2
- add base-cincinnati-url-for-nestos.patch

Binary file not shown.

BIN
zincati-0.0.24.crate Normal file

Binary file not shown.