From: Terry Burton Date: Wed, 4 Sep 2019 17:31:28 +0000 (+0100) Subject: Add openssl-perl as a BuildRequires in the Redhat spec file X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7cdb717fc336f68ed8faea7278468c4881c4eae;p=thirdparty%2Ffreeradius-server.git Add openssl-perl as a BuildRequires in the Redhat spec file Docker crossbuilds are broken because c_rehash is missing. The Docker build images obtain their package list from the spec file. --- diff --git a/redhat/freeradius.spec b/redhat/freeradius.spec index 87184d1fcb7..723e3ea7d70 100644 --- a/redhat/freeradius.spec +++ b/redhat/freeradius.spec @@ -67,7 +67,9 @@ BuildRequires: gdbm-devel %if %{?_with_freeradius_openssl:1}%{!?_with_freeradius_openssl:0} BuildRequires: freeradius-openssl, freeradius-openssl-devel %else -BuildRequires: openssl, openssl-devel +# Need openssl-perl for c_rehash, which is used in tests. We don't currently +# run a test step, but other tooling obtains build requirements from here. +BuildRequires: openssl, openssl-devel, openssl-perl %endif BuildRequires: libcurl-devel