From ff1e39138a29f1cf27fc91b7c734c08c5d1d333a Mon Sep 17 00:00:00 2001 From: Benjamin Gilbert Date: Mon, 1 Aug 2022 23:17:42 -0400 Subject: [PATCH] Fix build with rust-bytes 1.2.0 --- fix-metadata.patch | 13 +++++++++++-- rust-coreos-installer.spec | 5 ++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/fix-metadata.patch b/fix-metadata.patch index d460dd9..90142ed 100644 --- a/fix-metadata.patch +++ b/fix-metadata.patch @@ -1,5 +1,14 @@ ---- coreos-installer-0.15.0/Cargo.toml.old 2022-07-09 22:02:48.471859927 -0400 -+++ coreos-installer-0.15.0/Cargo.toml 2022-07-09 22:02:59.727862917 -0400 +--- coreos-installer-0.15.0/Cargo.toml.orig 2022-08-01 23:12:48.053388050 -0400 ++++ coreos-installer-0.15.0/Cargo.toml 2022-08-01 23:13:09.555427984 -0400 +@@ -68,7 +68,7 @@ + version = ">= 3.1.0, < 5.0.0" + + [dependencies.bytes] +-version = ">= 1.0.1, < 1.2.0" ++version = ">= 1.0.1, < 2" + + [dependencies.clap] + version = "3.1" @@ -114,7 +114,7 @@ version = ">= 0.3, < 0.5" diff --git a/rust-coreos-installer.spec b/rust-coreos-installer.spec index 3c9dd83..34bb5df 100644 --- a/rust-coreos-installer.spec +++ b/rust-coreos-installer.spec @@ -12,7 +12,7 @@ Name: rust-%{crate} Version: 0.15.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Installer for Fedora CoreOS and RHEL CoreOS # Upstream license specification: Apache-2.0 @@ -180,6 +180,9 @@ from the initramfs. %endif %changelog +* Tue Aug 02 2022 Benjamin Gilbert - 0.15.0-4 +- Fix build with rust-bytes 1.2.0 + * Sat Jul 23 2022 Fedora Release Engineering - 0.15.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild