diff --git a/.gitignore b/.gitignore index 2837342..3f65d9b 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /errno-0.3.1.crate /errno-0.3.2.crate /errno-0.3.3.crate +/errno-0.3.4.crate diff --git a/errno-fix-metadata-auto.diff b/errno-fix-metadata-auto.diff index 1cab3d1..549c54a 100644 --- a/errno-fix-metadata-auto.diff +++ b/errno-fix-metadata-auto.diff @@ -1,5 +1,5 @@ ---- errno-0.3.3/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ errno-0.3.3/Cargo.toml 2023-08-29T21:13:39.041411+00:00 +--- errno-0.3.4/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ errno-0.3.4/Cargo.toml 2023-10-08T13:35:08.715344+00:00 @@ -29,24 +29,7 @@ default = ["std"] std = ["libc/std"] diff --git a/rust-errno.spec b/rust-errno.spec index f2edaba..b58f486 100644 --- a/rust-errno.spec +++ b/rust-errno.spec @@ -1,21 +1,21 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate errno Name: rust-errno -Version: 0.3.3 +Version: 0.3.4 Release: %autorelease Summary: Cross-platform interface to the errno variable License: MIT OR Apache-2.0 URL: https://crates.io/crates/errno Source: %{crates_source} -# Automatically generated patch to strip foreign dependencies +# Automatically generated patch to strip dependencies and normalize metadata Patch: errno-fix-metadata-auto.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Cross-platform interface to the `errno` variable.} @@ -63,7 +63,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/sources b/sources index 580e3a3..2efcf9f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (errno-0.3.3.crate) = 9524db39d0c9be287e0d2aed3358a86e961b2868717037212a2e9dc408bc73198ab23196d7923a9ba7e0e9357276075148f582e0325ad36ae1b212a8c674173e +SHA512 (errno-0.3.4.crate) = 8c9d8e30af79b554a6aaaf605ddc427355304fcaff9dbc7ace01b275b51a6b9297b7f1dcc4a27380b8ac06156d7f81984b87feaa82ac518f146bf3a149ae4dd1