public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/hunspell-sw] rawhide: Remove unnecessary BuildRequires: hunspell-devel
@ 2026-06-08  6:57 Parag Nemade
  0 siblings, 0 replies; only message in thread
From: Parag Nemade @ 2026-06-08  6:57 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/hunspell-sw
            Branch : rawhide
            Commit : 684cffd4362d3cc9fc4ed9e32ee003e12cdb7e27
            Author : Parag Nemade <panemade AT redhat DOT com>
            Date   : 2026-06-08T12:01:17+05:30
            Stats  : +17/-20 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/hunspell-sw/c/684cffd4362d3cc9fc4ed9e32ee003e12cdb7e27?branch=rawhide

            Log:
            Remove unnecessary BuildRequires: hunspell-devel

Update Source and URL links

---
diff --git a/.gitignore b/.gitignore
index 19fc8fe..f6bbfdb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 dictionary_myspell_sw_TZ_1.1.tar.gz
+/swahilidictionary-2021-09-01.oxt

diff --git a/hunspell-sw.spec b/hunspell-sw.spec
index 1da4a98..d27a5bb 100644
--- a/hunspell-sw.spec
+++ b/hunspell-sw.spec
@@ -6,16 +6,15 @@
 
 Name: hunspell-sw
 Summary: Swahili hunspell dictionaries
-%global upstreamid 20050819
+%global upstreamid 20210901
 Version: 0.%{upstreamid}
-Release: 36%{?dist}
-# Following link is not working and is dead
-# do not report any bugs for this
-Source: http://www.it46.se/downloads/openoffice/dictionary/dictionary_myspell_sw_TZ_1.1.tar.gz
-URL: http://www.it46.se
-License: LGPL-2.1-or-later
+Release: 1%{?dist}
+Source: https://extensions.libreoffice.org/assets/downloads/1799/swahilidictionary-2021-09-01.oxt
+URL: https://extensions.libreoffice.org/en/extensions/show/swahili-dictionary
+# sw_KE.dic licensed as LGPL-2.1-or-later
+# sw_TZ.dic licensed as LGPL-2.0-only
+License: LGPL-2.1-or-later and LGPL-2.0-only
 BuildArch: noarch
-BuildRequires: hunspell-devel
 
 Requires: hunspell-filesystem
 Supplements: (hunspell and langpacks-sw)
@@ -40,21 +39,18 @@ done
 
 %install
 mkdir -p $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
-cp -p *.dic *.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
-pushd $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}/
-sw_TZ_aliases="sw_KE"
-for lang in $sw_TZ_aliases; do
-        ln -s sw_TZ.aff $lang.aff
-        ln -s sw_TZ.dic $lang.dic
-done
-popd
-
+cp -p sw*.dic sw*.aff $RPM_BUILD_ROOT/%{_datadir}/%{dict_dirname}
 
 %files
-%doc README_sw_TZ.txt
-%{_datadir}/%{dict_dirname}/*
+%doc README_sw_TZ.txt README_sw_KE.txt
+%license Licence.txt
+%{_datadir}/%{dict_dirname}/sw*
 
 %changelog
+* Mon Jun 08 2026 Parag Nemade <panemade AT redhat DOT com> - 0.20210901-1
+- Remove unnecessary BuildRequires: hunspell-devel
+- Update Source and URL links
+
 * Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 0.20050819-36
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
 

diff --git a/sources b/sources
index 019bad3..67f5814 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-1ce4e40feaf5e890db87daeeb793222d  dictionary_myspell_sw_TZ_1.1.tar.gz
+SHA512 (swahilidictionary-2021-09-01.oxt) = 8a7c52bd7ac076d009844b30285095791a75e4cee7a9c09748296c79c6d0c5133a5ae7616416a88d6ea86d06450dd42a672eb797138c0f263a75e04d60e6b247

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-08  6:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-08  6:57 [rpms/hunspell-sw] rawhide: Remove unnecessary BuildRequires: hunspell-devel Parag Nemade

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox