From 0d78eecaa6988481b9b100f2799d9bf5950f0b37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 19 Jun 2018 10:46:49 +0200 Subject: [PATCH 01/49] Rebuilt for Python 3.7 --- libvoikko.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libvoikko.spec b/libvoikko.spec index 4065d64..603a4c2 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -4,7 +4,7 @@ Name: libvoikko Version: 3.8 -Release: 9%{?dist} +Release: 10%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators Group: System Environment/Libraries @@ -123,6 +123,9 @@ install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python_sitelib}/ %endif %changelog +* Tue Jun 19 2018 Miro Hrončok - 3.8-10 +- Rebuilt for Python 3.7 + * Wed May 23 2018 Mike FABIAN - 3.8-9 - Add python3-devel to BuildRequires. - Resolves: rhbz#1580782 From 402cd5fdea455f10e5f5d07d4454547b4232dab6 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 10 Jul 2018 16:18:59 +0200 Subject: [PATCH 02/49] add BuildRequires: gcc-c++ Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot --- libvoikko.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/libvoikko.spec b/libvoikko.spec index 603a4c2..53ec335 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -15,6 +15,7 @@ Source0: http://www.puimula.org/voikko-sources/%{name}/%{name}-%{version} # The usual format of test release URLs #Source0: http://www.puimula.org/htp/testing/%%{name}-%%{version}rc1.tar.gz +BuildRequires: gcc-c++ BuildRequires: python3-devel %if 0%{?with_python2} BuildRequires: python2-devel From f441e88a6d96fefefe7839de8be158b6b82b42e8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 13 Jul 2018 09:02:41 +0000 Subject: [PATCH 03/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libvoikko.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libvoikko.spec b/libvoikko.spec index 53ec335..81601ff 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -4,7 +4,7 @@ Name: libvoikko Version: 3.8 -Release: 10%{?dist} +Release: 11%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators Group: System Environment/Libraries @@ -124,6 +124,9 @@ install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python_sitelib}/ %endif %changelog +* Fri Jul 13 2018 Fedora Release Engineering - 3.8-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Tue Jun 19 2018 Miro Hrončok - 3.8-10 - Rebuilt for Python 3.7 From aeb554e108a7f1243adbafaddb3f8f79cef39fae Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sun, 29 Jul 2018 23:11:11 +0200 Subject: [PATCH 04/49] =?UTF-8?q?%{python=5Fsitelib}=20=E2=86=92=20%{pytho?= =?UTF-8?q?n2=5Fsitelib}?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Igor Gnatenko --- libvoikko.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvoikko.spec b/libvoikko.spec index 81601ff..7a6a6ab 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -120,7 +120,7 @@ install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python_sitelib}/ %if 0%{?with_python2} %files -n python2-libvoikko -%{python_sitelib}/%{name}.py* +%{python2_sitelib}/%{name}.py* %endif %changelog From 3c88a5662890c96e4672578f86feb15315bb4339 Mon Sep 17 00:00:00 2001 From: Ville-Pekka Vainio Date: Fri, 3 Aug 2018 22:07:15 +0300 Subject: [PATCH 05/49] New upstream release. Provide only python3-libvoikko, remove python2-libvoikko Use malaga for now, foma is not packaged for Fedora yet. --- .gitignore | 1 + libvoikko.spec | 43 ++++++++++++++++++------------------------- sources | 2 +- 3 files changed, 20 insertions(+), 26 deletions(-) diff --git a/.gitignore b/.gitignore index d141f28..8248f63 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,4 @@ libvoikko-3.0.tar.gz /libvoikko-3.7.tar.gz /libvoikko-3.7.1.tar.gz /libvoikko-3.8.tar.gz +/libvoikko-4.1.1.tar.gz diff --git a/libvoikko.spec b/libvoikko.spec index 7a6a6ab..3e511c7 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -1,10 +1,6 @@ -%if 0%{?fedora} -%global with_python2 1 -%endif - Name: libvoikko -Version: 3.8 -Release: 11%{?dist} +Version: 4.1.1 +Release: 1%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators Group: System Environment/Libraries @@ -17,9 +13,6 @@ Source0: http://www.puimula.org/voikko-sources/%{name}/%{name}-%{version} BuildRequires: gcc-c++ BuildRequires: python3-devel -%if 0%{?with_python2} -BuildRequires: python2-devel -%endif # Require the Finnish morphology because Finnish is currently the only language # supported by libvoikko in Fedora. Requires: malaga-suomi-voikko @@ -56,20 +49,17 @@ This package contains voikkospell and voikkohyphenate, small command line tools for testing libvoikko. These tools may also be useful for shell scripts. -%if 0%{?with_python2} -%package -n python2-libvoikko +%package -n python3-libvoikko Summary: Python interface to %{name} Group: Development/Libraries Requires: %{name} = %{version}-%{release} -# Note: noarch subpackage, only works in Fedora >= 11 BuildArch: noarch -%{?python_provide:%python_provide python2-libvoikko} +%{?python_provide:%python_provide python3-libvoikko} -%description -n python2-libvoikko +%description -n python3-libvoikko Python interface to libvoikko, library of Finnish language tools. This module can be used to perform various natural language analysis tasks on Finnish text. -%endif %prep %setup -q @@ -77,12 +67,13 @@ tasks on Finnish text. %build # The dictionary path must be the same where malaga-suomi-voikko is installed -%configure --with-dictionary-path=%{_libdir}/voikko +# Use malaga for now, no hfst or vfst. We need to package foma for the vfst dictionaries. +%configure --with-dictionary-path=%{_libdir}/voikko --disable-hfst --disable-vfst --disable-buildtools --enable-malaga # Remove rpath, # https://fedoraproject.org/wiki/Packaging/Guidelines#Removing_Rpath sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool -make %{?_smp_mflags} CXXFLAGS="$CXXFLAGS -Wno-deprecated" +make %{?_smp_mflags} CXXFLAGS="$CXXFLAGS" %install @@ -90,11 +81,9 @@ make install INSTALL="install -p" DESTDIR=$RPM_BUILD_ROOT find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' # Remove static archive find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';' -%if 0%{?with_python2} # Install the Python interface -install -d $RPM_BUILD_ROOT%{python_sitelib} -install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python_sitelib}/ -%endif +install -d $RPM_BUILD_ROOT%{python3_sitelib} +install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python3_sitelib}/ %post -p /sbin/ldconfig @@ -118,12 +107,16 @@ install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python_sitelib}/ %{_libdir}/*.so %{_libdir}/pkgconfig/libvoikko.pc -%if 0%{?with_python2} -%files -n python2-libvoikko -%{python2_sitelib}/%{name}.py* -%endif +%files -n python3-libvoikko +%{python3_sitelib}/%{name}.py* +%{python3_sitelib}/__pycache__/* %changelog +* Fri Aug 3 2018 Ville-Pekka Vainio - 4.1.1-1 +- New upstream release. +- Provide only python3-libvoikko, remove python2-libvoikko +- Use malaga for now, foma is not packaged for Fedora yet. + * Fri Jul 13 2018 Fedora Release Engineering - 3.8-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild diff --git a/sources b/sources index db5500a..c201a8f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -5c6bbaf9e9a6ebc9e6e538ed3d62f0b0 libvoikko-3.8.tar.gz +SHA512 (libvoikko-4.1.1.tar.gz) = eb8e32dc50e2baa4184a2030537c6fe86054053a75b543d38c7bbc0faf1fbea51020ccfd03d5de94b1d78a811a58eabefc7e87c3eae55f7b7b51409bd1dd8665 From 78b688dc60e8d6588ae1fb0ff4dd698407fad8fc Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Tue, 22 Jan 2019 18:40:15 +0100 Subject: [PATCH 06/49] Remove obsolete ldconfig scriptlets References: https://fedoraproject.org/wiki/Changes/RemoveObsoleteScriptlets Signed-off-by: Igor Gnatenko --- libvoikko.spec | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libvoikko.spec b/libvoikko.spec index 3e511c7..d69ebf7 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -85,9 +85,7 @@ find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';' install -d $RPM_BUILD_ROOT%{python3_sitelib} install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python3_sitelib}/ -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files From 50b636b8e7d103b5eb0d0821d491ce02743ae3c2 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:17:52 +0100 Subject: [PATCH 07/49] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- libvoikko.spec | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libvoikko.spec b/libvoikko.spec index d69ebf7..ba93b5b 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -3,7 +3,6 @@ Version: 4.1.1 Release: 1%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators -Group: System Environment/Libraries License: GPLv2+ URL: http://voikko.puimula.org # The usual format of stable release URLs @@ -31,7 +30,6 @@ Hunspell. %package devel Summary: Development files for %{name} -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: pkgconfig @@ -41,7 +39,6 @@ developing applications that use %{name}. %package -n voikko-tools Summary: Test tools for %{name} -Group: Applications/Text Requires: %{name}%{?_isa} = %{version}-%{release} %description -n voikko-tools @@ -51,7 +48,6 @@ scripts. %package -n python3-libvoikko Summary: Python interface to %{name} -Group: Development/Libraries Requires: %{name} = %{version}-%{release} BuildArch: noarch %{?python_provide:%python_provide python3-libvoikko} From fce7e14cec2e8748d72bf37fd4e46b8e050282e8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 1 Feb 2019 08:32:12 +0000 Subject: [PATCH 08/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libvoikko.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libvoikko.spec b/libvoikko.spec index ba93b5b..191c574 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -1,6 +1,6 @@ Name: libvoikko Version: 4.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators License: GPLv2+ @@ -106,6 +106,9 @@ install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python3_sitelib}/ %{python3_sitelib}/__pycache__/* %changelog +* Fri Feb 01 2019 Fedora Release Engineering - 4.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Fri Aug 3 2018 Ville-Pekka Vainio - 4.1.1-1 - New upstream release. - Provide only python3-libvoikko, remove python2-libvoikko From dbacaeb1a1763e4129c2e3d7c55500844ff9a059 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jul 2019 14:42:38 +0000 Subject: [PATCH 09/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libvoikko.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libvoikko.spec b/libvoikko.spec index 191c574..c557b40 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -1,6 +1,6 @@ Name: libvoikko Version: 4.1.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators License: GPLv2+ @@ -106,6 +106,9 @@ install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python3_sitelib}/ %{python3_sitelib}/__pycache__/* %changelog +* Thu Jul 25 2019 Fedora Release Engineering - 4.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Fri Feb 01 2019 Fedora Release Engineering - 4.1.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 5eb93f1f249d4f7786aece8f72b3d695f38da354 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Mon, 19 Aug 2019 10:18:58 +0200 Subject: [PATCH 10/49] Rebuilt for Python 3.8 --- libvoikko.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libvoikko.spec b/libvoikko.spec index c557b40..4c9ff61 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -1,6 +1,6 @@ Name: libvoikko Version: 4.1.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators License: GPLv2+ @@ -106,6 +106,9 @@ install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python3_sitelib}/ %{python3_sitelib}/__pycache__/* %changelog +* Mon Aug 19 2019 Miro Hrončok - 4.1.1-4 +- Rebuilt for Python 3.8 + * Thu Jul 25 2019 Fedora Release Engineering - 4.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 20648d9431a5834abd4547103bb6f2ed90147425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 3 Oct 2019 13:56:17 +0200 Subject: [PATCH 11/49] Rebuilt for Python 3.8.0rc1 (#1748018) --- libvoikko.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libvoikko.spec b/libvoikko.spec index 4c9ff61..43846a4 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -1,6 +1,6 @@ Name: libvoikko Version: 4.1.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators License: GPLv2+ @@ -106,6 +106,9 @@ install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python3_sitelib}/ %{python3_sitelib}/__pycache__/* %changelog +* Thu Oct 03 2019 Miro Hrončok - 4.1.1-5 +- Rebuilt for Python 3.8.0rc1 (#1748018) + * Mon Aug 19 2019 Miro Hrončok - 4.1.1-4 - Rebuilt for Python 3.8 From dd5fc6ff2d45450c0d5ff3dba40f9c07da1853b4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jan 2020 10:45:33 +0000 Subject: [PATCH 12/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libvoikko.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libvoikko.spec b/libvoikko.spec index 43846a4..2e67bee 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -1,6 +1,6 @@ Name: libvoikko Version: 4.1.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators License: GPLv2+ @@ -106,6 +106,9 @@ install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python3_sitelib}/ %{python3_sitelib}/__pycache__/* %changelog +* Wed Jan 29 2020 Fedora Release Engineering - 4.1.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Thu Oct 03 2019 Miro Hrončok - 4.1.1-5 - Rebuilt for Python 3.8.0rc1 (#1748018) From 5bb75b9537a29f21c0a391370f6503480ccddadd Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 15 Apr 2020 16:57:32 +0200 Subject: [PATCH 13/49] Fix man file names for Flatpak builds ...to avoid failures like > error: File not found: /builddir/build/BUILDROOT/libvoikko-4.1.1-3.module_f31+8642+447c158d.x86_64/app/share/man/man1/voikkohyphenate.1.gz > error: File not found: /builddir/build/BUILDROOT/libvoikko-4.1.1-3.module_f31+8642+447c158d.x86_64/app/share/man/man1/voikkospell.1.gz > error: File not found: /builddir/build/BUILDROOT/libvoikko-4.1.1-3.module_f31+8642+447c158d.x86_64/app/share/man/man1/voikkogc.1.gz () while building the LibreOffice flatpak. states: "The recommendation in the Fedora packaging guidelines is to have: %{_mandir}/man1/.1* which is more robust against future changes to the RPM scripts to use different compression." --- libvoikko.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libvoikko.spec b/libvoikko.spec index 2e67bee..f5d1262 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -92,9 +92,9 @@ install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python3_sitelib}/ %{_bindir}/voikkospell %{_bindir}/voikkohyphenate %{_bindir}/voikkogc -%{_mandir}/man1/voikkohyphenate.1.gz -%{_mandir}/man1/voikkospell.1.gz -%{_mandir}/man1/voikkogc.1.gz +%{_mandir}/man1/voikkohyphenate.1* +%{_mandir}/man1/voikkospell.1* +%{_mandir}/man1/voikkogc.1* %files devel %{_includedir}/* From e1b9941462b82f208b814fc2f6e7f369bcda11a0 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 4 May 2020 11:32:22 +0200 Subject: [PATCH 14/49] Exclude __pycache__ files from flatpak build This caused the LibreOffice flatpak build to fail, so follow the common workaround of just excluding for now any __pycache__ files from flatpak builds, where they are apparently not generated. --- libvoikko.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libvoikko.spec b/libvoikko.spec index f5d1262..5322646 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -103,7 +103,9 @@ install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python3_sitelib}/ %files -n python3-libvoikko %{python3_sitelib}/%{name}.py* +%if ! 0%{?flatpak} %{python3_sitelib}/__pycache__/* +%endif %changelog * Wed Jan 29 2020 Fedora Release Engineering - 4.1.1-6 From 2507174f08efce5b2871400b024a8a4704aaecf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Tue, 26 May 2020 02:51:46 +0200 Subject: [PATCH 15/49] Rebuilt for Python 3.9 --- libvoikko.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libvoikko.spec b/libvoikko.spec index 5322646..979e70c 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -1,6 +1,6 @@ Name: libvoikko Version: 4.1.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators License: GPLv2+ @@ -108,6 +108,9 @@ install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python3_sitelib}/ %endif %changelog +* Tue May 26 2020 Miro Hrončok - 4.1.1-7 +- Rebuilt for Python 3.9 + * Wed Jan 29 2020 Fedora Release Engineering - 4.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 475c3e3900415306a96235a729c786060d81ca80 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jul 2020 05:53:32 +0000 Subject: [PATCH 16/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libvoikko.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libvoikko.spec b/libvoikko.spec index 979e70c..8b2772c 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -1,6 +1,6 @@ Name: libvoikko Version: 4.1.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators License: GPLv2+ @@ -108,6 +108,9 @@ install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python3_sitelib}/ %endif %changelog +* Tue Jul 28 2020 Fedora Release Engineering - 4.1.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue May 26 2020 Miro Hrončok - 4.1.1-7 - Rebuilt for Python 3.9 From d6d6f7ee8409e543d93a3286f5ebadaef80b9193 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 5 Jan 2021 03:03:49 +0000 Subject: [PATCH 17/49] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- libvoikko.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/libvoikko.spec b/libvoikko.spec index 8b2772c..592c27f 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -12,6 +12,7 @@ Source0: http://www.puimula.org/voikko-sources/%{name}/%{name}-%{version} BuildRequires: gcc-c++ BuildRequires: python3-devel +BuildRequires: make # Require the Finnish morphology because Finnish is currently the only language # supported by libvoikko in Fedora. Requires: malaga-suomi-voikko From 3930e705ee385fb59375f23770fe0e3c39953897 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 18:18:30 +0000 Subject: [PATCH 18/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libvoikko.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libvoikko.spec b/libvoikko.spec index 592c27f..bf05243 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -1,6 +1,6 @@ Name: libvoikko Version: 4.1.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators License: GPLv2+ @@ -109,6 +109,9 @@ install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python3_sitelib}/ %endif %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 4.1.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Tue Jul 28 2020 Fedora Release Engineering - 4.1.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From b550d2b8351a19cce480f742f9dc210ce9aae023 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Thu, 7 Jan 2021 08:19:41 +0100 Subject: [PATCH 19/49] Revert "Exclude __pycache__ files from flatpak build" This reverts commit e1b9941462b82f208b814fc2f6e7f369bcda11a0, the underlying issue is reportedly fixed for f33 and those files are now generated by a Flatpak build after all: > Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libvoikko-4.1.1-8.module+f33+2+22783585.x86_64 > error: Installed (but unpackaged) file(s) found: > /app/lib/python3.9/site-packages/__pycache__/libvoikko.cpython-39.opt-1.pyc > /app/lib/python3.9/site-packages/__pycache__/libvoikko.cpython-39.pyc > Installed (but unpackaged) file(s) found: > /app/lib/python3.9/site-packages/__pycache__/libvoikko.cpython-39.opt-1.pyc > /app/lib/python3.9/site-packages/__pycache__/libvoikko.cpython-39.pyc --- libvoikko.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/libvoikko.spec b/libvoikko.spec index bf05243..984aded 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -104,9 +104,7 @@ install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python3_sitelib}/ %files -n python3-libvoikko %{python3_sitelib}/%{name}.py* -%if ! 0%{?flatpak} %{python3_sitelib}/__pycache__/* -%endif %changelog * Tue Jan 26 2021 Fedora Release Engineering - 4.1.1-9 From 374ff8b09fd2ff289e7777ab22dcd21bce4ee1f5 Mon Sep 17 00:00:00 2001 From: Ville-Pekka Vainio Date: Thu, 28 Jan 2021 17:30:27 +0200 Subject: [PATCH 20/49] Update to 4.3 - Add GPG signature check for the source - Fix pycached stuff - Remove old python_provide macro - Remove ldconfig_scriptlets macro - Only use VFST for now, HFST can be provided in a later update --- libvoikko.spec | 59 ++++++++++++++++++++++++++++++++------------------ 1 file changed, 38 insertions(+), 21 deletions(-) diff --git a/libvoikko.spec b/libvoikko.spec index 984aded..a5d9cf5 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -1,21 +1,29 @@ +%global _hardened_build 1 + Name: libvoikko -Version: 4.1.1 -Release: 9%{?dist} +Version: 4.3 +Release: 2%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators License: GPLv2+ -URL: http://voikko.puimula.org +URL: https://voikko.puimula.org # The usual format of stable release URLs -Source0: http://www.puimula.org/voikko-sources/%{name}/%{name}-%{version}.tar.gz +Source0: https://www.puimula.org/voikko-sources/%{name}/%{name}-%{version}.tar.gz # The usual format of test release URLs -#Source0: http://www.puimula.org/htp/testing/%%{name}-%%{version}rc1.tar.gz +#Source0: https://www.puimula.org/htp/testing/%%{name}-%%{version}rc1.tar.gz + +# See https://voikko.puimula.org/sources.html for the key fingerprint. +# I did +# gpg --recv-keys "AC5D 65F1 0C85 96D7 E2DA E263 3D30 9B60 4AE3 942E" +# and then +# gpg2 --export --export-options export-minimal AC5D65F10C8596D7E2DAE2633D309B604AE3942E > gpgkey-AC5D65F10C8596D7E2DAE2633D309B604AE3942E.gpg +Source1: http://www.puimula.org/voikko-sources/%{name}/%{name}-%{version}.tar.gz.asc +Source2: gpgkey-AC5D65F10C8596D7E2DAE2633D309B604AE3942E.gpg BuildRequires: gcc-c++ BuildRequires: python3-devel BuildRequires: make -# Require the Finnish morphology because Finnish is currently the only language -# supported by libvoikko in Fedora. -Requires: malaga-suomi-voikko +BuildRequires: gnupg2 %description This is libvoikko, library for spellcheckers and hyphenators using Malaga @@ -51,7 +59,6 @@ scripts. Summary: Python interface to %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch -%{?python_provide:%python_provide python3-libvoikko} %description -n python3-libvoikko Python interface to libvoikko, library of Finnish language tools. @@ -59,18 +66,20 @@ This module can be used to perform various natural language analysis tasks on Finnish text. %prep -%setup -q +%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' + +%autosetup %build -# The dictionary path must be the same where malaga-suomi-voikko is installed -# Use malaga for now, no hfst or vfst. We need to package foma for the vfst dictionaries. -%configure --with-dictionary-path=%{_libdir}/voikko --disable-hfst --disable-vfst --disable-buildtools --enable-malaga +# Use vfst for now, no hfst yet. We need to package hfst-ospell for the hfst dictionaries. +# Use /usr/lib/voikko for the dictionaries, this is where the voikko-fi package will put them. +%configure --disable-hfst --with-dictionary-path=/usr/lib/voikko # Remove rpath, # https://fedoraproject.org/wiki/Packaging/Guidelines#Removing_Rpath sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool -make %{?_smp_mflags} CXXFLAGS="$CXXFLAGS" +%make_build CXXFLAGS="$CXXFLAGS" %install @@ -82,34 +91,42 @@ find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';' install -d $RPM_BUILD_ROOT%{python3_sitelib} install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python3_sitelib}/ -%ldconfig_scriptlets - %files %doc ChangeLog COPYING README -%{_libdir}/*.so.* +%{_libdir}/libvoikko.so.1* %files -n voikko-tools %{_bindir}/voikkospell %{_bindir}/voikkohyphenate %{_bindir}/voikkogc +%{_bindir}/voikkovfstc %{_mandir}/man1/voikkohyphenate.1* %{_mandir}/man1/voikkospell.1* %{_mandir}/man1/voikkogc.1* +%{_mandir}/man1/voikkovfstc.1* %files devel %{_includedir}/* -%{_libdir}/*.so +%{_libdir}/libvoikko.so %{_libdir}/pkgconfig/libvoikko.pc %files -n python3-libvoikko -%{python3_sitelib}/%{name}.py* -%{python3_sitelib}/__pycache__/* +%pycached %{python3_sitelib}/%{name}.py %changelog -* Tue Jan 26 2021 Fedora Release Engineering - 4.1.1-9 +* Sun Jan 24 2021 Ville-Pekka Vainio - 4.3-2 +- Bump release for a new Copr build - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild +* Sat Jan 16 2021 Ville-Pekka Vainio - 4.3-1 +- Update to 4.3 +- Add GPG signature check for the source +- Fix pycached stuff +- Remove old python_provide macro +- Remove ldconfig_scriptlets macro +- Only use VFST for now, HFST can be provided in a later update + * Tue Jul 28 2020 Fedora Release Engineering - 4.1.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From dae3fb1ad511b0dad82b097fb0b76c60a33db682 Mon Sep 17 00:00:00 2001 From: Ville-Pekka Vainio Date: Sun, 31 Jan 2021 21:39:04 +0200 Subject: [PATCH 21/49] Multiple packaging changes - The dictionary data directory will now be /usr/lib/voikko on all architectures - Create and own /usr/lib/voikko, so different dictionary packages can own the subdirectories there - This was suggested in the review of the voikko-fi package, see rhbz#1919688 - Use the license macro --- libvoikko.spec | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/libvoikko.spec b/libvoikko.spec index a5d9cf5..0d682bc 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -2,7 +2,7 @@ Name: libvoikko Version: 4.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators License: GPLv2+ @@ -74,7 +74,9 @@ tasks on Finnish text. %build # Use vfst for now, no hfst yet. We need to package hfst-ospell for the hfst dictionaries. # Use /usr/lib/voikko for the dictionaries, this is where the voikko-fi package will put them. -%configure --disable-hfst --with-dictionary-path=/usr/lib/voikko +# The dictonary path has been agreed on in reviews and fedora-devel discussions. +# This way the voikko-fi package can be noarch. +%configure --disable-hfst --with-dictionary-path=%{_prefix}/lib/voikko # Remove rpath, # https://fedoraproject.org/wiki/Packaging/Guidelines#Removing_Rpath sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool @@ -90,10 +92,14 @@ find $RPM_BUILD_ROOT -name '*.a' -exec rm -f {} ';' # Install the Python interface install -d $RPM_BUILD_ROOT%{python3_sitelib} install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python3_sitelib}/ +# Make the directory for the dictionary data files, so this package can own it. +mkdir -p %{buildroot}%{_prefix}/lib/voikko %files -%doc ChangeLog COPYING README +%doc ChangeLog README +%license COPYING +%dir %{_prefix}/lib/voikko %{_libdir}/libvoikko.so.1* %files -n voikko-tools @@ -115,6 +121,12 @@ install -pm 0644 python/libvoikko.py $RPM_BUILD_ROOT%{python3_sitelib}/ %pycached %{python3_sitelib}/%{name}.py %changelog +* Sun Jan 31 2021 Ville-Pekka Vainio - 4.3-3 +- The dictionary data directory will now be /usr/lib/voikko on all architectures +- Create and own /usr/lib/voikko, so different dictionary packages can own the subdirectories there +- This was suggested in the review of the voikko-fi package, see rhbz#1919688 +- Use the license macro + * Sun Jan 24 2021 Ville-Pekka Vainio - 4.3-2 - Bump release for a new Copr build - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 9dde38d4000ffbf150f1576a5432128989197ecc Mon Sep 17 00:00:00 2001 From: Ville-Pekka Vainio Date: Sat, 6 Feb 2021 18:16:45 +0200 Subject: [PATCH 22/49] New sources for the new release --- .gitignore | 2 ++ ...-AC5D65F10C8596D7E2DAE2633D309B604AE3942E.gpg | Bin 0 -> 3432 bytes sources | 3 ++- 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 gpgkey-AC5D65F10C8596D7E2DAE2633D309B604AE3942E.gpg diff --git a/.gitignore b/.gitignore index 8248f63..56c1935 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,5 @@ libvoikko-3.0.tar.gz /libvoikko-3.7.1.tar.gz /libvoikko-3.8.tar.gz /libvoikko-4.1.1.tar.gz +/libvoikko-4.3.tar.gz +/libvoikko-4.3.tar.gz.asc diff --git a/gpgkey-AC5D65F10C8596D7E2DAE2633D309B604AE3942E.gpg b/gpgkey-AC5D65F10C8596D7E2DAE2633D309B604AE3942E.gpg new file mode 100644 index 0000000000000000000000000000000000000000..90dbb21c5e1fb96270e3fd57d53bd37dad9321cb GIT binary patch literal 3432 zcma*p*JR8U#jncMVWcI3kQjN(o1e&LJQYA|fT-oq~cO4I_qd=omv%bcD2& z)R3+**!`SyU!3#ezPSIx_w#$6JRl8;G3ets07Qf?kuD>AU{U)u|DzWnipn#IhFp*= zWS@-Q8tI`|pJWa@JvvGBer*~Y>v>RS_KG%DNoo4<&A7T~`%MRXFA95O>v1V^zvbnP z@8Am}ep&;ZnwesQ$4p?5-O22bmteYlD7>$v_s?G>UU~2uHPWB4`D7voTeS$BdR+ z3+9cn?wulfMmH+HoS1t{)bbqShk?34?JU8-OZKm9;_aNqZFZ978x0^@GL{_YQ-8Na zeV+;wc{1ac+zuWsgkA=UX<+O*+HW$GhqBJ}fO75m1~j?E^Y_^Y!yD1AKS)->hu#JW z+^IBq8e2G1wX-&Nly|FzCY`7WbTgTLvW+R9khJX8&WRcJmL+w=*ur})|VAA8N7TOz&7DezA;tr}9m#eM=<->CPrwD7eoZ6<3#Fj3OrWwLx)Zd>2 z5?8=kvoldmgDXkr{reuXYUR7 zdj^3&gM(e*%5lIyNEiV?A|W6rF^~rUWDO&wrlcSzCS|6gq@X5c0TKgJWYT|n+3|kd>1lFEP;=@V#)ij@M6pHd~vPdtv~kn{*RYaBVbsfnhIQF|n9t zZ{-Mmyd}xZyW1#v>@HNDq}Y|k1YE+sV`V&HH^C0&lZ(OJ4~(pHcvqn0asH@G?9u*u zhALD_UxWcARtdrv)j{>R=X`#K($~XRUiugsn5?g@szqB?3U61xfj)Im{o!7wv2&Gk z$V8<4BPIkX_&|Skdlg; zYem&wQu*{ZNl)=Pw|5#>EPo#EeK;F`_DOjN94LXgC{t;;Qe=OE zw=-Y)nfuxWK^|!b1C_YmU@h4l< z4#C$UphVKivzD0pUm1;~Q{s2RSp0uEj1TY1xmX)+=R(lU+hq=2*At!J(zw3h_WL*! z7`OB6%Y`SxwK}ajej7t_h^->3K6v6;JT+yul7W($0cz6UDJmEsXD9xWOj<6-q8yt0 zgTh@JVhbaA0qoO*A2no29UNwhk6*?S77@m&_V2%?=LbD)Hq<`KWS-!6XhgLA98pPp z5Zm|7%t3g@QOv(%UvUX3ppAs$l+Ot97HgQF7e`X)-~#9^`IBoM$jr)Fa88Av3gLxS z)(@jkJE-6H;QFEz<^`mLWH#5C*?hxnj>UxVk7anXhKgPFDT9X=+4wHubIsY>d_o#R zMZ&hd0crYu9rwuM72G$w#@S`PSMdCkB&ua$#Nz zDCx~jQzxS z!pS%h#<~jbg60YroUbCODnm@kmurL3j?zLEijBQ`N}j^#f}K%mKPeeHo~zT|=r#$Q zc>5J(+ypb067T2~|H$?SO~4S zJ!rEU_6LV3g`k<}P54i*rXcTcmv7s#ap5|&3EnSb0_T~i)htZI)a5{0{SPUQt#R(` z*yN@fZJB$^wR9r{YNdTVP6S2#_8xyG>VX~VEqDtfCVy)px|{gjaT^-l-q|qMnA_!y@^O@t+ms) zKiRUdKZv2N$-Y@srX!~l1E4eP+c3TY_P9yk%A!$2X2vJxY1A#rP{)H;h! zjEJ#dV)UCM%qaCd;5Uu4d!7K>L<+pA2G{F#P==$esaukBZDih_ROF^D{P?_x(K#i6 z!aWh2t=wqq6o{si6A(UI;-86`dE=>2YMtDESD$yY=?QP4X^POi*5uQ{l0e;8V{ys) zMBh?-O20!^^;VsKjSS{{iZyibw-=MpfM+hfQD8mBw?ZZFwJG!zAIyEU(RLc>Ev*&f zFCrW;Go_1tXH16BDI&N6GLxzqtXWwAqW39&z4+pR-we*8g1_&izRsQ0$-c@Y5ntFd zDC#Wp7T0Qz>Hz#s7^{*E65-dOmqyZRDs__F9on|Fmp)7_iM)pRGIj8<2rlw|=dA3< z^%5X+4=U^>#+Ga5id{>$7TO-nPHUK?MY-t(EmM$q#!Ug~mQT{bpAIE{5xBk6L_z)0L#rw1f@dA!w zd*5UFX07)7S`OIiX$Q_xg*igZ(AdSGC%6GjxHWvj?~a7tm1o|Rz#dA*P)1vI?CAU7 zEE2T%HM%Gn9*A429$bW6xx?a)1%Xv=*jZU@@%vbba8;!HlgNBkUx<&b>U}n_!^P)OWP@YHY$Xm9i+5#Y zwCiOq-u)68W!2FLg^_E;7Fx@rl}KC&X?#+poUuuZvlBet{495!(f%Oo_-!=8GIfP% z$*OF+BDJ$T2r^E;P4VYAlgDc;9XMsDdq(gv2PJ6^xdw`j2G8t28fi&u9SzG`YbjIUA3;Nomn0xa|Y`6MGkmMZ%XCZ)DL^g;xul) ze`4^We^Dr2HL)ATal)q9fkg(HZ{>+?!{g8Wf=_-OwXv1^u(_uI%S2G;)O zqN?PRFPouUv#D`l@*6(uY_i61QfguL%7v628zy78!g*>9bpM?Mv!aZE^El}EE#GZP n9bDr?S;*~KFmnzlfbaPw+N_v?QE(pYvX literal 0 HcmV?d00001 diff --git a/sources b/sources index c201a8f..4323867 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ -SHA512 (libvoikko-4.1.1.tar.gz) = eb8e32dc50e2baa4184a2030537c6fe86054053a75b543d38c7bbc0faf1fbea51020ccfd03d5de94b1d78a811a58eabefc7e87c3eae55f7b7b51409bd1dd8665 +SHA512 (libvoikko-4.3.tar.gz) = 804d55d34deca52f882580ff8699a548d0b62d79eb8e27f8f5783a9e0e57d1ab8986963084df2b5fc7ca9f45546e6e4d66e195a42cfbe0327ca02dc211563988 +SHA512 (libvoikko-4.3.tar.gz.asc) = 3087e098c3d85ba6419e414ec92af380fedebcab2a8a037b7fc55738f00fe042c9d0de7ec18fb6eb12e3afe2c6e0e8a0bdbcfc55747f0e46268a19158a08fb0b From 0b2ca1767689f7c93a39a21b3eaffa119c0e6efe Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Fri, 19 Feb 2021 12:04:42 +0100 Subject: [PATCH 23/49] Add Requires: voikko-fi --- libvoikko.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libvoikko.spec b/libvoikko.spec index 0d682bc..97cac91 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -2,7 +2,7 @@ Name: libvoikko Version: 4.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators License: GPLv2+ @@ -20,6 +20,7 @@ Source0: https://www.puimula.org/voikko-sources/%{name}/%{name}-%{version Source1: http://www.puimula.org/voikko-sources/%{name}/%{name}-%{version}.tar.gz.asc Source2: gpgkey-AC5D65F10C8596D7E2DAE2633D309B604AE3942E.gpg +Requires: voikko-fi BuildRequires: gcc-c++ BuildRequires: python3-devel BuildRequires: make @@ -121,6 +122,9 @@ mkdir -p %{buildroot}%{_prefix}/lib/voikko %pycached %{python3_sitelib}/%{name}.py %changelog +* Fri Feb 19 2021 Mike FABIAN - 4.3-4 +- Add Requires: voikko-fi + * Sun Jan 31 2021 Ville-Pekka Vainio - 4.3-3 - The dictionary data directory will now be /usr/lib/voikko on all architectures - Create and own /usr/lib/voikko, so different dictionary packages can own the subdirectories there From 7ec9bfbcfc9acef6bb181494428ed63d88e75b52 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 4 Jun 2021 20:10:27 +0200 Subject: [PATCH 24/49] Rebuilt for Python 3.10 --- libvoikko.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libvoikko.spec b/libvoikko.spec index 97cac91..f4f7730 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -2,7 +2,7 @@ Name: libvoikko Version: 4.3 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators License: GPLv2+ @@ -122,6 +122,9 @@ mkdir -p %{buildroot}%{_prefix}/lib/voikko %pycached %{python3_sitelib}/%{name}.py %changelog +* Fri Jun 04 2021 Python Maint - 4.3-5 +- Rebuilt for Python 3.10 + * Fri Feb 19 2021 Mike FABIAN - 4.3-4 - Add Requires: voikko-fi From 8b80fe4d44aa87b4dc4fc4df975fa31fe57a512e Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Mon, 5 Jul 2021 18:21:08 +0200 Subject: [PATCH 25/49] Add CI tests --- .fmf/version | 1 + plans/basic.fmf | 5 +++++ tests/main.fmf | 6 +++++ tests/test_libvoikko.py | 49 +++++++++++++++++++++++++++++++++++++++++ 4 files changed, 61 insertions(+) create mode 100644 .fmf/version create mode 100644 plans/basic.fmf create mode 100644 tests/main.fmf create mode 100644 tests/test_libvoikko.py diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/plans/basic.fmf b/plans/basic.fmf new file mode 100644 index 0000000..c1627f9 --- /dev/null +++ b/plans/basic.fmf @@ -0,0 +1,5 @@ +summary: Basic smoke test +discover: + how: fmf +execute: + how: tmt diff --git a/tests/main.fmf b/tests/main.fmf new file mode 100644 index 0000000..9b4094d --- /dev/null +++ b/tests/main.fmf @@ -0,0 +1,6 @@ +require: +- libvoikko +- voikko-tools +- python3-libvoikko +test: python3 test_libvoikko.py -v +framework: shell diff --git a/tests/test_libvoikko.py b/tests/test_libvoikko.py new file mode 100644 index 0000000..1f1a0cc --- /dev/null +++ b/tests/test_libvoikko.py @@ -0,0 +1,49 @@ +import unittest +import sys +import subprocess +import libvoikko + +class TestLibvoikko(unittest.TestCase): + + def test_dummy(self): + self.assertEqual(True, True) + + @unittest.expectedFailure + def test_expected_failure(self): + self.assertEqual(False, True) + + def test_spell(self): + voikko = libvoikko.Voikko('fi') + self.assertEqual(voikko.spell('kissa'), True) + self.assertEqual(voikko.spell('kisssa'), False) + + def test_suggest(self): + voikko = libvoikko.Voikko('fi') + self.assertEqual( + voikko.suggest('kisssa'), + ['kissa', 'kissaa', 'kisassa', 'kisussa', 'Kiassa']) + + def test_voikkospell(self): + cp = subprocess.run(['echo kissa | voikkospell'], encoding='UTF-8', text=True, shell=True, capture_output=True) + self.assertEqual(cp.stdout, 'C: kissa\n') + self.assertEqual(cp.stderr, '') + self.assertEqual(cp.returncode, 0) + cp = subprocess.run(['echo kisssa | voikkospell'], encoding='UTF-8', text=True, shell=True, capture_output=True) + self.assertEqual(cp.stdout, 'W: kisssa\n') + self.assertEqual(cp.stderr, '') + self.assertEqual(cp.returncode, 0) + + def test_voikkohyphenate(self): + cp = subprocess.run(['echo kissa | voikkohyphenate'], encoding='UTF-8', text=True, shell=True, capture_output=True) + self.assertEqual(cp.stdout, 'kis-sa\n') + self.assertEqual(cp.stderr, '') + self.assertEqual(cp.returncode, 0) + + def test_voikkogc_tokenize(self): + cp = subprocess.run(['echo "kissa." | voikkogc --tokenize'], encoding='UTF-8', text=True, shell=True, capture_output=True) + self.assertEqual(cp.stdout, 'W: "kissa"\nP: "."\n') + self.assertEqual(cp.stderr, '') + self.assertEqual(cp.returncode, 0) + +if __name__ == "__main__": + unittest.main() From c475f6195ca494de51237831af1de0296c8158db Mon Sep 17 00:00:00 2001 From: Ville-Pekka Vainio Date: Sun, 11 Jul 2021 19:25:53 +0300 Subject: [PATCH 26/49] Update to 4.3.1 (#1936062) --- .gitignore | 2 ++ libvoikko.spec | 7 +++++-- sources | 4 ++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 56c1935..bbc516d 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,5 @@ libvoikko-3.0.tar.gz /libvoikko-4.1.1.tar.gz /libvoikko-4.3.tar.gz /libvoikko-4.3.tar.gz.asc +/libvoikko-4.3.1.tar.gz +/libvoikko-4.3.1.tar.gz.asc diff --git a/libvoikko.spec b/libvoikko.spec index f4f7730..535fa8d 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -1,8 +1,8 @@ %global _hardened_build 1 Name: libvoikko -Version: 4.3 -Release: 5%{?dist} +Version: 4.3.1 +Release: 1%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators License: GPLv2+ @@ -122,6 +122,9 @@ mkdir -p %{buildroot}%{_prefix}/lib/voikko %pycached %{python3_sitelib}/%{name}.py %changelog +* Sun Jul 11 2021 Fedora Release Monitoring - 4.3.1-1 +- Update to 4.3.1 (#1936062) + * Fri Jun 04 2021 Python Maint - 4.3-5 - Rebuilt for Python 3.10 diff --git a/sources b/sources index 4323867..f49e343 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (libvoikko-4.3.tar.gz) = 804d55d34deca52f882580ff8699a548d0b62d79eb8e27f8f5783a9e0e57d1ab8986963084df2b5fc7ca9f45546e6e4d66e195a42cfbe0327ca02dc211563988 -SHA512 (libvoikko-4.3.tar.gz.asc) = 3087e098c3d85ba6419e414ec92af380fedebcab2a8a037b7fc55738f00fe042c9d0de7ec18fb6eb12e3afe2c6e0e8a0bdbcfc55747f0e46268a19158a08fb0b +SHA512 (libvoikko-4.3.1.tar.gz) = 6677fac7c0cba1289dda23b0c0a4bbe44480ce747189d40634ac57811728c1942a795efd50270e933373fabab9c54e82a8f9fde06d936442820e3f8019574f08 +SHA512 (libvoikko-4.3.1.tar.gz.asc) = 04a5e8899679e1503ec0d378903b8ff17e8065aa105ba61559b584eb4cde2a5a9b622fd39bd0126bb87915c7dcbac8495e874c3cdabf25232b1ae41491275ba0 From f0b48019ceaa9e947cfa42dc42f2c2c74c14a6c6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 22 Jul 2021 12:43:29 +0000 Subject: [PATCH 27/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libvoikko.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libvoikko.spec b/libvoikko.spec index 535fa8d..674c3c9 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -2,7 +2,7 @@ Name: libvoikko Version: 4.3.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators License: GPLv2+ @@ -122,6 +122,9 @@ mkdir -p %{buildroot}%{_prefix}/lib/voikko %pycached %{python3_sitelib}/%{name}.py %changelog +* Thu Jul 22 2021 Fedora Release Engineering - 4.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Sun Jul 11 2021 Fedora Release Monitoring - 4.3.1-1 - Update to 4.3.1 (#1936062) From 47ecb96c9d348ea1a5d99fc12d289992e51497b8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jan 2022 17:36:34 +0000 Subject: [PATCH 28/49] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libvoikko.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libvoikko.spec b/libvoikko.spec index 674c3c9..13ca2ed 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -2,7 +2,7 @@ Name: libvoikko Version: 4.3.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators License: GPLv2+ @@ -122,6 +122,9 @@ mkdir -p %{buildroot}%{_prefix}/lib/voikko %pycached %{python3_sitelib}/%{name}.py %changelog +* Thu Jan 20 2022 Fedora Release Engineering - 4.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Thu Jul 22 2021 Fedora Release Engineering - 4.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From c0b102f78cfebb6ca2b2f20baa6628d127fb0bf3 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 13 Jun 2022 15:09:12 +0200 Subject: [PATCH 29/49] Rebuilt for Python 3.11 --- libvoikko.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libvoikko.spec b/libvoikko.spec index 13ca2ed..392b0fa 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -2,7 +2,7 @@ Name: libvoikko Version: 4.3.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators License: GPLv2+ @@ -122,6 +122,9 @@ mkdir -p %{buildroot}%{_prefix}/lib/voikko %pycached %{python3_sitelib}/%{name}.py %changelog +* Mon Jun 13 2022 Python Maint - 4.3.1-4 +- Rebuilt for Python 3.11 + * Thu Jan 20 2022 Fedora Release Engineering - 4.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From e53cf04eff94e335d88e3f2951c58356e6f43f7e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 21 Jul 2022 19:22:54 +0000 Subject: [PATCH 30/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libvoikko.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libvoikko.spec b/libvoikko.spec index 392b0fa..5b6060b 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -2,7 +2,7 @@ Name: libvoikko Version: 4.3.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators License: GPLv2+ @@ -122,6 +122,9 @@ mkdir -p %{buildroot}%{_prefix}/lib/voikko %pycached %{python3_sitelib}/%{name}.py %changelog +* Thu Jul 21 2022 Fedora Release Engineering - 4.3.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Mon Jun 13 2022 Python Maint - 4.3.1-4 - Rebuilt for Python 3.11 From 6838ca25a3c20fd35bdf659a360a2036b4f79d03 Mon Sep 17 00:00:00 2001 From: Mike FABIAN Date: Wed, 30 Nov 2022 13:32:19 +0100 Subject: [PATCH 31/49] Migrate license tag to SPDX --- libvoikko.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libvoikko.spec b/libvoikko.spec index 5b6060b..082963f 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -2,10 +2,10 @@ Name: libvoikko Version: 4.3.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators -License: GPLv2+ +License: GPL-2.0-or-later URL: https://voikko.puimula.org # The usual format of stable release URLs Source0: https://www.puimula.org/voikko-sources/%{name}/%{name}-%{version}.tar.gz @@ -122,6 +122,9 @@ mkdir -p %{buildroot}%{_prefix}/lib/voikko %pycached %{python3_sitelib}/%{name}.py %changelog +* Wed Nov 30 2022 Mike FABIAN - 4.3.1-6 +- Migrate license tag to SPDX + * Thu Jul 21 2022 Fedora Release Engineering - 4.3.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 38f3a06ce2b6ae8367d636992cdec5acf25521fe Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 19 Jan 2023 17:48:15 +0000 Subject: [PATCH 32/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- libvoikko.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libvoikko.spec b/libvoikko.spec index 082963f..c4abb9b 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -2,7 +2,7 @@ Name: libvoikko Version: 4.3.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Voikko is a library for spellcheckers and hyphenators License: GPL-2.0-or-later @@ -122,6 +122,9 @@ mkdir -p %{buildroot}%{_prefix}/lib/voikko %pycached %{python3_sitelib}/%{name}.py %changelog +* Thu Jan 19 2023 Fedora Release Engineering - 4.3.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Wed Nov 30 2022 Mike FABIAN - 4.3.1-6 - Migrate license tag to SPDX From 78e4554cd6a9b2457e7b0e33f33442a699d2eed5 Mon Sep 17 00:00:00 2001 From: Ville-Pekka Vainio Date: Sat, 1 Apr 2023 17:42:13 +0300 Subject: [PATCH 33/49] Convert to %autorelease and %autochangelog [skip changelog] --- changelog | 338 ++++++++++++++++++++++++++++++++++++++++++++++++ libvoikko.spec | 341 +------------------------------------------------ 2 files changed, 340 insertions(+), 339 deletions(-) create mode 100644 changelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..1cfb0ed --- /dev/null +++ b/changelog @@ -0,0 +1,338 @@ +* Thu Jan 19 2023 Fedora Release Engineering - 4.3.1-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Wed Nov 30 2022 Mike FABIAN - 4.3.1-6 +- Migrate license tag to SPDX + +* Thu Jul 21 2022 Fedora Release Engineering - 4.3.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Mon Jun 13 2022 Python Maint - 4.3.1-4 +- Rebuilt for Python 3.11 + +* Thu Jan 20 2022 Fedora Release Engineering - 4.3.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 4.3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Sun Jul 11 2021 Fedora Release Monitoring - 4.3.1-1 +- Update to 4.3.1 (#1936062) + +* Fri Jun 04 2021 Python Maint - 4.3-5 +- Rebuilt for Python 3.10 + +* Fri Feb 19 2021 Mike FABIAN - 4.3-4 +- Add Requires: voikko-fi + +* Sun Jan 31 2021 Ville-Pekka Vainio - 4.3-3 +- The dictionary data directory will now be /usr/lib/voikko on all architectures +- Create and own /usr/lib/voikko, so different dictionary packages can own the subdirectories there +- This was suggested in the review of the voikko-fi package, see rhbz#1919688 +- Use the license macro + +* Sun Jan 24 2021 Ville-Pekka Vainio - 4.3-2 +- Bump release for a new Copr build +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Jan 16 2021 Ville-Pekka Vainio - 4.3-1 +- Update to 4.3 +- Add GPG signature check for the source +- Fix pycached stuff +- Remove old python_provide macro +- Remove ldconfig_scriptlets macro +- Only use VFST for now, HFST can be provided in a later update + +* Tue Jul 28 2020 Fedora Release Engineering - 4.1.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Tue May 26 2020 Miro Hrončok - 4.1.1-7 +- Rebuilt for Python 3.9 + +* Wed Jan 29 2020 Fedora Release Engineering - 4.1.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Oct 03 2019 Miro Hrončok - 4.1.1-5 +- Rebuilt for Python 3.8.0rc1 (#1748018) + +* Mon Aug 19 2019 Miro Hrončok - 4.1.1-4 +- Rebuilt for Python 3.8 + +* Thu Jul 25 2019 Fedora Release Engineering - 4.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 4.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Aug 3 2018 Ville-Pekka Vainio - 4.1.1-1 +- New upstream release. +- Provide only python3-libvoikko, remove python2-libvoikko +- Use malaga for now, foma is not packaged for Fedora yet. + +* Fri Jul 13 2018 Fedora Release Engineering - 3.8-11 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue Jun 19 2018 Miro Hrončok - 3.8-10 +- Rebuilt for Python 3.7 + +* Wed May 23 2018 Mike FABIAN - 3.8-9 +- Add python3-devel to BuildRequires. +- Resolves: rhbz#1580782 + +* Thu Apr 19 2018 Mike FABIAN - 3.8-8 +- Build Python 2 subpackage only for Fedora +- Resolves: rhbz#1566121 + +* Wed Feb 07 2018 Fedora Release Engineering - 3.8-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 3.8-6 +- Python 2 binary package renamed to python2-libvoikko + See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 + +* Thu Aug 03 2017 Fedora Release Engineering - 3.8-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 3.8-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 3.8-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Tue Jul 19 2016 Fedora Release Engineering - 3.8-2 +- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages + +* Thu Jul 14 2016 Ville-Pekka Vainio - 3.8-1 +- New upstream release + +* Thu Feb 04 2016 Fedora Release Engineering - 3.7.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 3.7.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat May 02 2015 Kalev Lember - 3.7.1-2 +- Rebuilt for GCC 5 C++11 ABI change + +* Sat Oct 25 2014 Ville-Pekka Vainio - 3.7.1-1 +- New upstream release + +* Sun Aug 17 2014 Fedora Release Engineering - 3.7-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 3.7-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Jan 26 2014 Ville-Pekka Vainio - 3.7-1 +- New upstream release + +* Fri Oct 18 2013 Ville-Pekka Vainio - 3.6.1-1 +- New upstream release +- Remove voikkovfstc from the package, it is not built by default anymore +- Update upstream URLs + +* Mon Jul 29 2013 Parag - 3.6-2 +- Ah don't add %%{?_isa} for noarch packages + +* Mon Jul 29 2013 Parag - 3.6-2 +- Fix spec file to follow packaging guidelines + +* Sun Apr 14 2013 Ville-Pekka Vainio - 3.6-1 +- New upstream release + +* Thu Feb 14 2013 Fedora Release Engineering - 3.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jul 19 2012 Fedora Release Engineering - 3.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sun Jul 01 2012 Ville-Pekka Vainio - 3.5-1 +- New upstream release + +* Tue Feb 28 2012 Fedora Release Engineering - 3.4.1-2 +- Rebuilt for c++ ABI breakage + +* Sat Feb 04 2012 Ville-Pekka Vainio - 3.4.1-1 +- New upstream release, fixes build with GCC 4.7 + +* Fri Jan 13 2012 Fedora Release Engineering - 3.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Tue Dec 27 2011 Ville-Pekka Vainio - 3.4-1 +- Update to the latest upstream release: +- A crash bug affecting grammar checker has been fixed. +- New grammar checker rule for missing verbs has been added. + +* Sun Sep 25 2011 Ville-Pekka Vainio - 3.3.1-0.3.rc1 +- Remove the isa macro from the malaga-suomi-voikko dependency, + malaga-suomi-voikko is not a library and is thus not multilib'd. The previous + change was a misunderstanding. + +* Sat Sep 24 2011 Ville-Pekka Vainio - 3.3.1-0.2.rc1 +- Add the isa macro to the malaga-suomi-voikko dependency and drop the version. + +* Sat Sep 24 2011 Ville-Pekka Vainio - 3.3.1-0.1.rc1 +- New upstream release candidate, fixes a bug which crashed Firefox when + using Finnish spell checking. + +* Fri Sep 16 2011 Ville-Pekka Vainio - 3.3-1 +- New upstream release + +* Sun Jun 12 2011 Ville-Pekka Vainio - 3.2.1-1 +- New upstream release +- Fixes handling of embedded null characters in input strings entered through + Python or Java interfaces. + +* Fri Mar 25 2011 Ville-Pekka Vainio - 3.2-1 +- New upstream release + +* Tue Feb 15 2011 Ville-Pekka Vainio - 3.1-3 +- Add patch to fix build with GCC 4.6 + +* Tue Feb 08 2011 Fedora Release Engineering - 3.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Mon Nov 22 2010 Ville-Pekka Vainio - 3.1-1 +- New upstream release +- Remove the unneeded %%clean section, not needed in Fedora >= 13 + +* Wed Jul 21 2010 David Malcolm - 3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild + +* Thu May 27 2010 Ville-Pekka Vainio - 3.0-1 +- 3.0 final + +* Thu May 13 2010 Ville-Pekka Vainio - 3.0-0.1.rc1 +- New upstream release candidate with multithread support +- Remove unneeded BuildRoot tag + +* Thu Feb 18 2010 Ville-Pekka Vainio - 2.3.1-1 +- Version 2.3.1 contains fixes for bugs found in version 2.3 + +* Sun Jan 31 2010 Ville-Pekka Vainio - 2.3-0.1.rc1 +- New release candidate +- Dependency on glib has been removed + +* Wed Nov 11 2009 Ville-Pekka Vainio - 2.2.2-1 +- Version 2.2.2 fixes a crash found in version 2.2.1 that can occur when the + APIs that use wchar_t strings as arguments are used. + +* Mon Oct 26 2009 Ville-Pekka Vainio - 2.2.1-2 +- Add Python interface (package python-libvoikko, noarch) + +* Fri Oct 09 2009 Ville-Pekka Vainio - 2.2.1-1 +- New upstream release, fixes bugs found in 2.2 + +* Fri Sep 18 2009 Ville-Pekka Vainio - 2.2-0.3.rc2 +- 2.2rc2 +- Remove getcwd() value check patch, accepted upstream + +* Wed Sep 16 2009 Ville-Pekka Vainio - 2.2-0.2.rc1 +- Remove rpath which was set for the voikko-tools binaries in 64 bit + architechtures + +* Tue Sep 15 2009 Ville-Pekka Vainio - 2.2-0.1.rc1 +- New release candidate +- Improvements to spelling suggestions, grammar checker etc. +- Libvoikko now uses its own internal implementation of malaga. +- This prevents symbol conflicts such as https://bugzilla.redhat.com/502546 +- BuildRequires malaga removed and glib2-devel added. +- Require malaga-suomi-voikko >= 1.4, libvoikko 2.2 expects the newer + dictionary format +- Add a patch to make it compile on Fedora with -Werror + +* Sat Jul 25 2009 Fedora Release Engineering - 2.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Sat May 2 2009 Ville-Pekka Vainio - 2.1-1 +- 2.1 final, including fixes to grammar checking + +* Fri Apr 17 2009 Ville-Pekka Vainio - 2.1-0.5.rc4 +- 2.1rc4: + - Fix invalid use of delete vs. delete[] + - Limit the scope of some variables + +* Mon Apr 13 2009 Ville-Pekka Vainio - 2.1-0.4.rc3 +- 2.1rc3, remove patch + +* Sat Apr 11 2009 Ville-Pekka Vainio - 2.1-0.3.rc2 +- Patch to current SVN HEAD, includes a fix for a memory leak in the grammar + checker + +* Mon Apr 6 2009 Ville-Pekka Vainio - 2.1-0.2.rc2 +- New release candidate +- Both patches applied upstream + +* Mon Apr 6 2009 Ville-Pekka Vainio - 2.1-0.1.rc1 +- New release candidate +- Improvements on grammar checking and dictionary loading +- Raise malaga-suomi-voikko dependency to 1.3-10, which has the new dictionary + data directory layout needed by this version of libvoikko +- Add BuildRequires python for running the trie compiler during build +- Add patch for GCC 4.4 and glibc 2.90 compliance +- Add patch to fix warn_unused_result errors + +* Wed Feb 25 2009 Fedora Release Engineering - 2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Thu Aug 28 2008 Ville-Pekka Vainio - 2.0-1 +- libvoikko 2.0 + +* Sat Aug 23 2008 Ville-Pekka Vainio - 2.0-0.1.rc1 +- New release candidate, including the new voikkogc tool in voikko-tools +- Add defattr to voikko-tools +- Drop upstreamed pkg-config patch + +* Fri May 30 2008 Ville-Pekka Vainio - 1.7-3 +- Add Requires pkgconfig to -devel + +* Mon May 26 2008 Ville-Pekka Vainio - 1.7-2 +- Add patch which makes a libvoikko.pc file for pkg-config + +* Sat May 24 2008 Ville-Pekka Vainio - 1.7-1 +- libvoikko 1.7 + +* Thu May 22 2008 - Ville-Pekka Vainio 1.7-0.2.rc2 +- Don't BuildRequire the Finnish data files, this should make Koji builds a bit + quicker + +* Sun May 11 2008 - Ville-Pekka Vainio 1.7-0.1.rc2 +- New release candidate + +* Sun Mar 02 2008 - Ville-Pekka Vainio 1.6-3 +- Put voikkospell and voikkohyphenate into a separate voikko-tools + subpackage to decrease the size of the binary libvoikko package + +* Sat Feb 16 2008 - Ville-Pekka Vainio 1.6-2 +- Rebuild for GCC 4.3 + +* Tue Dec 04 2007 - Ville-Pekka Vainio 1.6-1 +- libvoikko 1.6 +- Add versioned BuildRequires and Requires as per the Voikko release notes + at http://voikko.sourceforge.net/releases.html + +* Mon Dec 03 2007 - Ville-Pekka Vainio 1.6-0.4.rc4 +- Upstream released a new release candidate + +* Wed Nov 28 2007 - Ville-Pekka Vainio 1.6-0.3.rc3 +- Upstream released a new release candidate + +* Wed Nov 28 2007 - Ville-Pekka Vainio 1.6-0.2.rc2 +- Upstream released a new release candidate + +* Tue Nov 27 2007 - Ville-Pekka Vainio 1.6-0.1.rc1 +- Upstream released a new release candidate + +* Thu Nov 08 2007 - Ville-Pekka Vainio 1.5-1 +- Bump Release for the first Fedora build + +* Wed Nov 07 2007 - Ville-Pekka Vainio 1.5-0.3 +- libvoikko-devel: remove unneeded Requires: malaga-devel +- install with -p so that timestamps are preserved + +* Wed Nov 07 2007 - Ville-Pekka Vainio 1.5-0.2 +- Requires only malaga-suomi-voikko, BR malaga-devel and malaga-suomi-voikko +- Remove static archive + +* Wed Oct 24 2007 - Ville-Pekka Vainio 1.5-0.1 +- Initial package diff --git a/libvoikko.spec b/libvoikko.spec index c4abb9b..f6f39dc 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -2,7 +2,7 @@ Name: libvoikko Version: 4.3.1 -Release: 7%{?dist} +Release: %autorelease Summary: Voikko is a library for spellcheckers and hyphenators License: GPL-2.0-or-later @@ -122,341 +122,4 @@ mkdir -p %{buildroot}%{_prefix}/lib/voikko %pycached %{python3_sitelib}/%{name}.py %changelog -* Thu Jan 19 2023 Fedora Release Engineering - 4.3.1-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Wed Nov 30 2022 Mike FABIAN - 4.3.1-6 -- Migrate license tag to SPDX - -* Thu Jul 21 2022 Fedora Release Engineering - 4.3.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Mon Jun 13 2022 Python Maint - 4.3.1-4 -- Rebuilt for Python 3.11 - -* Thu Jan 20 2022 Fedora Release Engineering - 4.3.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Thu Jul 22 2021 Fedora Release Engineering - 4.3.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Sun Jul 11 2021 Fedora Release Monitoring - 4.3.1-1 -- Update to 4.3.1 (#1936062) - -* Fri Jun 04 2021 Python Maint - 4.3-5 -- Rebuilt for Python 3.10 - -* Fri Feb 19 2021 Mike FABIAN - 4.3-4 -- Add Requires: voikko-fi - -* Sun Jan 31 2021 Ville-Pekka Vainio - 4.3-3 -- The dictionary data directory will now be /usr/lib/voikko on all architectures -- Create and own /usr/lib/voikko, so different dictionary packages can own the subdirectories there -- This was suggested in the review of the voikko-fi package, see rhbz#1919688 -- Use the license macro - -* Sun Jan 24 2021 Ville-Pekka Vainio - 4.3-2 -- Bump release for a new Copr build -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Sat Jan 16 2021 Ville-Pekka Vainio - 4.3-1 -- Update to 4.3 -- Add GPG signature check for the source -- Fix pycached stuff -- Remove old python_provide macro -- Remove ldconfig_scriptlets macro -- Only use VFST for now, HFST can be provided in a later update - -* Tue Jul 28 2020 Fedora Release Engineering - 4.1.1-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue May 26 2020 Miro Hrončok - 4.1.1-7 -- Rebuilt for Python 3.9 - -* Wed Jan 29 2020 Fedora Release Engineering - 4.1.1-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Oct 03 2019 Miro Hrončok - 4.1.1-5 -- Rebuilt for Python 3.8.0rc1 (#1748018) - -* Mon Aug 19 2019 Miro Hrončok - 4.1.1-4 -- Rebuilt for Python 3.8 - -* Thu Jul 25 2019 Fedora Release Engineering - 4.1.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri Feb 01 2019 Fedora Release Engineering - 4.1.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Fri Aug 3 2018 Ville-Pekka Vainio - 4.1.1-1 -- New upstream release. -- Provide only python3-libvoikko, remove python2-libvoikko -- Use malaga for now, foma is not packaged for Fedora yet. - -* Fri Jul 13 2018 Fedora Release Engineering - 3.8-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue Jun 19 2018 Miro Hrončok - 3.8-10 -- Rebuilt for Python 3.7 - -* Wed May 23 2018 Mike FABIAN - 3.8-9 -- Add python3-devel to BuildRequires. -- Resolves: rhbz#1580782 - -* Thu Apr 19 2018 Mike FABIAN - 3.8-8 -- Build Python 2 subpackage only for Fedora -- Resolves: rhbz#1566121 - -* Wed Feb 07 2018 Fedora Release Engineering - 3.8-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek - 3.8-6 -- Python 2 binary package renamed to python2-libvoikko - See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 - -* Thu Aug 03 2017 Fedora Release Engineering - 3.8-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 3.8-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 3.8-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Tue Jul 19 2016 Fedora Release Engineering - 3.8-2 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Thu Jul 14 2016 Ville-Pekka Vainio - 3.8-1 -- New upstream release - -* Thu Feb 04 2016 Fedora Release Engineering - 3.7.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jun 17 2015 Fedora Release Engineering - 3.7.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat May 02 2015 Kalev Lember - 3.7.1-2 -- Rebuilt for GCC 5 C++11 ABI change - -* Sat Oct 25 2014 Ville-Pekka Vainio - 3.7.1-1 -- New upstream release - -* Sun Aug 17 2014 Fedora Release Engineering - 3.7-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sat Jun 07 2014 Fedora Release Engineering - 3.7-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sun Jan 26 2014 Ville-Pekka Vainio - 3.7-1 -- New upstream release - -* Fri Oct 18 2013 Ville-Pekka Vainio - 3.6.1-1 -- New upstream release -- Remove voikkovfstc from the package, it is not built by default anymore -- Update upstream URLs - -* Mon Jul 29 2013 Parag - 3.6-2 -- Ah don't add %%{?_isa} for noarch packages - -* Mon Jul 29 2013 Parag - 3.6-2 -- Fix spec file to follow packaging guidelines - -* Sun Apr 14 2013 Ville-Pekka Vainio - 3.6-1 -- New upstream release - -* Thu Feb 14 2013 Fedora Release Engineering - 3.5-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Thu Jul 19 2012 Fedora Release Engineering - 3.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sun Jul 01 2012 Ville-Pekka Vainio - 3.5-1 -- New upstream release - -* Tue Feb 28 2012 Fedora Release Engineering - 3.4.1-2 -- Rebuilt for c++ ABI breakage - -* Sat Feb 04 2012 Ville-Pekka Vainio - 3.4.1-1 -- New upstream release, fixes build with GCC 4.7 - -* Fri Jan 13 2012 Fedora Release Engineering - 3.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Tue Dec 27 2011 Ville-Pekka Vainio - 3.4-1 -- Update to the latest upstream release: -- A crash bug affecting grammar checker has been fixed. -- New grammar checker rule for missing verbs has been added. - -* Sun Sep 25 2011 Ville-Pekka Vainio - 3.3.1-0.3.rc1 -- Remove the isa macro from the malaga-suomi-voikko dependency, - malaga-suomi-voikko is not a library and is thus not multilib'd. The previous - change was a misunderstanding. - -* Sat Sep 24 2011 Ville-Pekka Vainio - 3.3.1-0.2.rc1 -- Add the isa macro to the malaga-suomi-voikko dependency and drop the version. - -* Sat Sep 24 2011 Ville-Pekka Vainio - 3.3.1-0.1.rc1 -- New upstream release candidate, fixes a bug which crashed Firefox when - using Finnish spell checking. - -* Fri Sep 16 2011 Ville-Pekka Vainio - 3.3-1 -- New upstream release - -* Sun Jun 12 2011 Ville-Pekka Vainio - 3.2.1-1 -- New upstream release -- Fixes handling of embedded null characters in input strings entered through - Python or Java interfaces. - -* Fri Mar 25 2011 Ville-Pekka Vainio - 3.2-1 -- New upstream release - -* Tue Feb 15 2011 Ville-Pekka Vainio - 3.1-3 -- Add patch to fix build with GCC 4.6 - -* Tue Feb 08 2011 Fedora Release Engineering - 3.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Mon Nov 22 2010 Ville-Pekka Vainio - 3.1-1 -- New upstream release -- Remove the unneeded %%clean section, not needed in Fedora >= 13 - -* Wed Jul 21 2010 David Malcolm - 3.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild - -* Thu May 27 2010 Ville-Pekka Vainio - 3.0-1 -- 3.0 final - -* Thu May 13 2010 Ville-Pekka Vainio - 3.0-0.1.rc1 -- New upstream release candidate with multithread support -- Remove unneeded BuildRoot tag - -* Thu Feb 18 2010 Ville-Pekka Vainio - 2.3.1-1 -- Version 2.3.1 contains fixes for bugs found in version 2.3 - -* Sun Jan 31 2010 Ville-Pekka Vainio - 2.3-0.1.rc1 -- New release candidate -- Dependency on glib has been removed - -* Wed Nov 11 2009 Ville-Pekka Vainio - 2.2.2-1 -- Version 2.2.2 fixes a crash found in version 2.2.1 that can occur when the - APIs that use wchar_t strings as arguments are used. - -* Mon Oct 26 2009 Ville-Pekka Vainio - 2.2.1-2 -- Add Python interface (package python-libvoikko, noarch) - -* Fri Oct 09 2009 Ville-Pekka Vainio - 2.2.1-1 -- New upstream release, fixes bugs found in 2.2 - -* Fri Sep 18 2009 Ville-Pekka Vainio - 2.2-0.3.rc2 -- 2.2rc2 -- Remove getcwd() value check patch, accepted upstream - -* Wed Sep 16 2009 Ville-Pekka Vainio - 2.2-0.2.rc1 -- Remove rpath which was set for the voikko-tools binaries in 64 bit - architechtures - -* Tue Sep 15 2009 Ville-Pekka Vainio - 2.2-0.1.rc1 -- New release candidate -- Improvements to spelling suggestions, grammar checker etc. -- Libvoikko now uses its own internal implementation of malaga. -- This prevents symbol conflicts such as https://bugzilla.redhat.com/502546 -- BuildRequires malaga removed and glib2-devel added. -- Require malaga-suomi-voikko >= 1.4, libvoikko 2.2 expects the newer - dictionary format -- Add a patch to make it compile on Fedora with -Werror - -* Sat Jul 25 2009 Fedora Release Engineering - 2.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Sat May 2 2009 Ville-Pekka Vainio - 2.1-1 -- 2.1 final, including fixes to grammar checking - -* Fri Apr 17 2009 Ville-Pekka Vainio - 2.1-0.5.rc4 -- 2.1rc4: - - Fix invalid use of delete vs. delete[] - - Limit the scope of some variables - -* Mon Apr 13 2009 Ville-Pekka Vainio - 2.1-0.4.rc3 -- 2.1rc3, remove patch - -* Sat Apr 11 2009 Ville-Pekka Vainio - 2.1-0.3.rc2 -- Patch to current SVN HEAD, includes a fix for a memory leak in the grammar - checker - -* Mon Apr 6 2009 Ville-Pekka Vainio - 2.1-0.2.rc2 -- New release candidate -- Both patches applied upstream - -* Mon Apr 6 2009 Ville-Pekka Vainio - 2.1-0.1.rc1 -- New release candidate -- Improvements on grammar checking and dictionary loading -- Raise malaga-suomi-voikko dependency to 1.3-10, which has the new dictionary - data directory layout needed by this version of libvoikko -- Add BuildRequires python for running the trie compiler during build -- Add patch for GCC 4.4 and glibc 2.90 compliance -- Add patch to fix warn_unused_result errors - -* Wed Feb 25 2009 Fedora Release Engineering - 2.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Thu Aug 28 2008 Ville-Pekka Vainio - 2.0-1 -- libvoikko 2.0 - -* Sat Aug 23 2008 Ville-Pekka Vainio - 2.0-0.1.rc1 -- New release candidate, including the new voikkogc tool in voikko-tools -- Add defattr to voikko-tools -- Drop upstreamed pkg-config patch - -* Fri May 30 2008 Ville-Pekka Vainio - 1.7-3 -- Add Requires pkgconfig to -devel - -* Mon May 26 2008 Ville-Pekka Vainio - 1.7-2 -- Add patch which makes a libvoikko.pc file for pkg-config - -* Sat May 24 2008 Ville-Pekka Vainio - 1.7-1 -- libvoikko 1.7 - -* Thu May 22 2008 - Ville-Pekka Vainio 1.7-0.2.rc2 -- Don't BuildRequire the Finnish data files, this should make Koji builds a bit - quicker - -* Sun May 11 2008 - Ville-Pekka Vainio 1.7-0.1.rc2 -- New release candidate - -* Sun Mar 02 2008 - Ville-Pekka Vainio 1.6-3 -- Put voikkospell and voikkohyphenate into a separate voikko-tools - subpackage to decrease the size of the binary libvoikko package - -* Sat Feb 16 2008 - Ville-Pekka Vainio 1.6-2 -- Rebuild for GCC 4.3 - -* Tue Dec 04 2007 - Ville-Pekka Vainio 1.6-1 -- libvoikko 1.6 -- Add versioned BuildRequires and Requires as per the Voikko release notes - at http://voikko.sourceforge.net/releases.html - -* Mon Dec 03 2007 - Ville-Pekka Vainio 1.6-0.4.rc4 -- Upstream released a new release candidate - -* Wed Nov 28 2007 - Ville-Pekka Vainio 1.6-0.3.rc3 -- Upstream released a new release candidate - -* Wed Nov 28 2007 - Ville-Pekka Vainio 1.6-0.2.rc2 -- Upstream released a new release candidate - -* Tue Nov 27 2007 - Ville-Pekka Vainio 1.6-0.1.rc1 -- Upstream released a new release candidate - -* Thu Nov 08 2007 - Ville-Pekka Vainio 1.5-1 -- Bump Release for the first Fedora build - -* Wed Nov 07 2007 - Ville-Pekka Vainio 1.5-0.3 -- libvoikko-devel: remove unneeded Requires: malaga-devel -- install with -p so that timestamps are preserved - -* Wed Nov 07 2007 - Ville-Pekka Vainio 1.5-0.2 -- Requires only malaga-suomi-voikko, BR malaga-devel and malaga-suomi-voikko -- Remove static archive - -* Wed Oct 24 2007 - Ville-Pekka Vainio 1.5-0.1 -- Initial package +%autochangelog From 311003d0208a8dea11f7a5bbbddec34114053655 Mon Sep 17 00:00:00 2001 From: Ville-Pekka Vainio Date: Sat, 1 Apr 2023 17:45:18 +0300 Subject: [PATCH 34/49] New upstream release - Update C++ standard from C++11 to C++14 - Compilation fixes for recent versions of GCC - Small fixes to Finnish grammar checker --- .gitignore | 2 ++ libvoikko.spec | 2 +- sources | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index bbc516d..1c81868 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,5 @@ libvoikko-3.0.tar.gz /libvoikko-4.3.tar.gz.asc /libvoikko-4.3.1.tar.gz /libvoikko-4.3.1.tar.gz.asc +/libvoikko-4.3.2.tar.gz +/libvoikko-4.3.2.tar.gz.asc diff --git a/libvoikko.spec b/libvoikko.spec index f6f39dc..bf0c7bb 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -1,7 +1,7 @@ %global _hardened_build 1 Name: libvoikko -Version: 4.3.1 +Version: 4.3.2 Release: %autorelease Summary: Voikko is a library for spellcheckers and hyphenators diff --git a/sources b/sources index f49e343..77fb968 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (libvoikko-4.3.1.tar.gz) = 6677fac7c0cba1289dda23b0c0a4bbe44480ce747189d40634ac57811728c1942a795efd50270e933373fabab9c54e82a8f9fde06d936442820e3f8019574f08 -SHA512 (libvoikko-4.3.1.tar.gz.asc) = 04a5e8899679e1503ec0d378903b8ff17e8065aa105ba61559b584eb4cde2a5a9b622fd39bd0126bb87915c7dcbac8495e874c3cdabf25232b1ae41491275ba0 +SHA512 (libvoikko-4.3.2.tar.gz) = d510a9344501f86b2f644c1237faf8709f02b5d17bca76f7934c8422495aeee307f12c60dde47df15a39c24c3311253d3dea2d0648050fc3a056a22497de695c +SHA512 (libvoikko-4.3.2.tar.gz.asc) = 5416123b9610225e2baf26ebb8be27d98ac04d34af9c2ed9252fa6e2c2909276a47967a297fc9bf0b51a6bf8650a55919ea4071dd976752b26a3dfec271ddf0a From 8bddee9b6763c76d0045d329e43c1f827420df07 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 13 Jun 2023 20:43:22 +0200 Subject: [PATCH 35/49] Rebuilt for Python 3.12 From 64e363c678f922eb2e1e313a07cac09fb755097c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 20 Jul 2023 12:30:34 +0000 Subject: [PATCH 36/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering From ec423e344fb62971d5c64781a493a096e808e09f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 21 Jan 2024 05:43:14 +0000 Subject: [PATCH 37/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From d863347bcad7708a243b3c7ea4d800f80142af22 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 25 Jan 2024 03:57:33 +0000 Subject: [PATCH 38/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 399ef9b42821cc26e618582fd022ec66724458b9 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 7 Jun 2024 08:51:58 +0200 Subject: [PATCH 39/49] Rebuilt for Python 3.13 From a792e6775802268a0280f5288fe30bd64d853d02 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 18 Jul 2024 15:28:14 +0000 Subject: [PATCH 40/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From d046d905f8d1d67fc57a7a140e5900d47683bdfd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jan 2025 14:59:36 +0000 Subject: [PATCH 41/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From c057a2f721af72449871fbfc41fb767422c01374 Mon Sep 17 00:00:00 2001 From: Ville-Pekka Vainio Date: Sun, 25 May 2025 23:39:47 +0300 Subject: [PATCH 42/49] New upstream release with memory leak fixes --- .gitignore | 2 ++ libvoikko.spec | 2 +- sources | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 1c81868..4abe91c 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,5 @@ libvoikko-3.0.tar.gz /libvoikko-4.3.1.tar.gz.asc /libvoikko-4.3.2.tar.gz /libvoikko-4.3.2.tar.gz.asc +/libvoikko-4.3.3.tar.gz +/libvoikko-4.3.3.tar.gz.asc diff --git a/libvoikko.spec b/libvoikko.spec index bf0c7bb..cd9315d 100644 --- a/libvoikko.spec +++ b/libvoikko.spec @@ -1,7 +1,7 @@ %global _hardened_build 1 Name: libvoikko -Version: 4.3.2 +Version: 4.3.3 Release: %autorelease Summary: Voikko is a library for spellcheckers and hyphenators diff --git a/sources b/sources index 77fb968..ed31d94 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -SHA512 (libvoikko-4.3.2.tar.gz) = d510a9344501f86b2f644c1237faf8709f02b5d17bca76f7934c8422495aeee307f12c60dde47df15a39c24c3311253d3dea2d0648050fc3a056a22497de695c -SHA512 (libvoikko-4.3.2.tar.gz.asc) = 5416123b9610225e2baf26ebb8be27d98ac04d34af9c2ed9252fa6e2c2909276a47967a297fc9bf0b51a6bf8650a55919ea4071dd976752b26a3dfec271ddf0a +SHA512 (libvoikko-4.3.3.tar.gz) = 8b6a8d52a43414c5acbc4582dbee4ba4687c204fdf59f097b202f80138bbe079d1feedcc9e13819078b7366de9a629d81c491e782435b64634e5ff38701038f5 +SHA512 (libvoikko-4.3.3.tar.gz.asc) = a753957531c4f581f455c7a0d7dd69b9f7cb259fa19e783ecee426123039d5f7981aa8af7ced78b610ceb4922dd9c159bce94a8129f250600fa3f55c923cf45c From 6efc94089014ed4649a20c4e24552606071234e1 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Mon, 2 Jun 2025 20:26:53 +0200 Subject: [PATCH 43/49] Rebuilt for Python 3.14 From 5bf46d4e4da5638ed8fc7195408c53234b758fb6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 24 Jul 2025 20:34:10 +0000 Subject: [PATCH 44/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 743fc37fa6963f8b720ea0a14f9fa8fac5edab30 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 15 Aug 2025 12:57:42 +0200 Subject: [PATCH 45/49] Rebuilt for Python 3.14.0rc2 bytecode From b895c55bc71dada11147b2596661805669e77d7c Mon Sep 17 00:00:00 2001 From: Python Maint Date: Fri, 19 Sep 2025 12:28:35 +0200 Subject: [PATCH 46/49] Rebuilt for Python 3.14.0rc3 bytecode From 322e3337a6ccfb3adc52a4da01df808b1a62b047 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 19:45:56 +0000 Subject: [PATCH 47/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From 2bbdfb95d9f1dcdbdb53ce1412f1d0a6f6b337a6 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 3 Jun 2026 17:43:22 +0200 Subject: [PATCH 48/49] Rebuilt for Python 3.15 From 3a3705a6d1036bb8eacf6b4486d6743cf7ba5aa8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jul 2026 07:01:49 +0000 Subject: [PATCH 49/49] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild