From f3ed98ee4cfa8254e57db845639bbf298e7f1ff1 Mon Sep 17 00:00:00 2001 From: Artur Frysiak Date: Fri, 30 Apr 1999 10:20:15 +0000 Subject: [PATCH] used %{_target} macro Changed files: elvis.spec -> 1.5 --- elvis.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/elvis.spec b/elvis.spec index e2a2b93..c002a34 100644 --- a/elvis.spec +++ b/elvis.spec @@ -43,7 +43,8 @@ CC="cc $RPM_OPT_FLAGS" LDFLAGS="-static -s" \ ./configure \ --prefix=/usr \ --without-x \ - linux + %{_target} + make LIBS="-lncurses" mv elvis elvis.static @@ -53,7 +54,8 @@ CC="cc $RPM_OPT_FLAGS" LDFLAGS="-s" \ ./configure \ --prefix=/usr \ --with-x \ - linux + %{_target} + make LIBS="-lncurses -lX11 -L/usr/X11R6/lib" %install -- 2.43.0