From c43c706b966f5af328b10760bbd3ff58dc48ae09 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Sun, 25 Jan 2015 22:09:39 +0200 Subject: [PATCH] with system libtom needs tomcrypt enabled with tommath --- dropbear.spec | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dropbear.spec b/dropbear.spec index 8da5812..09b8d4b 100644 --- a/dropbear.spec +++ b/dropbear.spec @@ -3,7 +3,7 @@ # # Conditional build: %bcond_with pam # PAM authentication support -%bcond_with system_libtom # use system libtommath/libtomcrypt +%bcond_without system_libtom # use system libtommath/libtomcrypt Summary: Dropbear - a smallish ssh2 server Summary(pl.UTF-8): Dropbear - mały serwer ssh2 @@ -18,8 +18,7 @@ Patch0: system-libtom.patch URL: https://matt.ucc.asn.au/dropbear/dropbear.html BuildRequires: autoconf >= 2.50 BuildRequires: automake -%{?with_system_libtom:BuildRequires: libtomcrypt-devel} -%{?with_system_libtom:BuildRequires: libtommath-devel} +%{?with_system_libtom:BuildRequires: libtomcrypt-devel >= 1.17-2} %{?with_pam:BuildRequires: pam-devel} BuildRequires: zlib-devel BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -- 2.44.0