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}