From ebf597acafaa1199650f5d49b4d23edc3d1692ed Mon Sep 17 00:00:00 2001 From: Steven Presti Date: Wed, 21 Sep 2022 12:55:07 -0400 Subject: [PATCH] spec: new upstream version 0.16.1 Resolves: rhbz#2128512 --- .gitignore | 2 ++ enable-rdcore.patch | 10 +++++----- rust-coreos-installer.spec | 12 ++++++++++-- sources | 4 ++-- 4 files changed, 19 insertions(+), 9 deletions(-) diff --git a/.gitignore b/.gitignore index 83fbd8c..932efd9 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,5 @@ /coreos-installer-0.15.0-vendor.tar.gz /coreos-installer-dracut-89d5789.tar.gz /coreos-installer-dracut-38d9f61.tar.gz +/coreos-installer-0.16.1.crate +/coreos-installer-0.16.1-vendor.tar.gz diff --git a/enable-rdcore.patch b/enable-rdcore.patch index f3e06f9..36a500f 100644 --- a/enable-rdcore.patch +++ b/enable-rdcore.patch @@ -1,10 +1,10 @@ ---- coreos-installer-0.15.0/Cargo.toml.old 2022-06-30 14:41:55.017099085 -0400 -+++ coreos-installer-0.15.0/Cargo.toml 2022-06-30 14:44:20.754046186 -0400 -@@ -156,6 +156,7 @@ +--- a/Cargo2.toml 2022-09-21 11:19:37.605292726 -0400 ++++ b/Cargo.toml 2022-09-21 11:22:29.029020709 -0400 +@@ -194,6 +194,7 @@ [features] - mangen = ["clap_mangen"] + docgen = ["clap_mangen"] +default = ["rdcore"] rdcore = [] + [target."cfg(target_arch = \"s390x\")".dependencies.mbrman] - version = ">= 0.3, < 0.5" diff --git a/rust-coreos-installer.spec b/rust-coreos-installer.spec index 351ac61..3ed5cf4 100644 --- a/rust-coreos-installer.spec +++ b/rust-coreos-installer.spec @@ -11,8 +11,8 @@ %global crate coreos-installer Name: rust-%{crate} -Version: 0.15.0 -Release: 2%{?dist} +Version: 0.16.1 +Release: 1%{?dist} Summary: Installer for Fedora CoreOS and RHEL CoreOS # Upstream license specification: Apache-2.0 @@ -37,6 +37,7 @@ BuildRequires: xz-devel BuildRequires: rust-packaging %endif BuildRequires: systemd-rpm-macros +BuildRequires: libzstd-devel # For tests BuildRequires: gnupg2 @@ -124,6 +125,7 @@ install -D -m 0755 -t %{buildroot}%{dracutlibdir}/modules.d/50rdcore dracut/50rd make install-scripts DESTDIR=%{buildroot} make install-systemd DESTDIR=%{buildroot} make install-man DESTDIR=%{buildroot} +make install-data DESTDIR=%{buildroot} mv %{buildroot}%{_bindir}/rdcore %{buildroot}%{dracutlibdir}/modules.d/50rdcore/ %endif @@ -170,6 +172,8 @@ from the initramfs. %doc README.md %{_bindir}/coreos-installer %{_mandir}/man8/* +%dir %{_datadir}/coreos-installer +%{_datadir}/coreos-installer/example-config.yaml %if %{with check} %check @@ -181,6 +185,10 @@ from the initramfs. %endif %changelog +* Wed Sep 21 2022 Steven Presti - 0.16.1-1 +- new version +- Add libzstd dependency + * Thu Aug 18 2022 Antonio Murdaca - 0.15.0-2 - update coi-dracut to support LVM backed growfs service diff --git a/sources b/sources index eb37d7a..ac3e037 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ -SHA512 (coreos-installer-0.15.0.crate) = b1ef91e5710eb10ff06b2fb0bc0f3f78c28796e863caebd89d3ffac35a6347dfb107a072403e2c9a0b129ee32d0f73c331fd3a19d0476f4dcbb8836a1ea1b70a -SHA512 (coreos-installer-0.15.0-vendor.tar.gz) = c1fec1b196622cf1710b27d220aa748eb4322fb69f899f34037ae266883e7d63d6986f8d31bd3eaeeceeaa2a13f728f2e4e310697d6dc271e6ddc370d0c99160 +SHA512 (coreos-installer-0.16.1.crate) = d9bb2c348b2c4f9d021c31a69decf97cb6b98d3fe8ca4a0e0765708afd5a6e9bb61a5ccc49c6a116229830dd901536f235c9a010e539a239e964a91a475efd6d +SHA512 (coreos-installer-0.16.1-vendor.tar.gz) = ab12bcc7a1d60f3c507feac1153f43b0a744e76e41c0068727dcd7371b74401b8085af943162ab1901adab780c3309d21417e1acef91469ec68ba35c88221d8d SHA512 (coreos-installer-dracut-38d9f61.tar.gz) = a86f19bedd006ca47a2e9a7832182756cfec9d0d4718a1d7d3c699776236cd3a6a5be67b27212456e0893d65ab09ecb976484f588b8e2d8208d0a39464794af1