Browse Source

fix diffutils

Ralf S. Engelschall 24 years ago
parent
commit
149a3f902a
1 changed files with 3 additions and 1 deletions
  1. 3 1
      diffutils/diffutils.spec

+ 3 - 1
diffutils/diffutils.spec

@@ -43,7 +43,7 @@ Source3:      sdiff.1
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 0.9-33
+BuildPreReq:  OpenPKG, openpkg >= 0.9-33, texinfo
 PreReq:       OpenPKG, openpkg >= 0.9-33
 AutoReq:      no
 AutoReqProv:  no
@@ -55,6 +55,7 @@ AutoReqProv:  no
     %setup -q 
 
 %build
+    PATH="%{l_prefix}/bin:$PATH"; export PATH
     CC="%{l_cc}" \
     CFLAGS="%{l_cflags -O}" \
     ./configure \
@@ -64,6 +65,7 @@ AutoReqProv:  no
 
 %install
     rm -rf $RPM_BUILD_ROOT
+    PATH="%{l_prefix}/bin:$PATH"; export PATH
     %{l_make} %{l_mflags} install prefix=$RPM_BUILD_ROOT%{l_prefix}
     rm -f $RPM_BUILD_ROOT%{l_prefix}/info/dir
     strip $RPM_BUILD_ROOT%{l_prefix}/bin/* 2>/dev/null || true