Use Suggest: for optional dependencies on systems that support it.

This commit is contained in:
Christopher Engelhard 2020-09-22 19:37:49 +02:00
parent 31db6a7296
commit d34ef94d87

View File

@ -31,7 +31,7 @@ Requires: syslinux
# (in addition to the default installed bootloader grub2) while on ppc ppc64 the # (in addition to the default installed bootloader grub2) while on ppc ppc64 the
# default installed bootloader yaboot is also useed to make the bootable ISO image. # default installed bootloader yaboot is also useed to make the bootable ISO image.
### Dependencies on all distributions ### Mandatory dependencies:
Requires: binutils Requires: binutils
Requires: ethtool Requires: ethtool
Requires: gzip Requires: gzip
@ -50,22 +50,20 @@ Requires: genisoimage
Requires: util-linux Requires: util-linux
%endif %endif
# Optional features, leave out for now %if 0%{?rhel} >= 8 || 0%{?fedora}
### Non-mandatory dependencies as RPM weak dependency
### If you require NFS, you may need the below packages ### If you require NFS, you may need the below packages
#Requires: nfsclient portmap rpcbind Suggests: nfsclient portmap rpcbind
### We drop LSB requirements because it pulls in too many dependencies
### The OS is hardcoded in /etc/rear/os.conf instead
#Requires: redhat-lsb
### Required for Bacula/MySQL support ### Required for Bacula/MySQL support
#Requires: bacula-mysql Suggests: bacula-mysql
### Required for OBDR ### Required for OBDR
#Requires: lsscsi sg3_utils Suggests: lsscsi sg3_utils
### Optional requirement ### Optional requirement
#Requires: cfg2html Suggests: cfg2html
%endif
%description %description
Relax-and-Recover is the leading Open Source disaster recovery and system Relax-and-Recover is the leading Open Source disaster recovery and system
@ -78,7 +76,7 @@ a migration tool as well.
Currently Relax-and-Recover supports various boot media (incl. ISO, PXE, Currently Relax-and-Recover supports various boot media (incl. ISO, PXE,
OBDR tape, USB or eSATA storage), a variety of network protocols (incl. OBDR tape, USB or eSATA storage), a variety of network protocols (incl.
sftp, ftp, http, nfs, cifs) as well as a multitude of backup strategies sftp, ftp, http, nfs, cifs) as well as a multitude of backup strategies
(incl. IBM TSM, HP DataProtector, Symantec NetBackup, EMC NetWorker, (incl. IBM TSM, MircroFocus Data Protector, Symantec NetBackup, EMC NetWorker,
Bacula, Bareos, BORG, Duplicity, rsync). Bacula, Bareos, BORG, Duplicity, rsync).
Relax-and-Recover was designed to be easy to set up, requires no maintenance Relax-and-Recover was designed to be easy to set up, requires no maintenance