From 63a2618a074f3f35babaf58e9a2033c9cd3f0e4e Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: Fri, 30 Apr 2021 11:46:47 +0200 Subject: [PATCH] Added pciutils-libs req (rhbz#1955338), Enabled Wayland on KDE (rhbz#1922608) --- firefox.sh.in | 8 ++++---- firefox.spec | 7 ++++++- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/firefox.sh.in b/firefox.sh.in index 2274b1b..76df06b 100644 --- a/firefox.sh.in +++ b/firefox.sh.in @@ -74,11 +74,11 @@ if ! [ $MOZ_DISABLE_WAYLAND ] && [ "$WAYLAND_DISPLAY" ]; then if [ "$XDG_CURRENT_DESKTOP" == "GNOME" ]; then export MOZ_ENABLE_WAYLAND=1 fi -## Remove comments to enable Wayland on KDE/Sway +## Enable Wayland on KDE/Sway ## -## if [ "$XDG_SESSION_TYPE" == "wayland" ]; then -## export MOZ_ENABLE_WAYLAND=1 -## fi + if [ "$XDG_SESSION_TYPE" == "wayland" ]; then + export MOZ_ENABLE_WAYLAND=1 + fi fi ## diff --git a/firefox.spec b/firefox.spec index f321553..60168db 100644 --- a/firefox.spec +++ b/firefox.spec @@ -146,7 +146,7 @@ ExcludeArch: s390x Summary: Mozilla Firefox Web browser Name: firefox Version: 88.0 -Release: 6%{?pre_tag}%{?dist} +Release: 7%{?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 @@ -291,6 +291,7 @@ Requires: mozilla-filesystem Recommends: mozilla-openh264 >= 2.1.1 Recommends: libva Requires: p11-kit-trust +Requires: pciutils-libs %if %{?system_nss} Requires: nspr >= %{nspr_build_version} Requires: nss >= %{nss_build_version} @@ -1026,6 +1027,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : #--------------------------------------------------------------------- %changelog +* Fri Apr 30 2021 Martin Stransky - 88.0-7 +- Added pciutils-libs req (rhbz#1955338) +- Enabled Wayland on KDE (rhbz#1922608) + * Tue Apr 27 2021 Martin Stransky - 88.0-6 - Test fix.