From 99d4a827f81eede7a4a68db2bf8974382a9ed972 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 22 Jan 2024 17:15:20 +0100 Subject: [PATCH] Update to version 1.3.0; Fixes RHBZ#2259478 --- .gitignore | 1 + rust-shlex.spec | 8 ++++---- sources | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 40577c5..fc341cf 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /shlex-0.1.1.crate /shlex-1.1.0.crate /shlex-1.2.0.crate +/shlex-1.3.0.crate diff --git a/rust-shlex.spec b/rust-shlex.spec index 53c2b8e..048a83b 100644 --- a/rust-shlex.spec +++ b/rust-shlex.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate shlex Name: rust-shlex -Version: 1.2.0 +Version: 1.3.0 Release: %autorelease Summary: Split a string into shell words, like Python's shlex @@ -13,7 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/shlex Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Split a string into shell words, like Python's shlex.} @@ -61,7 +61,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 66e4c45..0fcab41 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (shlex-1.2.0.crate) = cf48c0c47aac44654a48047fed3568c30f53f19cd131615cabbc247dbdf1eb1b7540b0d188f341251b4876dd0d5fcc13792800f0160f7907e8d8fe9a5e75083f +SHA512 (shlex-1.3.0.crate) = 5c8cedbe666a14b8a0874defb9208146ce64579cde52ed483e4a794cac5dde6a24bf8d684404edff582f842e1fd4fa3fbeddbe074f191e4ec4aa517aa456fe8a