From b505505100b4de31a183746ead024e3610e516fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= Date: Tue, 12 Oct 2021 16:27:56 +0100 Subject: [PATCH] Related: rhbz#2013265 upgrade to the latest pt_BR version and update URL --- .gitignore | 3 +-- hunspell-pt.spec | 16 +++++++++------- sources | 4 ++-- 3 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 95d620b..dd913f5 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ -/vero_pt_br_v210aoc.oxt /hunspell-pt_PT-20130125.tar.gz -/ptBR20130317AOC.zip +/ptBR-2013-10-30AOC-2.zip diff --git a/hunspell-pt.spec b/hunspell-pt.spec index 4fc3f9a..166c548 100644 --- a/hunspell-pt.spec +++ b/hunspell-pt.spec @@ -1,12 +1,11 @@ Name: hunspell-pt Summary: Portuguese hunspell dictionaries -%global upstreamid 20130125 +%global upstreamid 20131030 Version: 0.%{upstreamid} -Release: 17%{?dist} +Release: 1%{?dist} Source0: http://natura.di.uminho.pt/download/sources/Dictionaries/hunspell/hunspell-pt_PT-20130125.tar.gz -# Mark following Source1 as dead link -Source1: http://pt-br.libreoffice.org/assets/ptBR20130317AOC.zip -URL: http://www.broffice.org/verortografico/baixar +Source1: https://pt-br.libreoffice.org/assets/Uploads/PT-BR-Documents/VERO/ptBR-2013-10-30AOC-2.zip +URL: https://pt-br.libreoffice.org/projetos/vero # pt_BR dicts are under LGPLv3 or MPL, pt_PT under GPLv2 or LGPLv2 or MPLv1.1 License: ((LGPLv3 or MPL) and LGPLv2) and (GPLv2 or LGPLv2 or MPLv1.1) BuildArch: noarch @@ -20,7 +19,7 @@ Portuguese hunspell dictionaries. %prep %setup -q -n hunspell-pt_PT-20130125 unzip -q -o %{SOURCE1} -for i in README_pt_BR.txt README_pt_PT.txt; do +for i in README_pt_BR.TXT 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 @@ -47,11 +46,14 @@ popd %files -%doc README_pt_BR.txt README_pt_PT.txt +%doc README_pt_BR.TXT README_pt_PT.txt %license COPYING %{_datadir}/myspell/* %changelog +* Tue Oct 12 2021 Caolán McNamara - 0.20131030-1 +- Related: rhbz#2013265 upgrade to the latest pt_BR version and update URL + * Thu Jul 22 2021 Fedora Release Engineering - 0.20130125-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild diff --git a/sources b/sources index 7d6d433..5b4dc75 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -d7d8c66fc4b425b4f0dd813b4651c995 hunspell-pt_PT-20130125.tar.gz -fbfe2eee6aa8072b5bd00a528bd37a40 ptBR20130317AOC.zip +SHA512 (ptBR-2013-10-30AOC-2.zip) = 67149da8a16ef08087a1c0529c84b5a09570b21780364896c1a6b5ff5ba19ff6d850baea8a03ce830645c1c98170a860df9c58ae57925c185cffcef24de7a502 +SHA512 (hunspell-pt_PT-20130125.tar.gz) = 7484d84fcc8fd29eb16ba47489e9823c7aa4d56e8e4c68d65365aab25f6415657d4ef31c4ac805db9ddc7487213877ccbf33db5e4897d4836a641a6090c9717b