From c4d54d7b75011f0508d9893ff0a40926b35eb16c99e60a46a0157b32a6822f2f Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Wed, 31 Jan 2024 17:28:29 +0000 Subject: [PATCH] Accepting request 1142978 from home:MSirringhaus:branches:mozilla:Factory - Recommend libfido2-udev on codestreams that exist, in order to try to get security keys (e.g. Yubikeys) work out of the box. (bsc#1184272) OBS-URL: https://build.opensuse.org/request/show/1142978 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=1132 --- MozillaFirefox.changes | 6 ++++++ MozillaFirefox.spec | 10 ++++++++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/MozillaFirefox.changes b/MozillaFirefox.changes index 97ffbf62..ba7ddcf8 100644 --- a/MozillaFirefox.changes +++ b/MozillaFirefox.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jan 30 13:51:25 UTC 2024 - Martin Sirringhaus + +- Recommend libfido2-udev on codestreams that exist, in order to try + to get security keys (e.g. Yubikeys) work out of the box. (bsc#1184272) + ------------------------------------------------------------------- Sat Jan 27 23:12:05 UTC 2024 - Andreas Schwab diff --git a/MozillaFirefox.spec b/MozillaFirefox.spec index f9b99d56..307f070b 100644 --- a/MozillaFirefox.spec +++ b/MozillaFirefox.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package MozillaFirefox # # Copyright (c) 2024 SUSE LLC # Copyright (c) 2006-2023 Wolfgang Rosenauer @@ -235,13 +235,19 @@ Patch102: firefox-branded-icons.patch %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires(post): coreutils shared-mime-info desktop-file-utils -Requires(postun):shared-mime-info desktop-file-utils +Requires(postun): shared-mime-info desktop-file-utils Requires: %{name}-branding >= 68 %requires_ge mozilla-nspr %requires_ge mozilla-nss %requires_ge libfreetype6 Recommends: libcanberra0 Recommends: libpulse0 +# To make security-keys (e.g. Yubikey) work with FF, it needs the udev-rules installed. +# A clean package with the most common rules exists only in SP3 onwards. `u2f-hosts` could be used on older +# code streams, but it contains more than just the rules, so we're not recommending it here. +%if 0%{?suse_version} >= 1600 || 0%{?sle_version} >= 150300 +Recommends: libfido2-udev +%endif # addon leads to startup crash (bnc#908892) Obsoletes: tracker-miner-firefox < 0.15 %if 0%{?devpkg} == 0