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.4 by fwyzard, Wed Jan 19 21:48:43 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 > Requires: bz2lib
4 > Requires: pcre
5 > %if "%online" != "true"
6 > Requires: openssl
7 > Requires: zlib
8 > %else
9 > Requires: onlinesystemtools
10 > %endif
11  
12   %prep
13   %setup -n %n-%realversion
# Line 14 | Line 21 | Requires: zlib bz2lib pcre openssl lzo x
21    --with-pcre-includes=$PCRE_ROOT/include       \
22    --with-pcre-libraries=$PCRE_ROOT/lib          \
23    --with-openssl-includes=$OPENSSL_ROOT/include \
24 <  --with-openssl-libraries=$OPENSSL_ROOT/lib    \
25 <  --with-lzo-includes=$LZO_ROOT/include         \
26 <  --with-lzo-libraries=$LZO_ROOT/lib            \
27 <  --with-lzma-includes=$XZ_ROOT/include         \
28 <  --with-lzma-libraries=$XZ_ROOT/lib
24 >  --with-openssl-libraries=$OPENSSL_ROOT/lib
25 >
26 > perl -p -i -e '
27 >  s{-l(lzo2|lzma)}{}g;
28 >  !/^\S+: / && s{\S+LZ(O|MA)((C|Dec)ompressor|Constants|Error)\S+}{}g' \
29 > Makefile
30  
31   make %makeprocesses
32  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines