From cd16dfafe47b9a2dac019f33a8d4174cf4dbc9b3 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 8 Oct 2023 15:34:21 +0200 Subject: [PATCH] Update to version 2.6.4; Fixes RHBZ#2241656 --- .gitignore | 1 + rust-memchr.spec | 11 ++++++----- rust2rpm.conf | 5 ----- rust2rpm.toml | 10 ++++++++++ sources | 2 +- 5 files changed, 18 insertions(+), 11 deletions(-) delete mode 100644 rust2rpm.conf create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index 7eaa11d..86def4a 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ /memchr-2.6.1.crate /memchr-2.6.2.crate /memchr-2.6.3.crate +/memchr-2.6.4.crate diff --git a/rust-memchr.spec b/rust-memchr.spec index 0782423..45b184c 100644 --- a/rust-memchr.spec +++ b/rust-memchr.spec @@ -1,13 +1,13 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate memchr Name: rust-memchr -Version: 2.6.3 +Version: 2.6.4 Release: %autorelease -Summary: Safe interface to memchr +Summary: Extremely fast 1, 2 or 3 byte search and single substring search License: Unlicense OR MIT URL: https://crates.io/crates/memchr @@ -16,7 +16,8 @@ Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: -Safe interface to memchr.} +Provides extremely fast (uses SIMD on x86_64, aarch64 and wasm32) +routines for 1, 2 or 3 byte search and single substring search.} %description %{_description} @@ -109,7 +110,7 @@ use the "use_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/rust2rpm.conf b/rust2rpm.conf deleted file mode 100644 index 302578b..0000000 --- a/rust2rpm.conf +++ /dev/null @@ -1,5 +0,0 @@ -[DEFAULT] -unwanted-features = - compiler_builtins - core - rustc-dep-of-std diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..91951b8 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,10 @@ +[package] +summary = "Extremely fast 1, 2 or 3 byte search and single substring search" + +[features] +hide = [ + "compiler_builtins", + "core", + "rustc-dep-of-std", +] + diff --git a/sources b/sources index 3fb8ef0..1125d58 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (memchr-2.6.3.crate) = 8d5e1425ea702a0950c95271dfd2e81610731496f77af0d683536b074a22922a7d7ec6da41577487d1d658e3b27257b7d1e142761b523e68760a2f5f24f049bc +SHA512 (memchr-2.6.4.crate) = 1065a67e04ec9210c70e430288e0a8d39f36ce6414722099553e99112ea2f8f710eae44bf39f8775b9850e6c8a50e634a1b1b084a8eb4f6b2eae6697dcf5b5f4