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

Comparing COMP/CMSDIST/rpm.spec (file contents):
Revision 1.73 by eulisse, Thu Jan 29 16:41:45 2009 UTC vs.
Revision 1.75 by andreasp, Tue May 19 09:01:05 2009 UTC

# Line 32 | Line 32 | Patch7: rpm-4.4.2.2
32   Patch8: rpm-4.4.2.2-leopard
33   Patch9: rpm-4.4.x-flcompress
34   Patch10: rpm-fix-static-declaration
35 + Patch11: rpm-4.4.2.3-leopoard-bufsiz.patch
36  
37   # Defaults here
38   %define libdir lib
# Line 77 | Line 78 | Provides: Kerberos
78   echo %(echo %{cmsos} | cut -f1 -d_)
79   %if "%(echo %{cmsos} | cut -f1 -d_)" == "osx105"
80   %patch8 -p1
81 + %patch11 -p1
82   %endif
83  
84   %patch9 -p1
# Line 85 | Line 87 | echo %(echo %{cmsos} | cut -f1 -d_)
87   rm -rf neon sqlite beecrypt elfutils zlib
88  
89   %build
90 < export CFLAGS="-fPIC -g -O0"
90 > case %cmsos in
91 >    osx*)
92 >        export CFLAGS="-fPIC "
93 >    ;;
94 >    *)
95 >        export CFLAGS="-fPIC -g -O0"
96 >    ;;
97 > esac
98 >
99   export CPPFLAGS="-I$BEECRYPT_ROOT/include -I$BEECRYPT_ROOT/include/beecrypt -I$BZ2LIB_ROOT/include -I$NEON_ROOT/include/neon -I$DB4_ROOT/include -I$EXPAT_ROOT/include/expat -I$ELFUTILS_ROOT/include -I$ZLIB_ROOT/include"
100   export LDFLAGS="-L$BEECRYPT_ROOT/%libdir -L$BZ2LIB_ROOT/lib -L$NEON_ROOT/lib -L$DB4_ROOT/lib -L$EXPAT_ROOT/%libdir -L$ELFUTILS_ROOT/lib -L$ZLIB_ROOT/lib -lz -lexpat -lbeecrypt -lbz2 -lneon -lpthread"
101   #FIXME: this does not seem to work and we still get /usr/bin/python in some of the files.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines