From b1f7a7b045c19e84273616281296e3a5e453d964 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Lauzier?= Date: Wed, 3 Nov 2021 19:24:31 -0400 Subject: [PATCH] Downgrade nix to version 0.22 --- alsa-fix-metadata.diff | 11 +++++++++++ rust-alsa.spec | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 alsa-fix-metadata.diff diff --git a/alsa-fix-metadata.diff b/alsa-fix-metadata.diff new file mode 100644 index 0000000..e9cab9c --- /dev/null +++ b/alsa-fix-metadata.diff @@ -0,0 +1,11 @@ +--- alsa-0.6.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ alsa-0.6.0/Cargo.toml 2021-11-03T23:18:25.317265+00:00 +@@ -33,7 +33,7 @@ + version = "0.2.105" + + [dependencies.nix] +-version = "0.23" ++version = "0.22" + [badges.is-it-maintained-issue-resolution] + repository = "diwic/alsa-rs" + diff --git a/rust-alsa.spec b/rust-alsa.spec index 90b0642..6796cc9 100644 --- a/rust-alsa.spec +++ b/rust-alsa.spec @@ -15,6 +15,9 @@ Summary: Thin but safe wrappers for ALSA (Linux sound API) License: ASL 2.0 or MIT URL: https://crates.io/crates/alsa Source: %{crates_source} +# Initial patched metadata +# Downgrade nix to version 0.22 +Patch0: alsa-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build}