Fix build with rust-regex 1.6.0
This commit is contained in:
parent
751de83775
commit
aeb1acd874
11
fix-metadata.patch
Normal file
11
fix-metadata.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- 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
|
||||
@@ -114,7 +114,7 @@
|
||||
version = ">= 0.3, < 0.5"
|
||||
|
||||
[dependencies.regex]
|
||||
-version = ">= 1.4, < 1.6"
|
||||
+version = ">= 1.4, < 2"
|
||||
|
||||
[dependencies.reqwest]
|
||||
version = ">= 0.10, < 0.12"
|
@ -23,6 +23,9 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{
|
||||
Source1: https://github.com/coreos/%{crate}/releases/download/v%{version}/%{crate}-%{version}-vendor.tar.gz
|
||||
Source2: https://github.com/coreos/coreos-installer-dracut/archive/%{dracutcommit}/coreos-installer-dracut-%{dracutshortcommit}.tar.gz
|
||||
|
||||
# https://github.com/coreos/coreos-installer/pull/921
|
||||
Patch0: fix-metadata.patch
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
%if 0%{?rhel} && !0%{?eln}
|
||||
BuildRequires: rust-toolset
|
||||
@ -179,6 +182,7 @@ from the initramfs.
|
||||
%changelog
|
||||
* Sun Jul 10 2022 Benjamin Gilbert <bgilbert@redhat.com> - 0.15.0-2
|
||||
- Sync coreos-installer-dracut with CentOS Stream 9
|
||||
- Fix build with rust-regex 1.6.0
|
||||
|
||||
* Fri Jun 17 2022 Michael Armijo <marmijo@redhat.com> - 0.15.0-1
|
||||
- New release
|
||||
|
Loading…
Reference in New Issue
Block a user