From d909f981c71504400eec0f7c03b36a06f9160e45 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 4 Oct 2024 19:17:02 +0200 Subject: [PATCH] Update to version 0.3.17; Fixes RHBZ#2316166 --- .gitignore | 1 + rust-unicode-bidi.spec | 16 ++++++++++++++-- sources | 2 +- unicode-bidi-fix-metadata.diff | 15 +++++---------- 4 files changed, 21 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 55cdbaa..c37b5ec 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ /unicode-bidi-0.3.13.crate /unicode-bidi-0.3.14.crate /unicode-bidi-0.3.15.crate +/unicode-bidi-0.3.17.crate diff --git a/rust-unicode-bidi.spec b/rust-unicode-bidi.spec index 8111d81..6a86f8d 100644 --- a/rust-unicode-bidi.spec +++ b/rust-unicode-bidi.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate unicode-bidi Name: rust-unicode-bidi -Version: 0.3.15 +Version: 0.3.17 Release: %autorelease Summary: Implementation of the Unicode Bidirectional Algorithm @@ -89,6 +89,18 @@ use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+smallvec-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+smallvec-devel %{_description} + +This package contains library source intended for building other packages which +use the "smallvec" feature of the "%{crate}" crate. + +%files -n %{name}+smallvec-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch diff --git a/sources b/sources index bcf30cd..bb7ffc1 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (unicode-bidi-0.3.15.crate) = 7a21d5eb05ea8d691dfd54ce4cf7d3693d08067f7a88ef17b8c3044634f46411176b1bde1516c442577910b254007b247f5e40f9932eb601cd96cd574f9d9db8 +SHA512 (unicode-bidi-0.3.17.crate) = cf523ff9a2e1face42da035f81bba2476e80d1154f73f3e34cbaf5ce322504e93a520114a54e0a4b2e5d6b930e508ce31b5d8b4f4ed4d39159a8c9a9c7b94d91 diff --git a/unicode-bidi-fix-metadata.diff b/unicode-bidi-fix-metadata.diff index ea0cec9..56b33ef 100644 --- a/unicode-bidi-fix-metadata.diff +++ b/unicode-bidi-fix-metadata.diff @@ -1,14 +1,9 @@ ---- unicode-bidi-0.3.15/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ unicode-bidi-0.3.15/Cargo.toml 2024-01-30T12:45:31.022983+00:00 -@@ -42,19 +42,6 @@ - [lib] +--- unicode-bidi-0.3.17/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ unicode-bidi-0.3.17/Cargo.toml 2024-10-04T17:15:42.511428+00:00 +@@ -49,14 +49,6 @@ name = "unicode_bidi" + path = "src/lib.rs" --[[test]] --name = "conformance_tests" --path = "tests/conformance_tests.rs" --required-features = ["hardcoded-data"] -- -[dependencies.flame] -version = "0.2" -optional = true @@ -20,7 +15,7 @@ [dependencies.serde] version = ">=0.8, <2.0" features = ["derive"] -@@ -70,10 +57,6 @@ +@@ -77,10 +69,6 @@ "std", "hardcoded-data", ]