Only recommend wl-clipboard/xclip if libwayland-client/xorg-x11-server-Xorg

epel9 imports/e9/pass-1.7.4-7.el9
Peter Georg 2 years ago
parent f06fef3555
commit 761c4c7055

@ -6,7 +6,7 @@
Name: pass
Summary: A password manager using standard Unix tools
Version: 1.7.4
Release: 6%{?dist}
Release: 7%{?dist}
License: GPLv2+
Url: http://zx2c4.com/projects/password-store/
BuildArch: noarch
@ -18,8 +18,8 @@ BuildRequires: git-core
BuildRequires: gnupg2
BuildRequires: perl-generators
BuildRequires: tree >= 1.7.0
Recommends: (wl-clipboard if libwayland-client else xclip)
Recommends: (xclip if xorg-x11-server-Xorg else wl-clipboard)
Recommends: (wl-clipboard if libwayland-client)
Recommends: (xclip if xorg-x11-server-Xorg)
Requires: git-core
Requires: gnupg2
Requires: qrencode
@ -81,6 +81,10 @@ make test
%endif
%changelog
* Wed May 10 2023 Peter Georg <peter.georg@physik.uni-regensburg.de> - 1.7.4-7
- Only recommend wl-clipboard if libwayland-client is installed
- Only recommend xclip if xorg-x11-server-Xorg is installed
* Mon Aug 22 2022 Peter Georg <peter.georg@physik.uni-regensburg.de> - 1.7.4-6
- Set wl-copy/xclip requires to recommends
Resolves: rhbz#2022909

Loading…
Cancel
Save