public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Parag Nemade <panemade AT redhat DOT com>
To: git-commits@fedoraproject.org
Subject: [rpms/hunspell-pt] rawhide: Resolves: rhbz#2571722 Fix encoding of .aff file to UTF-8
Date: Fri, 13 Nov 2026 12:20:29 GMT [thread overview]
Message-ID: <179457242946.1.2165796308653261630.rpms-hunspell-pt-10e0fe5fea7f@fedoraproject.org> (raw)
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)
reply other threads:[~2026-11-13 12:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179457242946.1.2165796308653261630.rpms-hunspell-pt-10e0fe5fea7f@fedoraproject.org \
--to=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox