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

Comparing COMP/CMSDIST/zlib.spec (file contents):
Revision 1.7 by ratnik, Wed Apr 18 23:46:02 2007 UTC vs.
Revision 1.10 by elmer, Tue May 22 06:41:16 2007 UTC

# Line 1 | Line 1
1 < ### RPM external zlib 1.1.4
2 < Requires: gcc-wrapper
3 < Source: http://www.gzip.org/%n/%n-%v.tar.bz2
1 > ### RPM external zlib 1.1.4-XXXX
2 > Source: http://www.gzip.org/%n/%n-%realversion.tar.bz2
3 > Patch: zlib-1.1.4-shared-for-32-bit-on-x86_64
4 >
5 > %prep
6 > %setup -n %n-%realversion
7 > # Apply this patch to force shared libraries to be created. The problem
8 > # only appears when building 32-bit on 64-bit machines (./configure gets
9 > # confused by the 'skipping /usr/lib64' message), but applying it on all
10 > # linux builds should not hurt since they all should build shared libraries.
11 > %ifos linux
12 > %patch -p1
13 > %endif
14  
15   %build
6 ## IMPORT gcc-wrapper
16   case $(uname) in
17    Darwin )
18      LDSHARED="gcc -dynamiclib" ./configure --shared --prefix=%i

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines