public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-elasticlunr-rs] epel10: Update to version 2.3.14; Fixes RHBZ#2023575
@ 2026-07-07 13:06 Fabio Valentini
  0 siblings, 0 replies; only message in thread
From: Fabio Valentini @ 2026-07-07 13:06 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-elasticlunr-rs
Branch : epel10
Commit : c9b12c07b94f110b9ad0260726181399a86c0f52
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2021-11-19T12:35:17+01:00
Stats  : +16/-60 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-elasticlunr-rs/c/c9b12c07b94f110b9ad0260726181399a86c0f52?branch=epel10

Log:
Update to version 2.3.14; Fixes RHBZ#2023575

---
diff --git a/.gitignore b/.gitignore
index bfcf8d9..fb3bfe6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,3 +5,4 @@
 /elasticlunr-rs-2.3.10.crate
 /elasticlunr-rs-2.3.11.crate
 /elasticlunr-rs-2.3.12.crate
+/elasticlunr-rs-2.3.14.crate

diff --git a/0001-Bump-strum-and-strum_macros-to-0.21.0.patch b/0001-Bump-strum-and-strum_macros-to-0.21.0.patch
deleted file mode 100644
index c82e449..0000000
--- a/0001-Bump-strum-and-strum_macros-to-0.21.0.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 036032eab7cc2104db95698aa72656d391a1024d Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Robert-Andr=C3=A9=20Mauchin?= <zebob.m@gmail.com>
-Date: Thu, 17 Jun 2021 19:01:58 +0200
-Subject: [PATCH] Bump strum and strum_macros to 0.21.0
-
----
- src/lang/mod.rs | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/src/lang/mod.rs b/src/lang/mod.rs
-index 7d2da8e..f32955c 100644
---- a/src/lang/mod.rs
-+++ b/src/lang/mod.rs
-@@ -90,7 +90,7 @@ pub enum Language {
-     #[cfg(feature = "ja")]
-     Japanese,
-     #[doc(hidden)]
--    #[strum(disabled = "true")]
-+    #[strum(disabled)]
-     __NonExhaustive,
- }
- 
--- 
-2.31.1
-

diff --git a/elasticlunr-rs-fix-metadata.diff b/elasticlunr-rs-fix-metadata.diff
index 600527c..a685b88 100644
--- a/elasticlunr-rs-fix-metadata.diff
+++ b/elasticlunr-rs-fix-metadata.diff
@@ -1,40 +1,25 @@
---- elasticlunr-rs-2.3.12/Cargo.toml	1970-01-01T00:00:00+00:00
-+++ elasticlunr-rs-2.3.12/Cargo.toml	2021-06-17T16:35:22.821326+00:00
-@@ -25,15 +25,11 @@
- [lib]
- name = "elasticlunr"
- [dependencies.jieba-rs]
--version = "0.5.0"
-+version = "0.6.0"
- optional = true
+--- elasticlunr-rs-2.3.14/Cargo.toml	1970-01-01T00:00:01+00:00
++++ elasticlunr-rs-2.3.14/Cargo.toml	2021-11-19T11:31:43.490036+00:00
+@@ -29,14 +29,6 @@
  
  [dependencies.lazy_static]
  version = "1"
 -
 -[dependencies.lindera]
--version = "0.3.4"
+-version = "0.8"
+-optional = true
+-
+-[dependencies.lindera-core]
+-version = "0.8"
 -optional = true
  
  [dependencies.regex]
  version = "1"
-@@ -52,10 +48,10 @@
- version = "1"
- 
- [dependencies.strum]
--version = "0.18"
-+version = "0.21"
- 
- [dependencies.strum_macros]
--version = "0.18"
-+version = "0.21"
- [dev-dependencies.maplit]
- version = "1"
- 
-@@ -69,8 +65,7 @@
+@@ -72,8 +64,7 @@
  fi = ["rust-stemmers"]
  fr = ["rust-stemmers"]
  it = ["rust-stemmers"]
--ja = ["lindera"]
+-ja = ["lindera", "lindera-core"]
 -languages = ["da", "no", "de", "du", "es", "fi", "fr", "it", "pt", "ro", "ru", "sv", "tr", "zh", "ja"]
 +languages = ["da", "no", "de", "du", "es", "fi", "fr", "it", "pt", "ro", "ru", "sv", "tr", "zh"]
  nightly = ["bench"]

diff --git a/rust-elasticlunr-rs.spec b/rust-elasticlunr-rs.spec
index bbc0385..b6fc971 100644
--- a/rust-elasticlunr-rs.spec
+++ b/rust-elasticlunr-rs.spec
@@ -1,11 +1,11 @@
-# Generated by rust2rpm 16
+# Generated by rust2rpm 18
 %bcond_without check
 %global debug_package %{nil}
 
 %global crate elasticlunr-rs
 
 Name:           rust-%{crate}
-Version:        2.3.12
+Version:        2.3.14
 Release:        %autorelease
 Summary:        Partial port of elasticlunr.js to Rust
 
@@ -14,13 +14,8 @@ License:        MIT or ASL 2.0
 URL:            https://crates.io/crates/elasticlunr-rs
 Source:         %{crates_source}
 # Initial patched metadata
-# * disable support for japanese / lindera
-#   (it pulls in lots of outdated packages)
-# * bump jieba-rs from 0.5.0 to 0.6.0
-# * Bump strum and strum_macros to 0.21 https://github.com/mattico/elasticlunr-rs/pull/39
+# * disable support for japanese (lindera crates are not packaged yet)
 Patch0:         elasticlunr-rs-fix-metadata.diff
-# Fix to use strum 0.21
-Patch1:         0001-Bump-strum-and-strum_macros-to-0.21.0.patch
 
 ExclusiveArch:  %{rust_arches}
 %if %{__cargo_skip_build}
@@ -46,7 +41,7 @@ which use "%{crate}" crate.
 
 %files          devel
 %license LICENSE-WORDS LICENSE-MIT LICENSE-JS LICENSE-APACHE
-%doc examples README.md
+%doc README.md
 %{cargo_registry}/%{crate}-%{version_no_tilde}/
 
 %package     -n %{name}+default-devel

diff --git a/sources b/sources
index a428d3b..fe46e21 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (elasticlunr-rs-2.3.12.crate) = 1212f952a3cf0aca81c8e952eb8396730dc7ce589a2153727154db8ff8cc8fe5398cb5e06ff0e260344079c80ffbe3608a1eba1f222e4f47e750278234aba49d
+SHA512 (elasticlunr-rs-2.3.14.crate) = 895e765cb8b77f8a104e7c48fcf3ca4260f9e32579fc20308d4de8037d077ceecb2d119b2087170e3950568767d52cdfd6f736df5453ec54f08eeac93773b73b

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-07-07 13:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-07 13:06 [rpms/rust-elasticlunr-rs] epel10: Update to version 2.3.14; Fixes RHBZ#2023575 Fabio Valentini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox