update to 0.0.24
(cherry picked from commit 1b183a9dbeace5e455adb4f86c102d2c41acbdfc)
This commit is contained in:
parent
bffb0b08c5
commit
ca84b166f8
@ -4,14 +4,13 @@
|
|||||||
%global crate zincati
|
%global crate zincati
|
||||||
|
|
||||||
Name: rust-%{crate}
|
Name: rust-%{crate}
|
||||||
Version: 0.0.18
|
Version: 0.0.24
|
||||||
Release: 2
|
Release: 1
|
||||||
Summary: Update agent for NestOS
|
Summary: Update agent for NestOS
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://crates.io/crates/%{crate}
|
URL: https://crates.io/crates/%{crate}
|
||||||
Source0: %{crate}-%{version}.crate
|
Source0: %{crate}-%{version}.crate
|
||||||
Source1: https://github.com/coreos/%{crate}/releases/download/v%{version}/%{crate}-%{version}-vendor.tar.gz
|
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
|
Patch1: base-cincinnati-url-for-nestos.patch
|
||||||
|
|
||||||
BuildRequires: rust-packaging
|
BuildRequires: rust-packaging
|
||||||
@ -62,10 +61,8 @@ License: ASL 2.0 and BSD and MIT and MPLv2.0 and zlib
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{crate}-%{version} -p1
|
%autosetup -n %{crate}-%{version} -p1
|
||||||
%patch0 -R -p1
|
|
||||||
%cargo_prep
|
%cargo_prep
|
||||||
tar xvf %{SOURCE1}
|
tar xvf %{SOURCE1}
|
||||||
mv $RPM_BUILD_DIR/zincati-0.0.18/target/vendor $RPM_BUILD_DIR/zincati-0.0.18
|
|
||||||
mkdir -p .cargo
|
mkdir -p .cargo
|
||||||
cat >.cargo/config << EOF
|
cat >.cargo/config << EOF
|
||||||
|
|
||||||
@ -121,6 +118,9 @@ ln -snf /run/%{crate}/public/metrics.promsock %{buildroot}/run/%{crate}/private/
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon May 16 2022 duyiwei <duyiwei@kylinos.cn> - 0.0.18-2
|
||||||
- add base-cincinnati-url-for-nestos.patch
|
- add base-cincinnati-url-for-nestos.patch
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
BIN
zincati-0.0.24.crate
Normal file
BIN
zincati-0.0.24.crate
Normal file
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user