Browse Source

fix path substitution to correctly find rlog command dependency

master
Michael Schloh von Bennewitz 22 years ago committed by Ralf S. Engelschall
parent
commit
7121c4780c
  1. 5
      cvsweb/cvsweb.spec

5
cvsweb/cvsweb.spec

@ -43,7 +43,8 @@ Source0: http://people.freebsd.org/~scop/cvsweb/cvsweb-%{version}.tar.gz
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130
PreReq: OpenPKG, openpkg >= 20040130, rcs, perl, perl-sys, cvs, gzip, tar, infozip
PreReq: OpenPKG, openpkg >= 20040130, rcs, perl
PreReq: perl-sys, perl-www, cvs, gzip, tar, infozip
AutoReq: no
AutoReqProv: no
@ -69,7 +70,7 @@ AutoReqProv: no
-e 's;/usr/local/etc/cvsweb/cvsweb.conf;%{l_prefix}/etc/cvsweb/cvsweb.conf;' \
cvsweb.cgi
%{l_shtool} subst \
-e 's;/usr/bin:/usr/local/bin;%{l_prefix}/bin:/bin:/usr/bin;g' \
-e 's;/bin /usr/bin /usr/local/bin;%{l_prefix}/bin /bin /usr/bin;g' \
-e 's;/usr/local/etc/apache/mime\.types;%{l_prefix}/etc/apache/mime.types;g' \
cvsweb.conf

Loading…
Cancel
Save