diff --git a/firefox-openeuler-default-prefs.js b/firefox-openeuler-default-prefs.js index fcd3158a0904f77ce0108431fce66e9764a96db7..3b77808a449dd4cd1f3ffadc8c9bd5cca163521e 100644 --- a/firefox-openeuler-default-prefs.js +++ b/firefox-openeuler-default-prefs.js @@ -26,7 +26,7 @@ pref("browser.display.use_system_colors", false); /* Allow sending credetials to all https:// sites */ pref("network.negotiate-auth.trusted-uris", "https://"); pref("security.use_sqldb", false); -pref("spellchecker.dictionary_path","/usr/share/myspell"); +pref("spellchecker.dictionary_path","/usr/share/hunspell"); /* Disable DoH by default */ pref("network.trr.mode", 5); /* Enable per-user policy dir, see mozbz#1583466 */ diff --git a/firefox.spec b/firefox.spec index b6ee8794c9341971d143babbb42178810324dcd4..04ff3c59ee77abefaaee7bf5dea3c80513038d79 100644 --- a/firefox.spec +++ b/firefox.spec @@ -45,7 +45,7 @@ Summary: Mozilla Firefox Web browser Name: firefox Version: 128.14.0 -Release: 1 +Release: 2 URL: https://www.mozilla.org/firefox/ License: MPL-1.1 or GPL-2.0-or-later or LGPL-2.0-or-later Source0: https://ftp.mozilla.org/pub/firefox/releases/%{version}esr/source/firefox-%{version}esr.source.tar.xz @@ -803,7 +803,7 @@ sed -i -e 's|%PREFIX%|%{_prefix}|' %{buildroot}%{mozappdir}/browser/defaults/pre # Use the system hunspell dictionaries %{__rm} -rf %{buildroot}%{mozappdir}/dictionaries -ln -s %{_datadir}/myspell %{buildroot}%{mozappdir}/dictionaries +ln -s %{_datadir}/hunspell %{buildroot}%{mozappdir}/dictionaries %if 0%{?run_firefox_tests} %{__mkdir_p} %{buildroot}/%{version}-%{release}/test_results @@ -852,21 +852,6 @@ if [ $1 -eq 0 ]; then %{__rm} -rf %{mozappdir}/plugins fi -%post -update-desktop-database &> /dev/null || : -touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : - -%postun -update-desktop-database &> /dev/null || : -if [ $1 -eq 0 ] ; then - touch --no-create %{_datadir}/icons/hicolor &>/dev/null - gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - %{__rm} -rf %{langpackdir} -fi - -%posttrans -gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : - %files -f %{name}.lang %{_bindir}/firefox %{mozappdir}/firefox @@ -924,6 +909,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %endif %changelog +* Tue Aug 26 2025 Funda Wang - 128.14.0-2 +- hunspell contains dictionary now +- drop useless update desktop and icon cache scriptlet + * Tue Aug 19 2025 Funda Wang - 128.14.0-1 - update to 128.14.0