diff --git a/.gitignore b/.gitignore index 28ee4f0..90345e0 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /num-0.3.1.crate /num-0.4.0.crate /num-0.4.1.crate +/num-0.4.2.crate diff --git a/rust-num.spec b/rust-num.spec index ec69444..5317a04 100644 --- a/rust-num.spec +++ b/rust-num.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate num Name: rust-num -Version: 0.4.1 +Version: 0.4.2 Release: %autorelease Summary: Collection of numeric types and traits for Rust @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/num Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A collection of numeric types and traits for Rust, including bigint, @@ -122,7 +122,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 diff --git a/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 8d3a2d0..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,2 +0,0 @@ -[DEFAULT] -summary = Collection of numeric types and traits for Rust diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..9033163 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[package] +summary = "Collection of numeric types and traits for Rust" + diff --git a/sources b/sources index ed4e64f..0148372 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (num-0.4.1.crate) = ea3b49c1b7a361266ee44213cd65765e58bfc51b9e805bdc71bed120a3b43f87ca60ba81b231a2c9a0ced617e10024d4e0961d8a3a52f26dbce1a22d550b7a84 +SHA512 (num-0.4.2.crate) = 1f288e1f5c594cb58a55f56f4fc07b044b1a5525f5d404408d63b0941bbee48beb6523bce32e5cee708ecb837802698578fbd658889dbac56cf82d7893ffaad5