[CentOS] curl build system is broken and so is mock

Thu Aug 4 00:23:10 UTC 2016
Alice Wonder <alice at domblogger.net>

On 08/03/2016 05:20 PM, Alice Wonder wrote:
> On 08/03/2016 05:11 PM, Alice Wonder wrote:
>> I'm having a major frustration with curl.
>>
>> When building curl, if libssl.so.10 is present the curl binary WILL link
>> against it.
>
> *snip*
>
> Go ahead and ldd on the CentOS curl binary and library - you will see
> openssl linked even though the spec file has --disable-ssl and --enable-nss
>
> It's clearly broken.
>

And building the CentOS curl package doesn't even BuildRequires the 
openssl-devel package.

It's linking against a library it doesn't have the headers for.

That's broken.