diff -r aba05e03de0f -r 10fbfbc9b548 mico/mico.spec --- a/mico/mico.spec Tue Aug 28 19:00:30 2012 +0200 +++ b/mico/mico.spec Tue Aug 28 19:00:40 2012 +0200 @@ -32,7 +32,7 @@ Group: RPC License: LGPL/GPL Version: 2.3.13 -Release: 20081215 +Release: 20120800 # package options %option with_ssl no @@ -46,10 +46,8 @@ Source2: rc.mico # build information -Prefix: %{l_prefix} -BuildRoot: %{l_buildroot} -BuildPreReq: OpenPKG, openpkg >= 20060823, make, gcc, gcc::with_cxx = yes -PreReq: OpenPKG, openpkg >= 20060823 +BuildPreReq: OpenPKG, openpkg >= 20100101, make, gcc, gcc::with_cxx = yes +PreReq: OpenPKG, openpkg >= 20100101 %if "%{with_ssl}" == "yes" BuildPreReq: openssl PreReq: openssl @@ -70,8 +68,6 @@ BuildPreReq: tcl PreReq: tcl %endif -AutoReq: no -AutoReqProv: no %description The acronym MICO expands to MICO Is CORBA. The intention of this @@ -94,6 +90,9 @@ %prep %setup -q -n mico + %{l_shtool} subst \ + -e '/#include /a#include "limits.h"' \ + orb/fast_array.cc %build CC="%{l_cc}" @@ -151,8 +150,6 @@ %{l_make} %{l_mflags -O} %install - rm -rf $RPM_BUILD_ROOT - # make directory structure %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/bin \ @@ -205,7 +202,6 @@ %files -f files %clean - rm -rf $RPM_BUILD_ROOT %pre # before upgrade, save status and stop service