diff --git a/.gitignore b/.gitignore index 6036d03..dcdc8cb 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /xxhash-rust-0.8.5.crate /xxhash-rust-0.8.6.crate /xxhash-rust-0.8.7.crate +/xxhash-rust-0.8.8.crate diff --git a/rust-xxhash-rust.spec b/rust-xxhash-rust.spec index bcab08d..19b4bd9 100644 --- a/rust-xxhash-rust.spec +++ b/rust-xxhash-rust.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate xxhash-rust Name: rust-xxhash-rust -Version: 0.8.7 +Version: 0.8.8 Release: %autorelease Summary: Implementation of xxhash @@ -13,7 +13,7 @@ License: BSL-1.0 URL: https://crates.io/crates/xxhash-rust Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Implementation of xxhash.} @@ -119,7 +119,7 @@ use the "xxh64" 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 @@ -134,7 +134,7 @@ use the "xxh64" feature of the "%{crate}" crate. %if %{with check} %check # * skip a test for which fixtures are not included in published crates -%cargo_test -a -- -- --skip test_vectors_xxh3 +%cargo_test -a -- -- --exact --skip test_vectors_xxh3 %endif %changelog diff --git a/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index f626714..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -all-features = true diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..25020f9 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,8 @@ +[features] +enable-all = true + +[tests] +skip = ["test_vectors_xxh3"] +skip-exact = true +comments = ["skip a test for which fixtures are not included in published crates"] + diff --git a/sources b/sources index ddb2737..d932850 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (xxhash-rust-0.8.7.crate) = 6c47fcd88966d09c4dc55e18e32ddec97d8befa56910428058361539dd36af3472beb7a6d7db7740a8b1adf73ef522e4c5f52208efd4c39226e094d1a3fd4658 +SHA512 (xxhash-rust-0.8.8.crate) = f2c77a3132af7e4d61a375e038d20ff8d5acebf35385e2f2a283f1313a8ebb795cc7132f84d91ed2e6fe96a2925a6f1e5d4c1255b991d587470d5a8d8322cde5