From 7a39936706dcf1df820c35db8f365b8adad6af6b Mon Sep 17 00:00:00 2001 From: Davide Cavalca Date: Mon, 31 Jul 2023 09:39:54 -0700 Subject: [PATCH] Update to 0.7.1; Fixes: RHBZ#2224957 --- .gitignore | 1 + rust-alsa.spec | 21 ++++++++++----------- sources | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 513ada4..5821398 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /alsa-0.5.0.crate /alsa-0.6.0.crate +/alsa-0.7.1.crate diff --git a/rust-alsa.spec b/rust-alsa.spec index ec5eb01..e0509ef 100644 --- a/rust-alsa.spec +++ b/rust-alsa.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 24 # Deactivate tests because they need a sound card # https://github.com/diwic/alsa-rs/issues/71 %bcond_with check @@ -6,19 +6,17 @@ %global crate alsa -Name: rust-%{crate} -Version: 0.6.0 +Name: rust-alsa +Version: 0.7.1 Release: %autorelease Summary: Thin but safe wrappers for ALSA (Linux sound API) # Upstream license specification: Apache-2.0/MIT -License: ASL 2.0 or MIT +License: Apache-2.0 OR MIT URL: https://crates.io/crates/alsa Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Thin but safe wrappers for ALSA (Linux sound API).} @@ -35,9 +33,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -49,7 +48,7 @@ This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 1d9b043..4908085 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (alsa-0.6.0.crate) = a63354da0e643a68e28e32293d48f866c071332b1d17cf8349a79f28e45d6b9566d22f30c3001a862ea26c2b757aa9440b3f52c826a40b29c7881d12416f599b +SHA512 (alsa-0.7.1.crate) = b94d9a1aef0becf2324cdcd6d20fc7542a017d746e73bad981e0ddcf300e43db5ea5e907487387028439d66871c7d9a05349d0f9ef0d50ed2a43b05cbeb990ee