Browse Source

superuser test has problems with /bin/sh on NFS mounted filesystem

Thomas Lotterer 23 years ago
parent
commit
a22bd674c5
1 changed files with 3 additions and 1 deletions
  1. 3 1
      rcs/rcs.spec

+ 3 - 1
rcs/rcs.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [REL]
 Group:        SCM
 Group:        SCM
 License:      GPL
 License:      GPL
 Version:      5.7
 Version:      5.7
-Release:      20020206
+Release:      20020807
 
 
 #   list of sources
 #   list of sources
 Source0:      ftp://ftp.gnu.org/gnu/rcs/rcs-%{version}.tar.gz
 Source0:      ftp://ftp.gnu.org/gnu/rcs/rcs-%{version}.tar.gz
@@ -57,6 +57,8 @@ AutoReqProv:  no
     %setup -q
     %setup -q
 
 
 %build
 %build
+    chmod u+w src/conf.sh
+    %{l_shtool} subst -e 's/\(.*superuser permissions.*\)/\1; : \\/' src/conf.sh 
     PATH="%{l_prefix}/bin:$PATH"; export PATH
     PATH="%{l_prefix}/bin:$PATH"; export PATH
     CC="%{l_cc}" \
     CC="%{l_cc}" \
     CFLAGS="%{l_cflags -O}" \
     CFLAGS="%{l_cflags -O}" \