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

Comparing COMP/CMSDIST/uuid.spec (file contents):
Revision 1.11 by muzaffar, Tue Jul 6 08:34:44 2010 UTC vs.
Revision 1.13 by eulisse, Tue Jan 11 16:48:41 2011 UTC

# Line 23 | Line 23 | mkdir -p %i/lib
23   mkdir -p %i/include
24   cd lib/uuid
25   make install
26 <
27 < # SCRAM ToolBox toolfile
28 < mkdir -p %i/etc/scram.d
29 < cat << \EOF_TOOLFILE >%i/etc/scram.d/%n.xml
30 <  <tool name="%n" version="%v">
31 <    <lib name="uuid"/>
32 <    <client>
33 <      <environment name="UUID_BASE" default="%i"/>
34 <      <environment name="LIBDIR" default="$UUID_BASE/lib"/>
35 <      <environment name="INCLUDE" default="$UUID_BASE/include"/>
36 <    </client>
37 <    <use name="sockets"/>
38 <  </tool>
39 < EOF_TOOLFILE
40 <
41 < %post
42 < ln -sf $RPM_INSTALL_PREFIX/%cmsplatf/external/%n/%v/lib/libuuid.so.1.2 $RPM_INSTALL_PREFIX/%cmsplatf/external/%n/%v/lib/libuuid.so
43 < %{relocateConfig}etc/scram.d/%n.xml
26 > ln -sf libuuid.so.1.2 %i/lib/libuuid.so
27 > # We remove pkg-config files for two reasons:
28 > # * it's actually not required (macosx does not even have it).
29 > # * rpm 4.8 adds a dependency on the system /usr/bin/pkg-config
30 > #   on linux.
31 > # In the case at some point we build a package that can be build
32 > # only via pkg-config we have to think on how to ship our own
33 > # version.
34 > rm -rf %i/lib/pkgconfig

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines