diff --git a/.gitignore b/.gitignore index 9facc2c..5e32454 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ /tempfile-3.5.0.crate /tempfile-3.6.0.crate /tempfile-3.8.0.crate +/tempfile-3.8.1.crate diff --git a/rust-tempfile.spec b/rust-tempfile.spec index 4fe9b83..ecafc68 100644 --- a/rust-tempfile.spec +++ b/rust-tempfile.spec @@ -1,21 +1,21 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate tempfile Name: rust-tempfile -Version: 3.8.0 +Version: 3.8.1 Release: %autorelease Summary: Library for managing temporary files and directories License: MIT OR Apache-2.0 URL: https://crates.io/crates/tempfile Source: %{crates_source} -# Automatically generated patch to strip foreign dependencies +# Automatically generated patch to strip dependencies and normalize metadata Patch: tempfile-fix-metadata-auto.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A library for managing temporary files and directories.} @@ -63,7 +63,7 @@ use the "nightly" 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 23beb53..1b1ad95 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tempfile-3.8.0.crate) = 8bc8e954bc0c6af46cf6e77d70f93583baea39fce54b111f4bba51fe5d5e5c184753ae2a2ea68a882b6ba5a157a57aeffeecc3e3cae86d78d952f3aa025fdf7f +SHA512 (tempfile-3.8.1.crate) = b257bfb70793575d59ec4cf4b7492aff83dafb68b367a48594211f476a3b1d4800b69bddc405d8749d8b320c30cbe71be1261a60b4bbc862663b37a6c7d97a3a diff --git a/tempfile-fix-metadata-auto.diff b/tempfile-fix-metadata-auto.diff index 5aaa6bc..0354955 100644 --- a/tempfile-fix-metadata-auto.diff +++ b/tempfile-fix-metadata-auto.diff @@ -1,11 +1,11 @@ ---- tempfile-3.8.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ tempfile-3.8.0/Cargo.toml 2023-09-17T14:55:19.845466+00:00 +--- tempfile-3.8.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ tempfile-3.8.1/Cargo.toml 2023-11-25T11:46:11.625381+00:00 @@ -48,12 +48,3 @@ - version = "0.38" + version = "0.38.21" features = ["fs"] -[target."cfg(target_os = \"redox\")".dependencies.redox_syscall] --version = "0.3" +-version = "0.4" - -[target."cfg(windows)".dependencies.windows-sys] -version = "0.48"