浏览代码

allow working with CVS 1.12 and higher, too

Ralf S. Engelschall 22 年之前
父节点
当前提交
a158259283
共有 2 个文件被更改,包括 15 次插入1 次删除
  1. 12 0
      shiela/shiela.patch
  2. 3 1
      shiela/shiela.spec

+ 12 - 0
shiela/shiela.patch

@@ -0,0 +1,12 @@
+Index: shiela-install.sh
+--- shiela-install.sh.orig	2002-12-23 15:46:44.000000000 +0100
++++ shiela-install.sh	2003-09-22 13:46:17.000000000 +0200
+@@ -371,7 +371,7 @@
+     CVS_VENDOR=CVSHome.org
+ fi
+ case $CVS_VERSION in
+-   1.10.[789]* | 1.10.1[0123456789]* | 1.11.* )
++   1.10.[789]* | 1.10.1[0123456789]* | 1.1[1-9].* )
+        ;;
+    * )
+        echo "ERROR: CVS has to be at least version 1.10.7"

+ 3 - 1
shiela/shiela.spec

@@ -33,10 +33,11 @@ Distribution: OpenPKG [BASE]
 Group:        SCM
 License:      GPL
 Version:      1.0.4
-Release:      20030115
+Release:      20030922
 
 #   list of sources
 Source0:      ftp://ftp.ossp.org/pkg/tool/shiela/shiela-%{version}.tar.gz
+Patch0:       shiela.patch
 
 #   build information
 Prefix:       %{l_prefix}
@@ -52,6 +53,7 @@ AutoReqProv:  no
 
 %prep
     %setup -q
+    %patch -p0
 
 %build
     ./configure \