Ralf S. Engelschall 24 years ago
parent
commit
916182e6a9
1 changed files with 3 additions and 1 deletions
  1. 3 1
      tin/tin.spec

+ 3 - 1
tin/tin.spec

@@ -40,7 +40,7 @@ Source0:      ftp://ftp.tin.org/pub/news/clients/tin/unstable/tin-%{version}.tar
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 0.9-33, ncurses
+BuildPreReq:  OpenPKG, openpkg >= 0.9-33, ncurses, make
 PreReq:       OpenPKG, openpkg >= 0.9-33, ncurses
 AutoReq:      no
 AutoReqProv:  no
@@ -52,6 +52,7 @@ AutoReqProv:  no
     %setup -q
 
 %build
+    PATH="%{l_prefix}/bin:$PATH"; export PATH
     CC="%{l_cc}" \
     CFLAGS="%{l_cflags -O} -I%{l_prefix}/include -I%{l_prefix}/include/ncurses" \
     LDFLAGS="-L%{l_prefix}/lib" \
@@ -72,6 +73,7 @@ AutoReqProv:  no
 
 %install
     rm -rf $RPM_BUILD_ROOT
+    PATH="%{l_prefix}/bin:$PATH"; export PATH
     %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/bin/
     %{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/man/man1/
     %{l_shtool} install -c -s -m 755 src/tin $RPM_BUILD_ROOT%{l_prefix}/bin/