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

Comparing COMP/CMSDIST/classlib.spec (file contents):
Revision 1.1 by lat, Mon Oct 25 17:17:57 2010 UTC vs.
Revision 1.10 by lat, Sat Jul 9 11:46:49 2011 UTC

# Line 1 | Line 1
1 < ### RPM external classlib 3.1.0
2 < Source: http://cmsmac01.cern.ch/~lat/exports/%n-%realversion.tar.bz2
3 < Requires: zlib bz2lib pcre openssl lzo xz
1 > ### RPM external classlib 3.1.3
2 > Source: http://lat.web.cern.ch/lat/exports/%n-%realversion.tar.bz2
3 > %define online %(case %cmsplatf in (*onl_*_*) echo true;; (*) echo false;; esac)
4 >
5 > Requires: bz2lib
6 > Requires: pcre
7 > %if "%online" != "true"
8 > Requires: openssl
9 > Requires: zlib
10 > %else
11 > Requires: onlinesystemtools
12 > %endif
13  
14   %prep
15   %setup -n %n-%realversion
# Line 14 | Line 23 | Requires: zlib bz2lib pcre openssl lzo x
23    --with-pcre-includes=$PCRE_ROOT/include       \
24    --with-pcre-libraries=$PCRE_ROOT/lib          \
25    --with-openssl-includes=$OPENSSL_ROOT/include \
26 <  --with-openssl-libraries=$OPENSSL_ROOT/lib    \
27 <  --with-lzo-includes=$LZO_ROOT/include         \
28 <  --with-lzo-libraries=$LZO_ROOT/lib            \
29 <  --with-lzma-includes=$XZ_ROOT/include         \
30 <  --with-lzma-libraries=$XZ_ROOT/lib
26 >  --with-openssl-libraries=$OPENSSL_ROOT/lib
27 >
28 > perl -p -i -e '
29 >  s{-l(lzo2|lzma)}{}g;
30 >  !/^\S+: / && s{\S+LZ(O|MA)((C|Dec)ompressor|Constants|Error)\S+}{}g' \
31 > Makefile
32  
33   make %makeprocesses
34  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines