فهرست منبع

upgrading package: ruby 1.6.7 -> 1.6.8

Ralf S. Engelschall 23 سال پیش
والد
کامیت
4245333f11
1فایلهای تغییر یافته به همراه7 افزوده شده و 5 حذف شده
  1. 7 5
      ruby/ruby.spec

+ 7 - 5
ruby/ruby.spec

@@ -32,17 +32,18 @@ Packager:     The OpenPKG Project
 Distribution: OpenPKG [BASE]
 Group:        Language
 License:      GPL
-Version:      1.6.7
-Release:      20020820
+Version:      1.6.8
+Release:      20021230
 
 #   list of sources
 Source0:      ftp://ftp.ruby-lang.org/pub/ruby/ruby-%{version}.tar.gz
+Patch0:       ruby.patch
 
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20020206, gcc
-PreReq:       OpenPKG, openpkg >= 20020206
+BuildPreReq:  OpenPKG, openpkg >= 20020206, readline, ncurses, gcc
+PreReq:       OpenPKG, openpkg >= 20020206, readline, ncurses
 AutoReq:      no
 AutoReqProv:  no
 
@@ -56,10 +57,11 @@ AutoReqProv:  no
 
 %prep
     %setup -q
+    %patch -p0
 
 %build
     CC="%{l_cc}" \
-    CFLAGS="%{l_cflags -O}" \
+    CFLAGS="%{l_cflags -O} %{l_cppflags}" \
     ./configure \
         --prefix=%{l_prefix} \
         --disable-shared