From 0b8e7bd7551e268f66127bc0c3416799f37a59c4 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Tue, 10 Oct 2023 11:09:30 +0200 Subject: [PATCH] Update to version 1.0.20; Fixes RHBZ#2242959 --- .gitignore | 1 + rust-semver.spec | 8 ++++---- sources | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 97ca737..c499831 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /semver-1.0.17.crate /semver-1.0.18.crate /semver-1.0.19.crate +/semver-1.0.20.crate diff --git a/rust-semver.spec b/rust-semver.spec index 30563fd..4b578e7 100644 --- a/rust-semver.spec +++ b/rust-semver.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate semver Name: rust-semver -Version: 1.0.19 +Version: 1.0.20 Release: %autorelease Summary: Parser and evaluator for Cargo's flavor of Semantic Versioning @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/semver Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Parser and evaluator for Cargo's flavor of Semantic Versioning.} @@ -72,7 +72,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 4ff25ec..e7eacd0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (semver-1.0.19.crate) = df67c8042a8045196ef2a929b3075056d27da68cbf8d895bc4527ed2a769c579382cbe720e34554078182c12657fe40d47206a676d142d82b73715551f3f6e1c +SHA512 (semver-1.0.20.crate) = 35a55f1d1e4dc8674d48053da36b7152b5e3bfeb72eebf7d307c491b02d77e6bd4552212551be29e2a2c3951afde292c2614829e668d9382fec0f258dc6484fe