diff --git a/eggdrop.spec b/eggdrop.spec index 9db8aa4..bc3aa6c 100644 --- a/eggdrop.spec +++ b/eggdrop.spec @@ -15,7 +15,11 @@ BuildRequires: gnupg2 BuildRequires: gcc BuildRequires: tcl-devel >= 8.3 BuildRequires: zlib-devel +%if 0%{?fedora} || 0%{?rhel} >= 8 BuildRequires: openssl-devel >= 0.9.8 +%else +BuildRequires: openssl11-devel +%endif %description Eggdrop is the world's most popular Open Source IRC bot, designed @@ -24,12 +28,17 @@ and/or C modules, has support for the big five IRC networks and is able to form botnets, share partylines and userfiles between bots. %prep -gpgv2 --keyring %{SOURCE2} %{SOURCE1} %{SOURCE0} +%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}' %setup -q %patch0 -p1 -b .langdir %build -%configure +%configure \ +%if 0%{?rhel} == 7 + --with-sslinc=%{_includedir}/openssl11 \ + --with-ssllib=%{_libdir}/openssl11 +%endif + make config # Parallel builds are not supported make