diff --git a/pass.spec b/pass.spec index a064fe5..e0d9a5d 100644 --- a/pass.spec +++ b/pass.spec @@ -6,7 +6,7 @@ Name: pass Summary: A password manager using standard Unix tools Version: 1.7.4 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ Url: http://zx2c4.com/projects/password-store/ BuildArch: noarch @@ -17,7 +17,8 @@ BuildRequires: git-core BuildRequires: gnupg2 BuildRequires: perl-generators BuildRequires: tree >= 1.7.0 -Requires: (xclip or wl-clipboard) +Requires: (wl-clipboard if libwayland-client else xclip) +Requires: (xclip if xorg-x11-server-Xorg else wl-clipboard) Requires: git-core Requires: gnupg2 Requires: qrencode @@ -79,6 +80,10 @@ make test %endif %changelog +* Thu Sep 09 2021 Christophe Fergeau - 1.7.4-3 +- adjust wl-copy/xclip requires so that they are actually installed when needed + Resolves: rhbz#1996323 + * Thu Jul 22 2021 Fedora Release Engineering - 1.7.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild