diff --git a/afterburn-5.1.0.crate b/afterburn-5.1.0.crate deleted file mode 100644 index 2b7c43f..0000000 Binary files a/afterburn-5.1.0.crate and /dev/null differ diff --git a/afterburn-5.1.0-vendor.tar.gz b/afterburn-5.2.0-vendor.tar.gz similarity index 66% rename from afterburn-5.1.0-vendor.tar.gz rename to afterburn-5.2.0-vendor.tar.gz index bb6a0e7..4fe4b1e 100644 Binary files a/afterburn-5.1.0-vendor.tar.gz and b/afterburn-5.2.0-vendor.tar.gz differ diff --git a/afterburn-5.2.0.crate b/afterburn-5.2.0.crate new file mode 100644 index 0000000..a788e8b Binary files /dev/null and b/afterburn-5.2.0.crate differ diff --git a/rust-afterburn.spec b/rust-afterburn.spec index 64a4502..7902b15 100644 --- a/rust-afterburn.spec +++ b/rust-afterburn.spec @@ -7,12 +7,11 @@ %global crate afterburn Name: rust-%{crate} -Version: 5.1.0 +Version: 5.2.0 Release: 1 Summary: Simple cloud provider agent -# Upstream license specification: Apache-2.0 -License: ASL 2.0 +License: Apache-2.0 URL: https://crates.io/crates/afterburn Source0: %{crate}-%{version}.crate Source1: %{crate}-%{version}-vendor.tar.gz @@ -27,7 +26,7 @@ Simple cloud provider agent.} %package -n %{crate} Summary: %{summary} -License: ASL 2.0 and MIT and BSD and zlib +License: ASL 2.0 and MIT and BSD and 0BSD %{?systemd_requires} %description -n %{crate} %{_description} @@ -76,15 +75,9 @@ to run in the initramfs on boot. %prep %autosetup -n %{crate}-%{version} -p1 -# afterburn-sshkeys@.service is by default enabled for the 'core' user in NestOS tar xvf %{SOURCE1} -sed -e 's,@DEFAULT_INSTANCE@,core,' < \ - systemd/afterburn-sshkeys@.service.in > \ - systemd/afterburn-sshkeys@.service -%cargo_prep - mkdir -p .cargo cat >.cargo/config << EOF @@ -95,6 +88,12 @@ replace-with = "vendored-sources" directory = "vendor" EOF +# afterburn-sshkeys@.service is by default enabled for the 'core' user in NestOS +sed -e 's,@DEFAULT_INSTANCE@,core,' < \ + systemd/afterburn-sshkeys@.service.in > \ + systemd/afterburn-sshkeys@.service + + %build %cargo_build @@ -105,8 +104,11 @@ install -Dpm0644 -t %{buildroot}%{_unitdir} \ mkdir -p %{buildroot}%{dracutmodulesdir} cp -a dracut/* %{buildroot}%{dracutmodulesdir} -cp -r $RPM_BUILD_DIR/afterburn-5.1.0/.cargo/bin %{buildroot}/usr +cp -r $RPM_BUILD_DIR/afterburn-5.2.0/.cargo/bin %{buildroot}/usr %changelog +* Thu Jun 2 2022 duyiwei - 5.2.0-1 +- upgrade version to 5.2.0 + * Fri Dec 24 2021 duyiwei - 5.1.0-1 - Package init