diff --git a/.gitignore b/.gitignore index e35ba98..23851e8 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /alsa-0.6.0.crate /alsa-0.7.1.crate /alsa-0.8.1.crate +/alsa-0.9.1.crate diff --git a/rust-alsa.spec b/rust-alsa.spec index a93f962..a0675e5 100644 --- a/rust-alsa.spec +++ b/rust-alsa.spec @@ -1,13 +1,13 @@ -# Generated by rust2rpm 24 -# Deactivate tests because they need a sound card -# https://github.com/diwic/alsa-rs/issues/71 +# Generated by rust2rpm 26 +# * Deactivate tests because they need a sound card +# * https://github.com/diwic/alsa-rs/issues/71 %bcond_with check %global debug_package %{nil} %global crate alsa Name: rust-alsa -Version: 0.8.1 +Version: 0.9.1 Release: %autorelease Summary: Thin but safe wrappers for ALSA (Linux sound API) @@ -16,7 +16,7 @@ License: Apache-2.0 OR MIT URL: https://crates.io/crates/alsa Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Thin but safe wrappers for ALSA (Linux sound API).} @@ -51,7 +51,7 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..6360e88 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,7 @@ +[tests] +run = ["none"] +comments = [ + "Deactivate tests because they need a sound card", + "https://github.com/diwic/alsa-rs/issues/71", +] + diff --git a/sources b/sources index 86a0b4a..9a962f5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (alsa-0.8.1.crate) = 46ad986e378eecbf7d4856d9ff30c65038b4b88c42b12d1700f07273d5f6284852fa0c753217f041bb5a9c6d9d6cd8995ed27c2731d922a96b8d841fd20f781b +SHA512 (alsa-0.9.1.crate) = c65316e0dbdbd368faaa5985049b119dfaf3f8a8ec867bd69bacdde99395d257227819fb92970685c86b0002408b7e99026e3ca914ec237d20b585d23e16fc4f