public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rust-elasticlunr-rs] epel10: update to version 2.3.9
Date: Tue, 07 Jul 2026 13:06:00 GMT	[thread overview]
Message-ID: <178342956059.1.9384360448590206689.rpms-rust-elasticlunr-rs-26bff04ecdfc@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/rust-elasticlunr-rs
Branch : epel10
Commit : 26bff04ecdfcf1e54d0cca88310b1d532e77bb68
Author : Fabio Valentini <decathorpe@gmail.com>
Date   : 2020-10-15T20:34:39+02:00
Stats  : +74/-12 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-elasticlunr-rs/c/26bff04ecdfcf1e54d0cca88310b1d532e77bb68?branch=epel10

Log:
update to version 2.3.9

---
diff --git a/.gitignore b/.gitignore
index 72d50b2..097315e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
 /elasticlunr-rs-2.3.4.crate
 /elasticlunr-rs-2.3.5.crate
 /elasticlunr-rs-2.3.6.crate
+/elasticlunr-rs-2.3.9.crate

diff --git a/elasticlunr-rs-fix-metadata.diff b/elasticlunr-rs-fix-metadata.diff
index c754a76..8939a03 100644
--- a/elasticlunr-rs-fix-metadata.diff
+++ b/elasticlunr-rs-fix-metadata.diff
@@ -1,15 +1,46 @@
---- elasticlunr-rs-2.3.6/Cargo.toml	1970-01-01T00:00:00+00:00
-+++ elasticlunr-rs-2.3.6/Cargo.toml	2020-03-04T00:30:56.649882+00:00
-@@ -44,10 +44,10 @@
+--- elasticlunr-rs-2.3.9/Cargo.toml	2020-05-27T03:42:12+00:00
++++ elasticlunr-rs-2.3.9/Cargo.toml	2020-10-15T18:27:27.613250+00:00
+@@ -24,16 +24,13 @@
+ 
+ [lib]
+ name = "elasticlunr"
++
+ [dependencies.jieba-rs]
+-version = "0.5.0"
++version = "0.6.0"
+ optional = true
+ 
+ [dependencies.lazy_static]
  version = "1"
+-
+-[dependencies.lindera]
+-version = "0.3.4"
+-optional = true
  
- [dependencies.strum]
--version = "0.15"
-+version = "0.18"
+ [dependencies.regex]
+ version = "1"
+@@ -56,6 +53,7 @@
  
  [dependencies.strum_macros]
--version = "0.15"
-+version = "0.18"
+ version = "0.18"
++
  [dev-dependencies.maplit]
  version = "1"
  
+@@ -69,8 +67,7 @@
+ fi = ["rust-stemmers"]
+ fr = ["rust-stemmers"]
+ it = ["rust-stemmers"]
+-ja = ["lindera"]
+-languages = ["da", "de", "du", "es", "fi", "fr", "it", "pt", "ro", "ru", "sv", "tr", "zh", "ja"]
++languages = ["da", "de", "du", "es", "fi", "fr", "it", "pt", "ro", "ru", "sv", "tr", "zh"]
+ nightly = ["bench"]
+ pt = ["rust-stemmers"]
+ ro = ["rust-stemmers"]
+@@ -78,5 +75,6 @@
+ sv = ["rust-stemmers"]
+ tr = ["rust-stemmers"]
+ zh = ["jieba-rs"]
++
+ [badges.travis-ci]
+ repository = "mattico/elasticlunr-rs"

diff --git a/rust-elasticlunr-rs.spec b/rust-elasticlunr-rs.spec
index c84a0cb..b856af7 100644
--- a/rust-elasticlunr-rs.spec
+++ b/rust-elasticlunr-rs.spec
@@ -5,8 +5,8 @@
 %global crate elasticlunr-rs
 
 Name:           rust-%{crate}
-Version:        2.3.6
-Release:        6%{?dist}
+Version:        2.3.9
+Release:        1%{?dist}
 Summary:        Partial port of elasticlunr.js to Rust
 
 # Upstream license specification: MIT/Apache-2.0
@@ -14,7 +14,9 @@ License:        MIT or ASL 2.0
 URL:            https://crates.io/crates/elasticlunr-rs
 Source:         %{crates_source}
 # Initial patched metadata
-# * Bump strum to 0.18, https://github.com/mattico/elasticlunr-rs/pull/25
+# * disable support for japanese / lindera
+#   (it pulls in lots of outdated packages)
+# * bump jieba-rs from 0.5.0 to 0.6.0
 Patch0:         elasticlunr-rs-fix-metadata.diff
 
 ExclusiveArch:  %{rust_arches}
@@ -151,6 +153,18 @@ which use "it" feature of "%{crate}" crate.
 %files       -n %{name}+it-devel
 %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
 
+%package     -n %{name}+jieba-rs-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+jieba-rs-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "jieba-rs" feature of "%{crate}" crate.
+
+%files       -n %{name}+jieba-rs-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
 %package     -n %{name}+languages-devel
 Summary:        %{summary}
 BuildArch:      noarch
@@ -247,6 +261,18 @@ which use "tr" feature of "%{crate}" crate.
 %files       -n %{name}+tr-devel
 %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
 
+%package     -n %{name}+zh-devel
+Summary:        %{summary}
+BuildArch:      noarch
+
+%description -n %{name}+zh-devel %{_description}
+
+This package contains library source intended for building other packages
+which use "zh" feature of "%{crate}" crate.
+
+%files       -n %{name}+zh-devel
+%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+
 %prep
 %autosetup -n %{crate}-%{version_no_tilde} -p1
 %cargo_prep
@@ -266,6 +292,10 @@ which use "tr" feature of "%{crate}" crate.
 %endif
 
 %changelog
+* Sun Sep 20 2020 Fabio Valentini <decathorpe@gmail.com> - 2.3.9-1
+- Update to version 2.3.9.
+- Disable support for japanese / lindera.
+
 * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.6-6
 - Second attempt - Rebuilt for
   https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

diff --git a/sources b/sources
index 84be75a..4555171 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (elasticlunr-rs-2.3.6.crate) = 63349de11a3b485ca9cf4961a951f286dc22842aa98229510eecb3e9e2fc5fe8deb03199eeabebb28e3adb24625ca78f4deead72af0696053c3a463228487731
+SHA512 (elasticlunr-rs-2.3.9.crate) = da60a9badb6539aeedf91841f9d403aa91c00df769c97dbc14996371958b7f6a4e6a742d971b744589bbe622f6f22deb7aa439cef7913fdc39a9986307cfd126

                 reply	other threads:[~2026-07-07 13:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178342956059.1.9384360448590206689.rpms-rust-elasticlunr-rs-26bff04ecdfc@fedoraproject.org \
    --to=decathorpe@gmail.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox