backport trivial commit d94715c to allow building with nix 0.20

This commit is contained in:
Fabio Valentini 2021-03-01 20:14:03 +01:00
parent 49e7f05a7a
commit b0cc7db6e5
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF
2 changed files with 19 additions and 3 deletions

View File

@ -0,0 +1,11 @@
--- coreos-installer-0.7.2/Cargo.toml 2020-10-22T04:20:12+00:00
+++ coreos-installer-0.7.2/Cargo.toml 2021-03-01T19:05:35.070629+00:00
@@ -74,7 +74,7 @@
version = "^0.2"
[dependencies.nix]
-version = ">= 0.17, < 0.20"
+version = ">= 0.17, < 0.21"
[dependencies.openat-ext]
version = "^0.1.4"

View File

@ -1,4 +1,4 @@
# Generated by rust2rpm 13
# Generated by rust2rpm 16
%bcond_without check
%global __cargo_skip_build 0
# The library is for internal code reuse and is not a public API
@ -8,14 +8,16 @@
Name: rust-%{crate}
Version: 0.7.2
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Installer for Fedora CoreOS and RHEL CoreOS
# Upstream license specification: Apache-2.0
License: ASL 2.0
URL: https://crates.io/crates/coreos-installer
Source: %{crates_source}
# Initial patched metadata
# * allow nix 0.20: https://github.com/coreos/coreos-installer/commit/d94715c
Patch0: coreos-installer-fix-metadata.diff
ExclusiveArch: %{rust_arches}
@ -128,6 +130,9 @@ RHEL CoreOS. It is not needed on other platforms.
%endif
%changelog
* Mon Mar 01 2021 Fabio Valentini <decathorpe@gmail.com> - 0.7.2-5
- Backport trivial commit d94715c to allow building with nix 0.20.
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.7.2-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild