public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hunspell-pt] rawhide: Resolves: rhbz#2571722 Fix encoding of .aff file to UTF-8
@ 2026-11-13 12:20 Parag Nemade
0 siblings, 0 replies; only message in thread
From: Parag Nemade @ 2026-11-13 12:20 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/hunspell-pt
Branch : rawhide
Commit : 10e0fe5fea7fbaab819801f37d71e899061022f2
Author : Parag Nemade <panemade AT redhat DOT com>
Date : 2026-11-12T12:05:29+05:30
Stats : +9/-2 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/hunspell-pt/c/10e0fe5fea7fbaab819801f37d71e899061022f2?branch=rawhide
Log:
Resolves: rhbz#2571722 Fix encoding of .aff file to UTF-8
---
diff --git a/hunspell-pt.spec b/hunspell-pt.spec
index f7eba7e..e0e14f1 100644
--- a/hunspell-pt.spec
+++ b/hunspell-pt.spec
@@ -8,7 +8,7 @@ Name: hunspell-pt
Summary: Portuguese hunspell dictionaries
%global upstreamid 20251001
Version: 0.%{upstreamid}
-Release: 1%{?dist}
+Release: 2%{?dist}
Source0: https://natura.di.uminho.pt/download/sources/Dictionaries/hunspell/hunspell-pt_PT-20251001.tar.gz
Source1: https://downloads.sourceforge.net/project/aoo-extensions/18650/0/veroptbrv320aoc.oxt
# URL: https://pt-br.libreoffice.org/projetos/vero
@@ -33,7 +33,11 @@ Brazilian Portuguese hunspell dictionaries
%prep
%autosetup -n hunspell-pt_PT-%{upstreamid}
unzip -q -o %{SOURCE1}
-for i in pt_BR.dic README_pt_PT.txt; do
+
+# Ensure .aff file also using UTF-8 encoding
+sed -i '1c\SET UTF-8\nFLAG UTF-8' pt_BR.aff
+
+for i in pt_BR.aff pt_BR.dic README_pt_PT.txt; do
if ! iconv -f utf-8 -t utf-8 -o /dev/null $i > /dev/null 2>&1; then
iconv -f ISO-8859-1 -t UTF-8 $i > $i.new
touch -r $i $i.new
@@ -70,6 +74,9 @@ popd
%{_datadir}/%{dict_dirname}/pt_BR.*
%changelog
+* Thu Nov 12 2026 Parag Nemade <panemade AT redhat DOT com> - 0.20251001-2
+- Resolves: rhbz#2571722 Fix encoding of .aff file to UTF-8
+
* Fri Jul 17 2026 Parag Nemade <panemade AT redhat DOT com> - 0.20251001-1
- Update pt_PT to new upstream release (rh#2501709)
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-13 12:20 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-13 12:20 [rpms/hunspell-pt] rawhide: Resolves: rhbz#2571722 Fix encoding of .aff file to UTF-8 Parag Nemade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox