fix obsoletes

This commit is contained in:
Martin Stransky 2024-01-30 13:24:09 +01:00
parent fc0a23427b
commit fce8323a24

View File

@ -440,6 +440,13 @@ BuildRequires: libproxy-devel
Obsoletes: mozilla <= 37:1.7.13
Provides: webclient
# Don't ship firefox-x11 and firefox-wayland on Fedora 40.
# Wayland backend is considered as mature enough now.
%if 0%{?fedora} >= 40
Obsoletes: firefox-wayland < 122.0-2
Obsoletes: firefox-x11 < 122.0-2
%endif
%description
Mozilla Firefox is an open-source web browser, designed for standards
compliance, performance and portability.
@ -496,13 +503,6 @@ to run Firefox explicitly on Wayland.
%{_datadir}/applications/firefox-wayland.desktop
%endif
# Don't ship firefox-x11 and firefox-wayland on Fedora 40.
# Wayland backend is considered as mature enough now.
%if 0%{?fedora} >= 40
Obsoletes: firefox-wayland < 122.0-2
Obsoletes: firefox-x11 < 122.0-2
%endif
%if 0%{?run_firefox_tests}
%global testsuite_pkg_name %{name}-testresults
%package -n %{testsuite_pkg_name}