From d31e6c2ef9ff5a81de83c6b4ec2b820000ce3af1 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Mon, 7 Oct 2024 16:07:12 +0200 Subject: [PATCH] Update to version 0.1.5; Fixes RHBZ#2314081 --- .gitignore | 1 + 0001-remove-harmful-deny-warnings-lint.patch | 21 -------------------- README.md | 3 --- rust-simdutf8.spec | 10 ++++------ sources | 2 +- 5 files changed, 6 insertions(+), 31 deletions(-) delete mode 100644 0001-remove-harmful-deny-warnings-lint.patch delete mode 100644 README.md diff --git a/.gitignore b/.gitignore index 07b5f01..f3a6d75 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /simdutf8-0.1.3.crate /simdutf8-0.1.4.crate +/simdutf8-0.1.5.crate diff --git a/0001-remove-harmful-deny-warnings-lint.patch b/0001-remove-harmful-deny-warnings-lint.patch deleted file mode 100644 index 59347e8..0000000 --- a/0001-remove-harmful-deny-warnings-lint.patch +++ /dev/null @@ -1,21 +0,0 @@ -From f5fca0fe3effefb9115da27c600727c0399ceb9a Mon Sep 17 00:00:00 2001 -From: Fabio Valentini -Date: Wed, 11 Jan 2023 21:38:39 +0100 -Subject: [PATCH] remove harmful deny(warnings) lint - ---- - src/lib.rs | 1 - - 1 file changed, 1 deletion(-) - -diff --git a/src/lib.rs b/src/lib.rs -index 5bdffb8..fd2556b 100644 ---- a/src/lib.rs -+++ b/src/lib.rs -@@ -1,4 +1,3 @@ --#![deny(warnings)] - #![warn(unused_extern_crates)] - #![deny( - clippy::all, --- -2.39.0 - diff --git a/README.md b/README.md deleted file mode 100644 index adac05e..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-simdutf8 - -The rust-simdutf8 package diff --git a/rust-simdutf8.spec b/rust-simdutf8.spec index 68c652c..568a3a1 100644 --- a/rust-simdutf8.spec +++ b/rust-simdutf8.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate simdutf8 Name: rust-simdutf8 -Version: 0.1.4 +Version: 0.1.5 Release: %autorelease Summary: SIMD-accelerated UTF-8 validation @@ -13,9 +13,7 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/simdutf8 Source: %{crates_source} -Patch: 0001-remove-harmful-deny-warnings-lint.patch - -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: SIMD-accelerated UTF-8 validation.} @@ -112,7 +110,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 b4618cc..e84c852 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (simdutf8-0.1.4.crate) = 9f821035e147c035707910227b51e01d3f761ab8b578d95a86a776b2a4da01bc4d8ef28df7ea2c16ca125a2699d8903b826ad07a5937728e33dd58753ebd704c +SHA512 (simdutf8-0.1.5.crate) = 139668c7232f533d3439986474da5036efa32d4e0d21fa72e1283e27dbd0670984283d91c238e445be61317426f67cdb8d3f13738b2fb657563f866c8b6d89d6