From 2b66707399e4f02555355e03973b695b88bf6046 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 15 Oct 2023 00:08:17 +0200 Subject: [PATCH] Update to version 1.7.0; Fixes RHBZ#2242963 --- .gitignore | 1 + bstr-fix-metadata.diff | 4 ++-- rust-bstr.spec | 6 +++--- sources | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 75b6280..53d4556 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /bstr-1.5.0.crate /bstr-1.6.0.crate /bstr-1.6.2.crate +/bstr-1.7.0.crate diff --git a/bstr-fix-metadata.diff b/bstr-fix-metadata.diff index e99940c..32ba761 100644 --- a/bstr-fix-metadata.diff +++ b/bstr-fix-metadata.diff @@ -1,5 +1,5 @@ ---- bstr-1.6.2/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ bstr-1.6.2/Cargo.toml 2023-08-30T13:14:23.570524+00:00 +--- bstr-1.7.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ bstr-1.7.0/Cargo.toml 2023-10-10T08:52:15.329437+00:00 @@ -34,7 +34,7 @@ "text-processing", "encoding", diff --git a/rust-bstr.spec b/rust-bstr.spec index c8c99c6..a1534af 100644 --- a/rust-bstr.spec +++ b/rust-bstr.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate bstr Name: rust-bstr -Version: 1.6.2 +Version: 1.7.0 Release: %autorelease Summary: String type that is not required to be valid UTF-8 @@ -102,7 +102,7 @@ use the "unicode" 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 cf42a32..145ed35 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (bstr-1.6.2.crate) = 2661f453d3b529fa90a52da26b0c373df7e077b5503ff9e8dc4ac17ae546817a41b7353d3517a94d89b3b0bc4409740c6fe14b7dc78fd1aaa2a3f5888ce10057 +SHA512 (bstr-1.7.0.crate) = b6cad70391525589dc028e685065db280837ae00b60824fe58ec3d77d71cb343680c745845944b3ffe05c02577eb7c2eafdac82537009b1778a7ffc47a5d42bb