From b799ecced566ad780ff9fcec0baaac596702bf6b Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Oct 28 2023 18:04:32 +0000 Subject: Regenerate with rust2rpm v25 --- diff --git a/README.md b/README.md deleted file mode 100644 index 6f0f186..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-cast - -The rust-cast package \ No newline at end of file diff --git a/cast-fix-metadata.diff b/cast-fix-metadata.diff deleted file mode 100644 index 9f779f3..0000000 --- a/cast-fix-metadata.diff +++ /dev/null @@ -1,10 +0,0 @@ ---- cast-0.2.6/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ cast-0.2.6/Cargo.toml 2021-05-16T10:32:14.606431+00:00 -@@ -21,6 +21,7 @@ - keywords = ["checked", "cast", "primitive", "integer", "float"] - license = "MIT OR Apache-2.0" - repository = "https://github.com/japaric/cast.rs" -+exclude = ["/ci/*"] - [dev-dependencies.quickcheck] - version = "0.9.0" - [build-dependencies.rustc_version] diff --git a/rust-cast.spec b/rust-cast.spec index eff3c14..e22a146 100644 --- a/rust-cast.spec +++ b/rust-cast.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} @@ -13,9 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/cast Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Ergonomic, checked cast functions for primitive types.} @@ -63,7 +61,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