Added version to obsolete firefox-wayland/x11

This commit is contained in:
Martin Stransky 2024-01-30 11:08:42 +01:00
parent 919e30e38f
commit 0f5857cb63
1 changed files with 6 additions and 3 deletions

View File

@ -174,7 +174,7 @@ ExcludeArch: i686
Summary: Mozilla Firefox Web browser
Name: firefox
Version: 122.0
Release: 2%{?pre_tag}%{?dist}
Release: 3%{?pre_tag}%{?dist}
URL: https://www.mozilla.org/firefox/
License: MPLv1.1 or GPLv2+ or LGPLv2+
Source0: https://archive.mozilla.org/pub/firefox/releases/%{version}%{?pre_version}/source/firefox-%{version}%{?pre_version}.source.tar.xz
@ -499,8 +499,8 @@ to run Firefox explicitly on Wayland.
# 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
Obsoletes: firefox-x11
Obsoletes: firefox-wayland < 122.0-2
Obsoletes: firefox-x11 < 122.0-2
%endif
%if 0%{?run_firefox_tests}
@ -1177,6 +1177,9 @@ fi
#---------------------------------------------------------------------
%changelog
* Tue Jan 30 2024 Martin Stransky <stransky@redhat.com>- 122.0-3
- Added version to obsolete firefox-wayland/x11
* Mon Jan 29 2024 Martin Stransky <stransky@redhat.com>- 122.0-2
- Obsolete firefox-wayland and firefox-x11 on Fedora 40+