From 3069ddcd827ed8256da728c86751bd2e21fa1dd5 Mon Sep 17 00:00:00 2001 From: Jakub Bogusz Date: Thu, 6 Dec 2012 16:48:39 +0100 Subject: [PATCH] - adjusted for final packaging of lua5.2 --- nmap.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/nmap.spec b/nmap.spec index 29ddf85..1a8f020 100644 --- a/nmap.spec +++ b/nmap.spec @@ -27,7 +27,7 @@ BuildRequires: gettext-devel BuildRequires: libpcap-devel BuildRequires: libstdc++-devel BuildRequires: libtool -BuildRequires: lua52-devel +BuildRequires: lua52-devel >= 5.2 BuildRequires: openssl-devel BuildRequires: pcre-devel BuildRequires: python-devel >= 1:2.4 @@ -131,9 +131,9 @@ done cp -f /usr/share/automake/config.sub . CXXFLAGS="%{rpmcxxflags} -fno-rtti -fno-exceptions" -CPPFLAGS="-I/usr/include/lua52" +CPPFLAGS="-I/usr/include/lua5.2" %configure \ - LIBLUA_LIBS="-llua52" \ + LIBLUA_LIBS="-llua5.2" \ --with-libdnet%{!?with_system_dnet:=included} \ --with-liblua -- 2.44.0