mico/mico.spec

changeset 628
10fbfbc9b548
parent 85
e6a1cd7ed6ba
     1.1 --- a/mico/mico.spec	Tue Aug 28 19:00:30 2012 +0200
     1.2 +++ b/mico/mico.spec	Tue Aug 28 19:00:40 2012 +0200
     1.3 @@ -32,7 +32,7 @@
     1.4  Group:        RPC
     1.5  License:      LGPL/GPL
     1.6  Version:      2.3.13
     1.7 -Release:      20081215
     1.8 +Release:      20120800
     1.9  
    1.10  #   package options
    1.11  %option       with_ssl      no
    1.12 @@ -46,10 +46,8 @@
    1.13  Source2:      rc.mico
    1.14  
    1.15  #   build information
    1.16 -Prefix:       %{l_prefix}
    1.17 -BuildRoot:    %{l_buildroot}
    1.18 -BuildPreReq:  OpenPKG, openpkg >= 20060823, make, gcc, gcc::with_cxx = yes
    1.19 -PreReq:       OpenPKG, openpkg >= 20060823
    1.20 +BuildPreReq:  OpenPKG, openpkg >= 20100101, make, gcc, gcc::with_cxx = yes
    1.21 +PreReq:       OpenPKG, openpkg >= 20100101
    1.22  %if "%{with_ssl}" == "yes"
    1.23  BuildPreReq:  openssl
    1.24  PreReq:       openssl
    1.25 @@ -70,8 +68,6 @@
    1.26  BuildPreReq:  tcl
    1.27  PreReq:       tcl
    1.28  %endif
    1.29 -AutoReq:      no
    1.30 -AutoReqProv:  no
    1.31  
    1.32  %description
    1.33      The acronym MICO expands to MICO Is CORBA. The intention of this
    1.34 @@ -94,6 +90,9 @@
    1.35  
    1.36  %prep
    1.37      %setup -q -n mico
    1.38 +    %{l_shtool} subst \
    1.39 +        -e '/#include <mico\/impl.h>/a#include "limits.h"' \
    1.40 +        orb/fast_array.cc
    1.41  
    1.42  %build
    1.43      CC="%{l_cc}"
    1.44 @@ -151,8 +150,6 @@
    1.45      %{l_make} %{l_mflags -O}
    1.46  
    1.47  %install
    1.48 -    rm -rf $RPM_BUILD_ROOT
    1.49 -
    1.50      #   make directory structure
    1.51      %{l_shtool} mkdir -f -p -m 755 \
    1.52          $RPM_BUILD_ROOT%{l_prefix}/bin \
    1.53 @@ -205,7 +202,6 @@
    1.54  %files -f files
    1.55  
    1.56  %clean
    1.57 -    rm -rf $RPM_BUILD_ROOT
    1.58  
    1.59  %pre
    1.60      #   before upgrade, save status and stop service

mercurial