public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/ruby-mecab] rawhide: Use 0.996.15 fork tarball to support ruby4.1
@ 2026-11-16 13:18 Mamoru TASAKA
  0 siblings, 0 replies; only message in thread
From: Mamoru TASAKA @ 2026-11-16 13:18 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/ruby-mecab
Branch : rawhide
Commit : ce5c46a486d518c429e692e39425f05d17db4e47
Author : Mamoru TASAKA <mtasaka@fedoraproject.org>
Date   : 2026-11-16T22:16:07+09:00
Stats  : +14/-14 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/ruby-mecab/c/ce5c46a486d518c429e692e39425f05d17db4e47?branch=rawhide

Log:
Use 0.996.15 fork tarball to support ruby4.1

---
diff --git a/.gitignore b/.gitignore
index 764f2e2..b44d804 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1 @@
-mecab-ruby-0.98.tar.gz
-/mecab-ruby-0.99.tar.gz
-/mecab-ruby-0.991.tar.gz
-/mecab-ruby-0.993.tar.gz
-/mecab-ruby-0.994.tar.gz
-/mecab-ruby-0.995.tar.gz
-/mecab-ruby-0.996.tar.gz
+/mecab-ruby-*.tar.gz

diff --git a/ruby-mecab.spec b/ruby-mecab.spec
index 3527109..00d4863 100644
--- a/ruby-mecab.spec
+++ b/ruby-mecab.spec
@@ -1,11 +1,13 @@
 %define		mainver		0.996
+%define		minorver		15
+%define		minodot		.%{minorver}
 #%%define		betaver		pre3
-%define		baserelease	16
+%define		baserelease	1
 %define		srcname		mecab-ruby
 
 
 Name:		ruby-mecab
-Version:	%{mainver}
+Version:	%{mainver}%{?minorver:^%minorver}
 Release:	%{?betaver:0.}%{baserelease}%{?betaver:.%betaver}%{?dist}
 Summary:	Ruby binding for MeCab
 
@@ -13,19 +15,20 @@ Summary:	Ruby binding for MeCab
 # SPDX confirmed
 License:	BSD-3-Clause OR LGPL-2.1-or-later OR GPL-2.0-or-later
 URL:		http://mecab.sourceforge.net/
-Source0:	http://mecab.googlecode.com/files/%{srcname}-%{mainver}%{?betaver}.tar.gz
+%dnl	Source0:	http://mecab.googlecode.com/files/%{srcname}-%{mainver}%{?minordot}%{?betaver}.tar.gz
+Source0:	https://github.com/shogo82148/mecab/releases/download/v%{mainver}%{?minordot}/%{srcname}-%{mainver}%{?minordot}%{?betaver}.tar.gz
 
 BuildRequires:	make
 BuildRequires:	gcc-c++
 # This is not release number specific
-BuildRequires:	mecab-devel = %{version}
+BuildRequires:	mecab-devel >= %{mainver}
 # ruby-devel requires ruby-libs and not require ruby
 BuildRequires:	ruby
 BuildRequires:	ruby-devel
 # %%check
 BuildRequires:	mecab-jumandic
 
-Requires:	mecab = %{version}
+Requires:	mecab >= %{mainver}
 Requires:	ruby
 
 Provides:	ruby(mecab) = %{version}-%{release}
@@ -34,7 +37,7 @@ Provides:	ruby(mecab) = %{version}-%{release}
 %{summary}.
 
 %prep
-%setup -q -n %{srcname}-%{version}%{?betaver}
+%setup -q -n %{srcname}-%{mainver}%{?minordot}%{?betaver}
 
 %build
 ruby extconf.rb
@@ -62,6 +65,9 @@ ruby -I. test.rb
 %{ruby_vendorarchdir}/*MeCab*
 
 %changelog
+* Mon Nov 16 2026 Mamoru TASAKA <mtasaka@fedoraproject.org> - 0.996^15-1
+- Use 0.996.15 fork tarball to support ruby4.1
+
 * Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.996-16
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
 

diff --git a/sources b/sources
index dc923e3..496c431 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-d72937048a8aeb3ae8da69139a959210  mecab-ruby-0.996.tar.gz
+SHA512 (mecab-ruby-0.996.15.tar.gz) = 9c3bdd026dd98785481a598512456e6c32a7888ee6148e7e8a97f356bbc5175b152be6a106f728f2e7cee82744cae4d59a5538825789b27384605a77ba360c06

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

only message in thread, other threads:[~2026-11-16 13:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-16 13:18 [rpms/ruby-mecab] rawhide: Use 0.996.15 fork tarball to support ruby4.1 Mamoru TASAKA

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