ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/cppunit.spec
(Generate patch)

Comparing COMP/CMSDIST/cppunit.spec (file contents):
Revision 1.20 by muzaffar, Tue Jul 6 08:34:43 2010 UTC vs.
Revision 1.22 by eulisse, Thu Aug 12 10:12:50 2010 UTC

# Line 7 | Line 7 | Source1: http://spi.cvs.cern.ch:8180/cgi
7  
8   %build
9   case %cmsplatf in
10 <    osx105* ) perl -p -i -e 's|rm(.*)conftest|rm -fr $1 conftest|g' configure \
11 <                                                                    aclocal.m4 \
12 <                                                                                                                    libtool \
13 <                                                                                                                    config/ltmain.sh
10 >    osx* ) perl -p -i -e 's|rm(.*)conftest|rm -fr $1 conftest|g' configure \
11 >                                                                 aclocal.m4 \
12 >                                                                 libtool \
13 >                                                                 config/ltmain.sh
14      ;;
15 < esac
16 < case $(uname) in
17 <    Linux )
15 >    slc* )
16         # Ugly hack to force -ldl to be linked, which for some reason is
17         # not currently happening via configure
18         perl -p -i -e 's|LIBS.*LIBS.*lm|LIBS="$LIBS -lm -ldl|' configure
# Line 26 | Line 24 | make %makeprocesses
24   make install
25   cp %_sourcedir/CppUnit_testdriver.cpp* %i/include/CppUnit_testdriver.cpp
26  
29 # SCRAM ToolBox toolfile
30 mkdir -p %i/etc/scram.d
31 cat << \EOF_TOOLFILE >%i/etc/scram.d/%n.xml
32  <tool name="%n" version="%v">
33    <lib name="cppunit"/>
34    <client>
35      <environment name="CPPUNIT_BASE" default="%i"/>
36      <environment name="LIBDIR" default="$CPPUNIT_BASE/lib"/>
37      <environment name="INCLUDE" default="$CPPUNIT_BASE/include"/>
38    </client>
39    <use name="sockets"/>
40  </tool>
41 EOF_TOOLFILE
42
27   %post
28   %{relocateConfig}/bin/cppunit-config
29   %{relocateConfig}/lib/libcppunit.la
46 %{relocateConfig}etc/scram.d/%n.xml

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines