public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/sentencepiece] rawhide: Update to 0.2.1
@ 2026-05-31 9:24 Peter Robinson
0 siblings, 0 replies; only message in thread
From: Peter Robinson @ 2026-05-31 9:24 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/sentencepiece
Branch : rawhide
Commit : 752bec4ca199809293b44f1f63045353185bf77c
Author : Peter Robinson <pbrobinson@gmail.com>
Date : 2026-05-19T22:07:41+01:00
Stats : +7/-10 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/sentencepiece/c/752bec4ca199809293b44f1f63045353185bf77c?branch=rawhide
Log:
Update to 0.2.1
- Fixes CVE-2026-1260 (rhbz#2432139 rhbz#2432139)
- Minor package updates for new rev
---
diff --git a/.gitignore b/.gitignore
index b36ef6b..0d76080 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
/sentencepiece-0.1.92-Source.tar.xz
/sentencepiece-0.1.99.tar.gz
/sentencepiece-0.2.0.tar.gz
+/sentencepiece-0.2.1.tar.gz
diff --git a/sentencepiece.spec b/sentencepiece.spec
index 85fde82..7d68fd7 100644
--- a/sentencepiece.spec
+++ b/sentencepiece.spec
@@ -1,5 +1,5 @@
Name: sentencepiece
-Version: 0.2.0
+Version: 0.2.1
Release: %autorelease
Summary: An unsupervised text tokenizer for Neural Network-based text generation
@@ -66,16 +66,12 @@ This package contains Python3 module file for SentencePiece.
# Need some help finding the src dir now
sed -i -e "s@'std=c++17',@'std=c++17','-I../src',@" python/setup.py
-# gcc 15 include cstdint
-sed -i '/#include <utility>.*/a#include <cstdint>' src/sentencepiece_processor.h
-
-# cmake version
-sed -i -e 's@cmake_minimum_required(VERSION 3.1 FATAL_ERROR)@cmake_minimum_required(VERSION 3.5 FATAL_ERROR)@' CMakeLists.txt
-
%build
%cmake \
-GNinja \
-DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_LIBDIR=%{_libdir} \
+ %{nil}
%cmake_build
@@ -93,7 +89,7 @@ pushd python
popd
-rm %{buildroot}%{_libdir}/libsentencepiece*.a
+find %{buildroot} -name '*.a' -delete
%files libs
%doc README.md
@@ -102,7 +98,7 @@ rm %{buildroot}%{_libdir}/libsentencepiece*.a
%files devel
%{_includedir}/sentencepiece*.h
-%{_libdir}/*.so
+%{_libdir}/libsentencepiece*.so
%{_libdir}/pkgconfig/sentencepiece*.pc
%files tools
diff --git a/sources b/sources
index b43c0d7..59db35d 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (sentencepiece-0.2.0.tar.gz) = b4214f5bfbe2a0757794c792e87e7c53fda7e65b2511b37fc757f280bf9287ba59b5d630801e17de6058f8292a3c6433211917324cb3446a212a51735402e614
+SHA512 (sentencepiece-0.2.1.tar.gz) = 012850b63b2323e16acc5dacc0a494ad3f6375425ee86274f0946032e47c088a3b307758b99d752fcf54acf76c82d7d13d0c14bbf07aa9b612c4f1fbd30cf1cf
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-05-31 9:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-05-31 9:24 [rpms/sentencepiece] rawhide: Update to 0.2.1 Peter Robinson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox