From 75e06ed522b99cf12836335650a4a0b690327155 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 20 Oct 2024 21:37:32 +0200 Subject: [PATCH] Update to version 0.2.2; Fixes RHBZ#2318148 --- .gitignore | 1 + rust-pathdiff.spec | 8 ++++---- sources | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index fcdd2b8..cb21cd7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /pathdiff-0.1.0.crate /pathdiff-0.2.0.crate /pathdiff-0.2.1.crate +/pathdiff-0.2.2.crate diff --git a/rust-pathdiff.spec b/rust-pathdiff.spec index 976a416..3cf908d 100644 --- a/rust-pathdiff.spec +++ b/rust-pathdiff.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate pathdiff Name: rust-pathdiff -Version: 0.2.1 +Version: 0.2.2 Release: %autorelease Summary: Library for diffing paths to obtain relative paths @@ -14,7 +14,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/pathdiff Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Library for diffing paths to obtain relative paths.} @@ -60,7 +60,7 @@ use the "camino" 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 769c18c..cf182a5 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (pathdiff-0.2.1.crate) = a646f271ce81d5f6d4a8e0d98a2c802a8796a961cf8fe8177911e7757bdaecd8b156ff22046f1663a9efcd5fef1e6f000e5509d3949dbaeb494126b7e8a546b7 +SHA512 (pathdiff-0.2.2.crate) = 0047a505d09fa01770dca12a795ff86c285e60c2072fb6b0c802c6b0b64f60e608f3df5aeefa7d0b266b01c551dbf5ffb39133faa7fd809a82c673a62b92dc02