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.5 by fwyzard, Thu Jan 20 00:02:54 2011 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines