From 4b30bdf5da7ec195c74aeccf4ec327e5afea4347 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 10 Feb 2017 06:00:39 +0000 Subject: [PATCH 01/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index 6308b8c..a518ba9 100644 --- a/anthy.spec +++ b/anthy.spec @@ -3,7 +3,7 @@ Name: anthy Version: 9100h -Release: 29%{?dist} +Release: 30%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPLv2+ and GPLv2 and Public Domain URL: http://sourceforge.jp/projects/anthy/ @@ -177,6 +177,9 @@ popd %changelog +* Fri Feb 10 2017 Fedora Release Engineering - 9100h-30 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + * Wed Feb 03 2016 Fedora Release Engineering - 9100h-29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From eca49881e2f253fb82316777698d1dcc4cb8a991 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 26 Jul 2017 02:54:58 +0000 Subject: [PATCH 02/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index a518ba9..427b922 100644 --- a/anthy.spec +++ b/anthy.spec @@ -3,7 +3,7 @@ Name: anthy Version: 9100h -Release: 30%{?dist} +Release: 31%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPLv2+ and GPLv2 and Public Domain URL: http://sourceforge.jp/projects/anthy/ @@ -177,6 +177,9 @@ popd %changelog +* Wed Jul 26 2017 Fedora Release Engineering - 9100h-31 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + * Fri Feb 10 2017 Fedora Release Engineering - 9100h-30 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild From 75802dd0e8a4f757c79db77135468690d2b915e9 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 2 Aug 2017 17:35:59 +0000 Subject: [PATCH 03/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index 427b922..1eacf99 100644 --- a/anthy.spec +++ b/anthy.spec @@ -3,7 +3,7 @@ Name: anthy Version: 9100h -Release: 31%{?dist} +Release: 32%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPLv2+ and GPLv2 and Public Domain URL: http://sourceforge.jp/projects/anthy/ @@ -177,6 +177,9 @@ popd %changelog +* Wed Aug 02 2017 Fedora Release Engineering - 9100h-32 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + * Wed Jul 26 2017 Fedora Release Engineering - 9100h-31 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild From 9733f77c45a71d4e2426bae12b762d6c43245d30 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 7 Feb 2018 02:21:05 +0000 Subject: [PATCH 04/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index 1eacf99..386095e 100644 --- a/anthy.spec +++ b/anthy.spec @@ -3,7 +3,7 @@ Name: anthy Version: 9100h -Release: 32%{?dist} +Release: 33%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPLv2+ and GPLv2 and Public Domain URL: http://sourceforge.jp/projects/anthy/ @@ -177,6 +177,9 @@ popd %changelog +* Wed Feb 07 2018 Fedora Release Engineering - 9100h-33 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + * Wed Aug 02 2017 Fedora Release Engineering - 9100h-32 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild From 32493c20861cf4d7f77fd1bc85e34392fe307bca Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Mon, 19 Feb 2018 16:23:27 +0900 Subject: [PATCH 05/36] Add BR: gcc. --- anthy.spec | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/anthy.spec b/anthy.spec index 386095e..e915a41 100644 --- a/anthy.spec +++ b/anthy.spec @@ -3,11 +3,12 @@ Name: anthy Version: 9100h -Release: 33%{?dist} +Release: 34%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPLv2+ and GPLv2 and Public Domain URL: http://sourceforge.jp/projects/anthy/ BuildRequires: emacs +BuildRequires: gcc %if 0%{?rhel} == 0 BuildRequires: xemacs %endif @@ -50,13 +51,7 @@ the programs which uses Anthy. %prep -%setup -q #-a 2 -%patch0 -p1 -b .0-typo -%patch1 -p1 -b .1-typo-name -%patch10 -p1 -b .10-corpus -%patch11 -p1 -b .11-elisp -%patch12 -p1 -b .12-aarch64 -%patch13 -p1 -b .13-segv +%autosetup -p1 # Convert to utf-8 for file in ChangeLog doc/protocol.txt; do @@ -152,7 +147,8 @@ popd %postun -p /sbin/ldconfig %files -%doc AUTHORS COPYING ChangeLog DIARY NEWS README +%doc AUTHORS ChangeLog DIARY NEWS README +%license COPYING %{_bindir}/* %{_sysconfdir}/* %{_libdir}/lib*.so.* @@ -177,6 +173,9 @@ popd %changelog +* Mon Feb 19 2018 Akira TAGOH - 9100h-34 +- Add BR: gcc. + * Wed Feb 07 2018 Fedora Release Engineering - 9100h-33 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild From 388841539ddfee07dcac4d56983a2526c2327a37 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Fri, 29 Jun 2018 10:13:45 +0000 Subject: [PATCH 06/36] Use ldconfig rpm macro. --- anthy.spec | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/anthy.spec b/anthy.spec index e915a41..59290a4 100644 --- a/anthy.spec +++ b/anthy.spec @@ -3,7 +3,7 @@ Name: anthy Version: 9100h -Release: 34%{?dist} +Release: 35%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPLv2+ and GPLv2 and Public Domain URL: http://sourceforge.jp/projects/anthy/ @@ -142,9 +142,7 @@ make install-lispLISP DESTDIR=$RPM_BUILD_ROOT EMACS=xemacs lispdir="%{_xemacs_si popd %endif -%post -p /sbin/ldconfig - -%postun -p /sbin/ldconfig +%ldconfig_scriptlets %files %doc AUTHORS ChangeLog DIARY NEWS README @@ -173,6 +171,9 @@ popd %changelog +* Fri Jun 29 2018 Akira TAGOH - 9100h-35 +- Use ldconfig rpm macro. + * Mon Feb 19 2018 Akira TAGOH - 9100h-34 - Add BR: gcc. From 240a9badecd6c8e3f2de695f166467fd161fb4ec Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 12 Jul 2018 20:15:46 +0000 Subject: [PATCH 07/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index 59290a4..7557a18 100644 --- a/anthy.spec +++ b/anthy.spec @@ -3,7 +3,7 @@ Name: anthy Version: 9100h -Release: 35%{?dist} +Release: 36%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPLv2+ and GPLv2 and Public Domain URL: http://sourceforge.jp/projects/anthy/ @@ -171,6 +171,9 @@ popd %changelog +* Thu Jul 12 2018 Fedora Release Engineering - 9100h-36 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + * Fri Jun 29 2018 Akira TAGOH - 9100h-35 - Use ldconfig rpm macro. From e8c0832f986bb0f1a816949d135c5cf30fe437b5 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 28 Jan 2019 20:17:38 +0100 Subject: [PATCH 08/36] Remove obsolete Group tag References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag --- anthy.spec | 2 -- 1 file changed, 2 deletions(-) diff --git a/anthy.spec b/anthy.spec index 7557a18..40a57a0 100644 --- a/anthy.spec +++ b/anthy.spec @@ -23,7 +23,6 @@ Patch12: %{name}-aarch64.patch Patch13: %{name}-fix-segfault.patch Summary: Japanese character set input library -Group: System Environment/Libraries Requires: emacs-filesystem >= %{_emacs_version} Provides: emacs-%{pkg}-el <= 9100h-27, emacs-%{pkg} <= 9100h-27 Obsoletes: emacs-%{pkg}-el <= 9100h-27, emacs-%{pkg} <= 9100h-27 @@ -41,7 +40,6 @@ So Anthy is secure than other conversion server. %package devel Summary: Header files and library for developing programs which uses Anthy -Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: pkgconfig From 4f9499820df3d2430e63cf728c7e1ab2c9f3c8ea Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 31 Jan 2019 13:22:21 +0000 Subject: [PATCH 09/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index 40a57a0..35062cd 100644 --- a/anthy.spec +++ b/anthy.spec @@ -3,7 +3,7 @@ Name: anthy Version: 9100h -Release: 36%{?dist} +Release: 37%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPLv2+ and GPLv2 and Public Domain URL: http://sourceforge.jp/projects/anthy/ @@ -169,6 +169,9 @@ popd %changelog +* Thu Jan 31 2019 Fedora Release Engineering - 9100h-37 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + * Thu Jul 12 2018 Fedora Release Engineering - 9100h-36 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild From a15ddd3c75ee740028bae14cd2697fc3013da329 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Wed, 22 May 2019 04:43:05 +0000 Subject: [PATCH 10/36] Add CI tests for trial --- tests/tests.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tests/tests.yml diff --git a/tests/tests.yml b/tests/tests.yml new file mode 100644 index 0000000..8032518 --- /dev/null +++ b/tests/tests.yml @@ -0,0 +1,9 @@ +- hosts: localhost + tags: + - classic + required_package: + - anthy + roles: + - role: standard-test-basic + tests: + - run: true From b9a2c6cf2eaba37c5071978b8b06a69e38b4dad3 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Wed, 22 May 2019 05:52:52 +0000 Subject: [PATCH 11/36] Update CI --- tests/runtest.sh | 4 ++++ tests/tests.yml | 12 ++++++------ 2 files changed, 10 insertions(+), 6 deletions(-) create mode 100755 tests/runtest.sh diff --git a/tests/runtest.sh b/tests/runtest.sh new file mode 100755 index 0000000..26aba13 --- /dev/null +++ b/tests/runtest.sh @@ -0,0 +1,4 @@ +#! /bin/sh + +echo "RESULT: PASS" + diff --git a/tests/tests.yml b/tests/tests.yml index 8032518..b7184da 100644 --- a/tests/tests.yml +++ b/tests/tests.yml @@ -1,9 +1,9 @@ - hosts: localhost - tags: - - classic - required_package: - - anthy roles: - role: standard-test-basic - tests: - - run: true + tags: + - classic + required_packages: + - anthy + tests: + - run: ./runtest.sh From a1736d6d621fb67fdfc4ccc31508eb8efc39b396 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 24 Jul 2019 17:58:04 +0000 Subject: [PATCH 12/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index 35062cd..65ef2a7 100644 --- a/anthy.spec +++ b/anthy.spec @@ -3,7 +3,7 @@ Name: anthy Version: 9100h -Release: 37%{?dist} +Release: 38%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPLv2+ and GPLv2 and Public Domain URL: http://sourceforge.jp/projects/anthy/ @@ -169,6 +169,9 @@ popd %changelog +* Wed Jul 24 2019 Fedora Release Engineering - 9100h-38 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Thu Jan 31 2019 Fedora Release Engineering - 9100h-37 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild From 47723c2fa4b9d3dd4658fb92256e0b79dcf777e8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 28 Jan 2020 11:38:41 +0000 Subject: [PATCH 13/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index 65ef2a7..c5620d8 100644 --- a/anthy.spec +++ b/anthy.spec @@ -3,7 +3,7 @@ Name: anthy Version: 9100h -Release: 38%{?dist} +Release: 39%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPLv2+ and GPLv2 and Public Domain URL: http://sourceforge.jp/projects/anthy/ @@ -169,6 +169,9 @@ popd %changelog +* Tue Jan 28 2020 Fedora Release Engineering - 9100h-39 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Wed Jul 24 2019 Fedora Release Engineering - 9100h-38 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From be41928258bb9eb612c515b1cbf2db18e1589f1a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 27 Jul 2020 12:06:17 +0000 Subject: [PATCH 14/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index c5620d8..422ed06 100644 --- a/anthy.spec +++ b/anthy.spec @@ -3,7 +3,7 @@ Name: anthy Version: 9100h -Release: 39%{?dist} +Release: 40%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPLv2+ and GPLv2 and Public Domain URL: http://sourceforge.jp/projects/anthy/ @@ -169,6 +169,9 @@ popd %changelog +* Mon Jul 27 2020 Fedora Release Engineering - 9100h-40 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue Jan 28 2020 Fedora Release Engineering - 9100h-39 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From 379e61b79801e324b9ddd0ba5ee2e060f30f7473 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jul 2020 23:59:41 +0000 Subject: [PATCH 15/36] - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anthy.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index 422ed06..325d016 100644 --- a/anthy.spec +++ b/anthy.spec @@ -3,7 +3,7 @@ Name: anthy Version: 9100h -Release: 40%{?dist} +Release: 41%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPLv2+ and GPLv2 and Public Domain URL: http://sourceforge.jp/projects/anthy/ @@ -169,6 +169,10 @@ popd %changelog +* Fri Jul 31 2020 Fedora Release Engineering - 9100h-41 +- Second attempt - Rebuilt for + https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Mon Jul 27 2020 Fedora Release Engineering - 9100h-40 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 76f42db021ba365588bfc3abb0035917aa55f4cc Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 16 Dec 2020 23:29:58 +0000 Subject: [PATCH 16/36] Add BuildRequires: make https://fedoraproject.org/wiki/Changes/Remove_make_from_BuildRoot --- anthy.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/anthy.spec b/anthy.spec index 325d016..ba73d88 100644 --- a/anthy.spec +++ b/anthy.spec @@ -11,6 +11,7 @@ BuildRequires: emacs BuildRequires: gcc %if 0%{?rhel} == 0 BuildRequires: xemacs +BuildRequires: make %endif Source0: http://osdn.dl.sourceforge.jp/anthy/37536/anthy-%{version}.tar.gz From e991d395161eec622eefc707893d3064866a20a3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Tue, 26 Jan 2021 00:10:04 +0000 Subject: [PATCH 17/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index ba73d88..7b2a8b5 100644 --- a/anthy.spec +++ b/anthy.spec @@ -3,7 +3,7 @@ Name: anthy Version: 9100h -Release: 41%{?dist} +Release: 42%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPLv2+ and GPLv2 and Public Domain URL: http://sourceforge.jp/projects/anthy/ @@ -170,6 +170,9 @@ popd %changelog +* Tue Jan 26 2021 Fedora Release Engineering - 9100h-42 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Fri Jul 31 2020 Fedora Release Engineering - 9100h-41 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From 80ed39970af11d0daa89587eac762d87d284adff Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 12:42:55 +0000 Subject: [PATCH 18/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering From 26da1446d7ab4938f9b211417afcb9dcd7c6dd46 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 21 Jul 2021 17:38:46 +0000 Subject: [PATCH 19/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index 7b2a8b5..ca221b6 100644 --- a/anthy.spec +++ b/anthy.spec @@ -3,7 +3,7 @@ Name: anthy Version: 9100h -Release: 42%{?dist} +Release: 43%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPLv2+ and GPLv2 and Public Domain URL: http://sourceforge.jp/projects/anthy/ @@ -170,6 +170,9 @@ popd %changelog +* Wed Jul 21 2021 Fedora Release Engineering - 9100h-43 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Tue Jan 26 2021 Fedora Release Engineering - 9100h-42 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 382ee417bf3ad2635fc2ce0676a216ca7a1177ad Mon Sep 17 00:00:00 2001 From: Jerry James Date: Tue, 9 Nov 2021 16:12:07 -0700 Subject: [PATCH 20/36] Drop XEmacs support in F36 and later --- anthy.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/anthy.spec b/anthy.spec index ca221b6..ae3769e 100644 --- a/anthy.spec +++ b/anthy.spec @@ -3,13 +3,13 @@ Name: anthy Version: 9100h -Release: 43%{?dist} +Release: 44%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPLv2+ and GPLv2 and Public Domain URL: http://sourceforge.jp/projects/anthy/ BuildRequires: emacs BuildRequires: gcc -%if 0%{?rhel} == 0 +%if 0%{?rhel} == 0 && 0%{?fedora} < 36 BuildRequires: xemacs BuildRequires: make %endif @@ -27,7 +27,7 @@ Summary: Japanese character set input library Requires: emacs-filesystem >= %{_emacs_version} Provides: emacs-%{pkg}-el <= 9100h-27, emacs-%{pkg} <= 9100h-27 Obsoletes: emacs-%{pkg}-el <= 9100h-27, emacs-%{pkg} <= 9100h-27 -%if 0%{?rhel} == 0 +%if 0%{?rhel} == 0 && 0%{?fedora} < 36 Requires: xemacs-filesystem >= %{_xemacs_version} Provides: xemacs-%{pkg}-el <= 9100h-27, xemacs-%{pkg} <= 9100h-27 Obsoletes: xemacs-%{pkg}-el <= 9100h-27, xemacs-%{pkg} <= 9100h-27 @@ -130,7 +130,7 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/lib*.{la,a} mkdir -p $RPM_BUILD_ROOT%{_emacs_sitestartdir} install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir} -%if 0%{?rhel} == 0 +%if 0%{?rhel} == 0 && 0%{?fedora} < 36 ## for xemacs-anthy mkdir -p $RPM_BUILD_ROOT%{_xemacs_sitestartdir} install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_xemacs_sitestartdir} @@ -155,7 +155,7 @@ popd %{_emacs_sitelispdir}/%{pkg}/*.elc %{_emacs_sitestartdir}/*.el %dir %{_emacs_sitelispdir}/%{pkg} -%if 0%{?rhel} == 0 +%if 0%{?rhel} == 0 && 0%{?fedora} < 36 %{_xemacs_sitelispdir}/%{pkg}/*.el %{_xemacs_sitelispdir}/%{pkg}/*.elc %{_xemacs_sitestartdir}/*.el @@ -170,6 +170,9 @@ popd %changelog +* Tue Nov 9 2021 Jerry James - 9100h-44 +- Drop XEmacs support in F36 and later + * Wed Jul 21 2021 Fedora Release Engineering - 9100h-43 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 93bf0b2d0c90572d6fbdc2231de0358e9134fd47 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jan 2022 21:20:44 +0000 Subject: [PATCH 21/36] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index ae3769e..8c938a6 100644 --- a/anthy.spec +++ b/anthy.spec @@ -3,7 +3,7 @@ Name: anthy Version: 9100h -Release: 44%{?dist} +Release: 45%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPLv2+ and GPLv2 and Public Domain URL: http://sourceforge.jp/projects/anthy/ @@ -170,6 +170,9 @@ popd %changelog +* Wed Jan 19 2022 Fedora Release Engineering - 9100h-45 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Tue Nov 9 2021 Jerry James - 9100h-44 - Drop XEmacs support in F36 and later From b6498063182f0fe452da37c800abac2e6bb6faae Mon Sep 17 00:00:00 2001 From: Stewart Smith Date: Sat, 14 May 2022 18:52:06 +0000 Subject: [PATCH 22/36] Make building with xemacs a bcond Signed-off-by: Stewart Smith --- anthy.spec | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/anthy.spec b/anthy.spec index 8c938a6..5add52b 100644 --- a/anthy.spec +++ b/anthy.spec @@ -1,15 +1,22 @@ %global use_utf8_dict 1 %global pkg anthy +%if 0%{?rhel} == 0 && 0%{?fedora} < 36 +%bcond_without xemacs +%else +# xemacs disabled on RHEL and Fedora 36+ +%bcond_with xemacs +%endif + Name: anthy Version: 9100h -Release: 45%{?dist} +Release: 46%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPLv2+ and GPLv2 and Public Domain URL: http://sourceforge.jp/projects/anthy/ BuildRequires: emacs BuildRequires: gcc -%if 0%{?rhel} == 0 && 0%{?fedora} < 36 +%if %{with xemacs} BuildRequires: xemacs BuildRequires: make %endif @@ -27,7 +34,7 @@ Summary: Japanese character set input library Requires: emacs-filesystem >= %{_emacs_version} Provides: emacs-%{pkg}-el <= 9100h-27, emacs-%{pkg} <= 9100h-27 Obsoletes: emacs-%{pkg}-el <= 9100h-27, emacs-%{pkg} <= 9100h-27 -%if 0%{?rhel} == 0 && 0%{?fedora} < 36 +%if %{with xemacs} Requires: xemacs-filesystem >= %{_xemacs_version} Provides: xemacs-%{pkg}-el <= 9100h-27, xemacs-%{pkg} <= 9100h-27 Obsoletes: xemacs-%{pkg}-el <= 9100h-27, xemacs-%{pkg} <= 9100h-27 @@ -130,7 +137,7 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/lib*.{la,a} mkdir -p $RPM_BUILD_ROOT%{_emacs_sitestartdir} install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir} -%if 0%{?rhel} == 0 && 0%{?fedora} < 36 +%if %{with xemacs} ## for xemacs-anthy mkdir -p $RPM_BUILD_ROOT%{_xemacs_sitestartdir} install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_xemacs_sitestartdir} @@ -155,7 +162,7 @@ popd %{_emacs_sitelispdir}/%{pkg}/*.elc %{_emacs_sitestartdir}/*.el %dir %{_emacs_sitelispdir}/%{pkg} -%if 0%{?rhel} == 0 && 0%{?fedora} < 36 +%if %{with xemacs} %{_xemacs_sitelispdir}/%{pkg}/*.el %{_xemacs_sitelispdir}/%{pkg}/*.elc %{_xemacs_sitestartdir}/*.el @@ -170,6 +177,9 @@ popd %changelog +* Tue May 31 Stewart Smith - 9100h-46 +- Switch xemacs build condition to bcond + * Wed Jan 19 2022 Fedora Release Engineering - 9100h-45 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 9a502de2727d9ce88a9ebc973582743b7f6d3bb3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 20 Jul 2022 20:54:39 +0000 Subject: [PATCH 23/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index 5add52b..04c1e76 100644 --- a/anthy.spec +++ b/anthy.spec @@ -10,7 +10,7 @@ Name: anthy Version: 9100h -Release: 46%{?dist} +Release: 47%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPLv2+ and GPLv2 and Public Domain URL: http://sourceforge.jp/projects/anthy/ @@ -177,6 +177,9 @@ popd %changelog +* Wed Jul 20 2022 Fedora Release Engineering - 9100h-47 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Tue May 31 Stewart Smith - 9100h-46 - Switch xemacs build condition to bcond From fa8f57dda1e1863b01dcb309ca958f07f39d0274 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Tue, 29 Nov 2022 20:32:40 +0900 Subject: [PATCH 24/36] Convert License tag to SPDX. --- anthy.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/anthy.spec b/anthy.spec index 04c1e76..abb8811 100644 --- a/anthy.spec +++ b/anthy.spec @@ -10,9 +10,9 @@ Name: anthy Version: 9100h -Release: 47%{?dist} +Release: 48%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. -License: LGPLv2+ and GPLv2 and Public Domain +License: LGPL-2.1-or-later and GPL-2.0-only and LicenseRef-Fedora-Public-Domain URL: http://sourceforge.jp/projects/anthy/ BuildRequires: emacs BuildRequires: gcc @@ -177,6 +177,9 @@ popd %changelog +* Tue Nov 29 2022 Akira TAGOH - 9100h-48 +- Convert License tag to SPDX. + * Wed Jul 20 2022 Fedora Release Engineering - 9100h-47 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From d4f15b435418985dceda6cb63b253fa2bdb9e567 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Wed, 30 Nov 2022 18:44:09 +0900 Subject: [PATCH 25/36] Correct SPDX license tag again --- anthy.spec | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/anthy.spec b/anthy.spec index abb8811..b05468a 100644 --- a/anthy.spec +++ b/anthy.spec @@ -10,9 +10,9 @@ Name: anthy Version: 9100h -Release: 48%{?dist} +Release: 49%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. -License: LGPL-2.1-or-later and GPL-2.0-only and LicenseRef-Fedora-Public-Domain +License: LGPL-2.1-or-later AND GPL-2.0-only AND LicenseRef-Fedora-Public-Domain URL: http://sourceforge.jp/projects/anthy/ BuildRequires: emacs BuildRequires: gcc @@ -177,13 +177,13 @@ popd %changelog -* Tue Nov 29 2022 Akira TAGOH - 9100h-48 +* Wed Nov 30 2022 Akira TAGOH - 9100h-49 - Convert License tag to SPDX. * Wed Jul 20 2022 Fedora Release Engineering - 9100h-47 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild -* Tue May 31 Stewart Smith - 9100h-46 +* Tue May 31 2022 Stewart Smith - 9100h-46 - Switch xemacs build condition to bcond * Wed Jan 19 2022 Fedora Release Engineering - 9100h-45 @@ -545,4 +545,3 @@ popd * Tue Jun 01 2004 Akira TAGOH 5330-1 - Initial package. - From 4c55c70f84019e8a9c3c2cad091c60a036e0d795 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 18 Jan 2023 21:49:55 +0000 Subject: [PATCH 26/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index b05468a..5c1cde6 100644 --- a/anthy.spec +++ b/anthy.spec @@ -10,7 +10,7 @@ Name: anthy Version: 9100h -Release: 49%{?dist} +Release: 50%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPL-2.1-or-later AND GPL-2.0-only AND LicenseRef-Fedora-Public-Domain URL: http://sourceforge.jp/projects/anthy/ @@ -177,6 +177,9 @@ popd %changelog +* Wed Jan 18 2023 Fedora Release Engineering - 9100h-50 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Wed Nov 30 2022 Akira TAGOH - 9100h-49 - Convert License tag to SPDX. From 726911c0de22d7a6bc1b5767f3a110fa74949d60 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 19 Jul 2023 13:23:36 +0000 Subject: [PATCH 27/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index 5c1cde6..5be4e50 100644 --- a/anthy.spec +++ b/anthy.spec @@ -10,7 +10,7 @@ Name: anthy Version: 9100h -Release: 50%{?dist} +Release: 51%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPL-2.1-or-later AND GPL-2.0-only AND LicenseRef-Fedora-Public-Domain URL: http://sourceforge.jp/projects/anthy/ @@ -177,6 +177,9 @@ popd %changelog +* Wed Jul 19 2023 Fedora Release Engineering - 9100h-51 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Wed Jan 18 2023 Fedora Release Engineering - 9100h-50 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 861cb04cf9c2f67960c7e6660b0b7fbcd95ec907 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Tue, 28 Nov 2023 16:35:40 +0900 Subject: [PATCH 28/36] Fix symbol error on Emacs 29. Resolves: rhbz#2251128 --- anthy-fix-emacs29.patch | 12 ++++++++++++ anthy.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 anthy-fix-emacs29.patch diff --git a/anthy-fix-emacs29.patch b/anthy-fix-emacs29.patch new file mode 100644 index 0000000..ed1dcfc --- /dev/null +++ b/anthy-fix-emacs29.patch @@ -0,0 +1,12 @@ +diff -pruN anthy-9100h.orig/src-util/anthy.el anthy-9100h/src-util/anthy.el +--- anthy-9100h.orig/src-util/anthy.el 2023-11-28 16:31:37.621098068 +0900 ++++ anthy-9100h/src-util/anthy.el 2023-11-28 16:33:42.330200131 +0900 +@@ -71,7 +71,7 @@ + (defvar anthy-highlight-face nil) + (defvar anthy-underline-face nil) + (copy-face 'highlight 'anthy-highlight-face) +-(set-face-underline-p 'anthy-highlight-face t) ++(set-face-underline 'anthy-highlight-face t) + (copy-face 'underline 'anthy-underline-face) + + ;; diff --git a/anthy.spec b/anthy.spec index 5be4e50..f8b0ea2 100644 --- a/anthy.spec +++ b/anthy.spec @@ -10,7 +10,7 @@ Name: anthy Version: 9100h -Release: 51%{?dist} +Release: 52%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPL-2.1-or-later AND GPL-2.0-only AND LicenseRef-Fedora-Public-Domain URL: http://sourceforge.jp/projects/anthy/ @@ -29,6 +29,7 @@ Patch10: %{name}-corpus.patch Patch11: %{name}-fix-elisp.patch Patch12: %{name}-aarch64.patch Patch13: %{name}-fix-segfault.patch +Patch14: %{name}-fix-emacs29.patch Summary: Japanese character set input library Requires: emacs-filesystem >= %{_emacs_version} @@ -177,6 +178,10 @@ popd %changelog +* Tue Nov 28 2023 Akira TAGOH - 9100h-52 +- Fix symbol error on Emacs 29. + Resolves: rhbz#2251128 + * Wed Jul 19 2023 Fedora Release Engineering - 9100h-51 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From db5a572a2100825f6e2a32e44aa07e17c31ce93d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 19 Jan 2024 13:05:11 +0000 Subject: [PATCH 29/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index f8b0ea2..373ac9f 100644 --- a/anthy.spec +++ b/anthy.spec @@ -10,7 +10,7 @@ Name: anthy Version: 9100h -Release: 52%{?dist} +Release: 53%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPL-2.1-or-later AND GPL-2.0-only AND LicenseRef-Fedora-Public-Domain URL: http://sourceforge.jp/projects/anthy/ @@ -178,6 +178,9 @@ popd %changelog +* Fri Jan 19 2024 Fedora Release Engineering - 9100h-53 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Tue Nov 28 2023 Akira TAGOH - 9100h-52 - Fix symbol error on Emacs 29. Resolves: rhbz#2251128 From 89c726ba9942ba197ef70e4feeec9d10b93d485d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Mon, 22 Jan 2024 23:09:32 +0000 Subject: [PATCH 30/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index 373ac9f..5a4639b 100644 --- a/anthy.spec +++ b/anthy.spec @@ -10,7 +10,7 @@ Name: anthy Version: 9100h -Release: 53%{?dist} +Release: 54%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPL-2.1-or-later AND GPL-2.0-only AND LicenseRef-Fedora-Public-Domain URL: http://sourceforge.jp/projects/anthy/ @@ -178,6 +178,9 @@ popd %changelog +* Mon Jan 22 2024 Fedora Release Engineering - 9100h-54 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Fri Jan 19 2024 Fedora Release Engineering - 9100h-53 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 038875320b901263da6de4a5d98899173aaf3d7e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 17 Jul 2024 17:06:46 +0000 Subject: [PATCH 31/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index 5a4639b..a90b7f8 100644 --- a/anthy.spec +++ b/anthy.spec @@ -10,7 +10,7 @@ Name: anthy Version: 9100h -Release: 54%{?dist} +Release: 55%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPL-2.1-or-later AND GPL-2.0-only AND LicenseRef-Fedora-Public-Domain URL: http://sourceforge.jp/projects/anthy/ @@ -178,6 +178,9 @@ popd %changelog +* Wed Jul 17 2024 Fedora Release Engineering - 9100h-55 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Mon Jan 22 2024 Fedora Release Engineering - 9100h-54 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From b02b7add018d57a71da3ce2b45b4a34253145801 Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Thu, 19 Sep 2024 16:53:23 +0900 Subject: [PATCH 32/36] Fix an infinite loop when missing EOL in record file. Resolves: rhbz#1944546 --- anthy-fix-eol.patch | 12 ++++++++++++ anthy.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 anthy-fix-eol.patch diff --git a/anthy-fix-eol.patch b/anthy-fix-eol.patch new file mode 100644 index 0000000..87cb772 --- /dev/null +++ b/anthy-fix-eol.patch @@ -0,0 +1,12 @@ +diff -pruN anthy-9100h.orig/src-worddic/record.c anthy-9100h/src-worddic/record.c +--- anthy-9100h.orig/src-worddic/record.c 2009-01-27 21:11:21.000000000 +0900 ++++ anthy-9100h/src-worddic/record.c 2024-09-19 16:45:00.587508410 +0900 +@@ -1043,7 +1043,7 @@ out: + if (s) { + s[len] = '\0'; + } +- *eol = (c == '\n'); ++ *eol = (c == '\n' || c == EOF); + return s; + } + diff --git a/anthy.spec b/anthy.spec index a90b7f8..b3c5ba9 100644 --- a/anthy.spec +++ b/anthy.spec @@ -10,7 +10,7 @@ Name: anthy Version: 9100h -Release: 55%{?dist} +Release: 56%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPL-2.1-or-later AND GPL-2.0-only AND LicenseRef-Fedora-Public-Domain URL: http://sourceforge.jp/projects/anthy/ @@ -30,6 +30,7 @@ Patch11: %{name}-fix-elisp.patch Patch12: %{name}-aarch64.patch Patch13: %{name}-fix-segfault.patch Patch14: %{name}-fix-emacs29.patch +Patch15: %{name}-fix-eol.patch Summary: Japanese character set input library Requires: emacs-filesystem >= %{_emacs_version} @@ -178,6 +179,10 @@ popd %changelog +* Thu Sep 19 2024 Akira TAGOH - 9100h-56 +- Fix an infinite loop when missing EOL in record file. + Resolves: rhbz#1944546 + * Wed Jul 17 2024 Fedora Release Engineering - 9100h-55 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From 9f2261715c0748141887fccc66d5e4ba15d283ed Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 16 Jan 2025 11:10:52 +0000 Subject: [PATCH 33/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index b3c5ba9..f9bf097 100644 --- a/anthy.spec +++ b/anthy.spec @@ -10,7 +10,7 @@ Name: anthy Version: 9100h -Release: 56%{?dist} +Release: 57%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPL-2.1-or-later AND GPL-2.0-only AND LicenseRef-Fedora-Public-Domain URL: http://sourceforge.jp/projects/anthy/ @@ -179,6 +179,9 @@ popd %changelog +* Thu Jan 16 2025 Fedora Release Engineering - 9100h-57 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Thu Sep 19 2024 Akira TAGOH - 9100h-56 - Fix an infinite loop when missing EOL in record file. Resolves: rhbz#1944546 From b818691011b489fa27c3a8bc622243512b57818b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 23 Jul 2025 17:03:25 +0000 Subject: [PATCH 34/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index f9bf097..32d54ff 100644 --- a/anthy.spec +++ b/anthy.spec @@ -10,7 +10,7 @@ Name: anthy Version: 9100h -Release: 57%{?dist} +Release: 58%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPL-2.1-or-later AND GPL-2.0-only AND LicenseRef-Fedora-Public-Domain URL: http://sourceforge.jp/projects/anthy/ @@ -179,6 +179,9 @@ popd %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 9100h-58 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Thu Jan 16 2025 Fedora Release Engineering - 9100h-57 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 80d1caa5bc6c98914b9aadfe61795c2cff3034fd Mon Sep 17 00:00:00 2001 From: Akira TAGOH Date: Mon, 18 Aug 2025 19:35:28 +0900 Subject: [PATCH 35/36] ci: migrate STI tests to tmt Resolves: rhbz#2382857 --- .fmf/version | 1 + plans/basic.fmf | 5 +++++ tests/basic/main.fmf | 5 +++++ tests/basic/test.sh | 14 ++++++++++++++ tests/basic/word.txt | 8 ++++++++ tests/runtest.sh | 4 ---- tests/tests.yml | 9 --------- 7 files changed, 33 insertions(+), 13 deletions(-) create mode 100644 .fmf/version create mode 100644 plans/basic.fmf create mode 100644 tests/basic/main.fmf create mode 100755 tests/basic/test.sh create mode 100644 tests/basic/word.txt delete mode 100755 tests/runtest.sh delete mode 100644 tests/tests.yml 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/basic/main.fmf b/tests/basic/main.fmf new file mode 100644 index 0000000..3cde53c --- /dev/null +++ b/tests/basic/main.fmf @@ -0,0 +1,5 @@ +summary: Basic test for anthy +require: + - anthy +test: ./test.sh +framework: beakerlib diff --git a/tests/basic/test.sh b/tests/basic/test.sh new file mode 100755 index 0000000..e71c4ce --- /dev/null +++ b/tests/basic/test.sh @@ -0,0 +1,14 @@ +#!/bin/bash +# vim: dict+=/usr/share/beakerlib/dictionary.vim cpt=.,w,b,u,t,i,k + +basedir=$(pwd) + +. /usr/share/beakerlib/beakerlib.sh || exit 1 + +rlJournalStart + rlPhaseStartTest + rlRun "cat word.txt | iconv -f utf-8 -t euc-jp | anthy-dic-tool --load 0 "Registering a word to dict" + rlRun "anthy-dic-tool --dump | iconv -f euc-jp -t utf-8 | grep -v "#" | tee output" 0 "Dumping dict" + rlRun "diff -u word.txt output" 0 "Check difference" + rlPhaseEnd +rlJournalEnd diff --git a/tests/basic/word.txt b/tests/basic/word.txt new file mode 100644 index 0000000..781130e --- /dev/null +++ b/tests/basic/word.txt @@ -0,0 +1,8 @@ +てすと 1 テスト +格助詞接続 = y +語幹のみで文節 = y +する接続 = y +さ接続 = y +な接続 = y +品詞 = 名詞 + diff --git a/tests/runtest.sh b/tests/runtest.sh deleted file mode 100755 index 26aba13..0000000 --- a/tests/runtest.sh +++ /dev/null @@ -1,4 +0,0 @@ -#! /bin/sh - -echo "RESULT: PASS" - diff --git a/tests/tests.yml b/tests/tests.yml deleted file mode 100644 index b7184da..0000000 --- a/tests/tests.yml +++ /dev/null @@ -1,9 +0,0 @@ -- hosts: localhost - roles: - - role: standard-test-basic - tags: - - classic - required_packages: - - anthy - tests: - - run: ./runtest.sh From ed90f959162924647d59d5624ce7173655f550f2 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 16 Jan 2026 03:44:38 +0000 Subject: [PATCH 36/36] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- anthy.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/anthy.spec b/anthy.spec index 32d54ff..d12eca0 100644 --- a/anthy.spec +++ b/anthy.spec @@ -10,7 +10,7 @@ Name: anthy Version: 9100h -Release: 58%{?dist} +Release: 59%{?dist} # The entire source code is LGPLv2+ and dictionaries is GPLv2. the corpus data is under Public Domain. License: LGPL-2.1-or-later AND GPL-2.0-only AND LicenseRef-Fedora-Public-Domain URL: http://sourceforge.jp/projects/anthy/ @@ -179,6 +179,9 @@ popd %changelog +* Fri Jan 16 2026 Fedora Release Engineering - 9100h-59 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Wed Jul 23 2025 Fedora Release Engineering - 9100h-58 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild