From 5eb0ae9bb7fecf047a647ffefc67a2af1777e2d5 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 23 Sep 2009 10:14:51 +0000 Subject: Fix bug in with_system_readline logic. --- contrib/crossrpms/gdb/gdb.add | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'contrib') diff --git a/contrib/crossrpms/gdb/gdb.add b/contrib/crossrpms/gdb/gdb.add index f0271f6437..7c869f5502 100644 --- a/contrib/crossrpms/gdb/gdb.add +++ b/contrib/crossrpms/gdb/gdb.add @@ -56,13 +56,13 @@ BuildRequires: %{_host_rpmprefix}expat-devel BuildRequires: %{_host_rpmprefix}termcap-devel %endif %bcond_with system_readline -%endif - +%else %if 0%{?fedora} >= 12 %bcond_with system_readline %else %bcond_without system_readline %endif +%endif %{?with_system_readline:BuildRequires: %{_host_rpmprefix}readline-devel} BuildRequires: %{_host_rpmprefix}ncurses-devel -- cgit v1.2.3