diff --git a/.gitignore b/.gitignore index d3e0892..7c030c6 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /ref-cast-impl-1.0.18.crate /ref-cast-impl-1.0.19.crate /ref-cast-impl-1.0.20.crate +/ref-cast-impl-1.0.22.crate diff --git a/rust-ref-cast-impl.spec b/rust-ref-cast-impl.spec index f80448b..2024f0e 100644 --- a/rust-ref-cast-impl.spec +++ b/rust-ref-cast-impl.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 # * tests can only be run in-tree %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate ref-cast-impl Name: rust-ref-cast-impl -Version: 1.0.20 +Version: 1.0.22 Release: %autorelease Summary: Derive implementation for ref_cast::RefCast @@ -14,7 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/ref-cast-impl Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Derive implementation for ref_cast::RefCast.} @@ -48,7 +48,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..553347c --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[tests] +run = ["none"] +comments = ["tests can only be run in-tree"] + diff --git a/sources b/sources index 2fc1f2a..a11d41d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ref-cast-impl-1.0.20.crate) = 027de4e740b4f82f92f6c698537c204e6e18ce3d4244435a98cb1231daac1b10ebaf2f9fab57d1d8e6d16e4ecdd7af4ba8a929030f67bbe345cac29393aee403 +SHA512 (ref-cast-impl-1.0.22.crate) = e9ec6b531c10ee3cab1033875dbc2f1b647ed079191820f23d351266b6791ee531f35730143fed716e2d28bf72d02f7143b20d580cd86aac5443bef653004223