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.23 by elmer, Mon Nov 8 21:17:37 2010 UTC vs.
Revision 1.26 by eulisse, Wed Sep 21 13:48:05 2011 UTC

# Line 18 | Line 18 | case %cmsplatf in
18         perl -p -i -e 's|LIBS.*LIBS.*lm|LIBS="$LIBS -lm -ldl|' configure
19      ;;
20   esac
21 < ./configure --prefix=%i
21 > ./configure --prefix=%i --disable-static
22   make %makeprocesses
23   %install
24   make install
25   cp %_sourcedir/CppUnit_testdriver_cpp %i/include/CppUnit_testdriver.cpp
26 + # We remove pkg-config files for two reasons:
27 + # * it's actually not required (macosx does not even have it).
28 + # * rpm 4.8 adds a dependency on the system /usr/bin/pkg-config
29 + #   on linux.
30 + # In the case at some point we build a package that can be build
31 + # only via pkg-config we have to think on how to ship our own
32 + # version.
33 + rm -rf %i/lib/pkgconfig
34 + # Remove unneded files
35 + rm -rf %i/lib/*.{l,}a
36 + # Read documentation online
37 + %define drop_files %i/share
38  
39   %post
40   %{relocateConfig}/bin/cppunit-config
29 %{relocateConfig}/lib/libcppunit.la

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines