Quellcode durchsuchen

modifying package: xmake-1.06 20040207 -> 20041122

Christoph Schug vor 21 Jahren
Ursprung
Commit
cbe8ebd4ff
1 geänderte Dateien mit 5 neuen und 2 gelöschten Zeilen
  1. 5 2
      xmake/xmake.spec

+ 5 - 2
xmake/xmake.spec

@@ -34,7 +34,7 @@ Class:        PLUS
 Group:        Development
 License:      no restrictions
 Version:      1.06
-Release:      20040207
+Release:      20041122
 
 #   list of sources
 Source0:      http://apollo.backplane.com/xmake/xmake-%{version}.tgz
@@ -43,7 +43,7 @@ Source0:      http://apollo.backplane.com/xmake/xmake-%{version}.tgz
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
 BuildPreReq:  OpenPKG, openpkg >= 20040130, make, gcc
-PreReq:       OpenPKG, openpkg >= 20040130
+PreReq:       OpenPKG, openpkg >= 20040130, gcc
 AutoReq:      no
 AutoReqProv:  no
 
@@ -62,6 +62,9 @@ AutoReqProv:  no
 
 %prep
     %setup -q -n xmake
+    %{l_shtool} subst \
+        -e 's;^\(#define[ 	]*CPPCMD[ 	]\).*$;\1 "%{l_cc} -E -DXMAKE -nostdinc " INCLS " -x c";' \
+        defs.h
 
 %build
     %{l_make} %{l_mflags -O} \