diff --git a/.gitignore b/.gitignore index cb18d8a..ff2f0b9 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /smol_str-0.1.23.crate /smol_str-0.1.24.crate /smol_str-0.2.0.crate +/smol_str-0.2.1.crate diff --git a/rust-smol_str.spec b/rust-smol_str.spec index bb26a94..7b27383 100644 --- a/rust-smol_str.spec +++ b/rust-smol_str.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate smol_str Name: rust-smol_str -Version: 0.2.0 +Version: 0.2.1 Release: %autorelease Summary: Small-string optimized string type with O(1) clone @@ -84,7 +84,7 @@ use the "std" 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 @@ -99,7 +99,7 @@ use the "std" feature of the "%{crate}" crate. %if %{with check} %check # * skip a test that requires running rustfmt -%cargo_test -- -- --skip check_code_formatting +%cargo_test -- -- --exact --skip check_code_formatting %endif %changelog diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..975d968 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,5 @@ +[tests] +skip = ["check_code_formatting"] +skip-exact = true +comments = ["skip a test that requires running rustfmt"] + diff --git a/sources b/sources index a1c233e..d1c1e85 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (smol_str-0.2.0.crate) = a0cc82d782c0fcbf3fec89dd7644bfcbe88a59c715f31e214712dce8baee0294f9200accb3e7a56deb284b746ead7fc716a8534cd8c445fbb3c3269a27f6bc42 +SHA512 (smol_str-0.2.1.crate) = 97ec765f3244210adac567a36b21436ab3cb387db0810b86258b80161ff4858d34e148fe34f5cf351b4355ef998b017d216749e12c154554fb36abe37bb541d8