浏览代码

make subst use old sed patterns

Michael van Elst 22 年之前
父节点
当前提交
1fb5d3a38b
共有 1 个文件被更改,包括 3 次插入4 次删除
  1. 3 4
      aegis/aegis.spec

+ 3 - 4
aegis/aegis.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [EVAL]
 Group:        Text
 License:      GPL
 Version:      4.11
-Release:      20030616
+Release:      20030617
 
 #   list of sources
 Source0:      http://aegis.sourceforge.net/aegis-%{version}.tar.gz
@@ -56,9 +56,8 @@ AutoReqProv:  no
 %prep
     %setup -q
     %{l_shtool} subst \
-        -e 's/-chown /true /g' \
-        -e 's/\(\&\& *\)chgrp /\1true /g' \
-        -e 's/\([\t ]\)chgrp /\1true /g' \
+        -e 's/-chown /-true /g' \
+        -e 's/chgrp /true /g' \
         -e 's/\(\&\& *\)chmod /\1true /g' \
         Makefile.in