public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-elasticlunr-rs] epel10: Update to 2.3.12
@ 2026-07-07 13:06 
  0 siblings, 0 replies; only message in thread
From:  @ 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 : 470655647a1e70971c825b5dd802ebb655a16e0f
            Author : Robert-André Mauchin <zebob.m@gmail.com>
            Date   : 2021-06-17T19:38:33+02:00
            Stats  : +53/-6 in 5 file(s)
            URL    : https://src.fedoraproject.org/rpms/rust-elasticlunr-rs/c/470655647a1e70971c825b5dd802ebb655a16e0f?branch=epel10

            Log:
            Update to 2.3.12
Close: rhbz#1965384
Bump strum and strum_macros to 0.21

---
diff --git a/.gitignore b/.gitignore
index 28e7993..bfcf8d9 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /elasticlunr-rs-2.3.9.crate
 /elasticlunr-rs-2.3.10.crate
 /elasticlunr-rs-2.3.11.crate
+/elasticlunr-rs-2.3.12.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
new file mode 100644
index 0000000..c82e449
--- /dev/null
+++ b/0001-Bump-strum-and-strum_macros-to-0.21.0.patch
@@ -0,0 +1,25 @@
+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 bbc6900..600527c 100644
--- a/elasticlunr-rs-fix-metadata.diff
+++ b/elasticlunr-rs-fix-metadata.diff
@@ -1,5 +1,5 @@
---- elasticlunr-rs-2.3.11/Cargo.toml	1970-01-01T00:00:00+00:00
-+++ elasticlunr-rs-2.3.11/Cargo.toml	2021-03-25T14:14:11.478291+00:00
+--- 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"
@@ -17,6 +17,19 @@
  
  [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 @@
  fi = ["rust-stemmers"]
  fr = ["rust-stemmers"]

diff --git a/rust-elasticlunr-rs.spec b/rust-elasticlunr-rs.spec
index 8805ab1..9d2bcbf 100644
--- a/rust-elasticlunr-rs.spec
+++ b/rust-elasticlunr-rs.spec
@@ -5,7 +5,7 @@
 %global crate elasticlunr-rs
 
 Name:           rust-%{crate}
-Version:        2.3.11
+Version:        2.3.12
 Release:        1%{?dist}
 Summary:        Partial port of elasticlunr.js to Rust
 
@@ -17,7 +17,10 @@ Source:         %{crates_source}
 # * 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
 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}
@@ -42,8 +45,8 @@ This package contains library source intended for building other packages
 which use "%{crate}" crate.
 
 %files          devel
-%license LICENSE-MIT LICENSE-APACHE LICENSE-JS LICENSE-WORDS
-%doc README.md
+%license LICENSE-WORDS LICENSE-MIT LICENSE-JS LICENSE-APACHE
+%doc examples README.md
 %{cargo_registry}/%{crate}-%{version_no_tilde}/
 
 %package     -n %{name}+default-devel
@@ -305,6 +308,11 @@ which use "zh" feature of "%{crate}" crate.
 %endif
 
 %changelog
+* Thu Jun 17 2021 Robert-André Mauchin <zebob.m@gmail.com> - 2.3.12-1
+- Update to 2.3.12
+- Close: rhbz#1965384
+- Bump strum and strum_macros to 0.21
+
 * Thu Mar 25 2021 Fabio Valentini <decathorpe@gmail.com> - 2.3.11-1
 - Update to version 2.3.11.
 - Fixes RHBZ#1942082

diff --git a/sources b/sources
index 0f77a7a..a428d3b 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (elasticlunr-rs-2.3.11.crate) = 5179f247621e63cff039ff9f68de68659eb5a9e53d3815edea102973e0cce8e936183d843aeadb72fc069c2959d7fdfe7f5acfc6aad53858208dce68a715eabc
+SHA512 (elasticlunr-rs-2.3.12.crate) = 1212f952a3cf0aca81c8e952eb8396730dc7ce589a2153727154db8ff8cc8fe5398cb5e06ff0e260344079c80ffbe3608a1eba1f222e4f47e750278234aba49d

^ 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 2.3.12 

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