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

Comparing COMP/CMSDIST/python-ldap.spec (file contents):
Revision 1.1 by ratnik, Thu Jul 10 20:30:34 2008 UTC vs.
Revision 1.2 by ratnik, Fri Jul 11 21:30:29 2008 UTC

# Line 1 | Line 1
1   ### RPM external python-ldap 2.3.5
2   Source: http://voxel.dl.sourceforge.net/sourceforge/python-ldap/python-ldap-%{realversion}.tar.gz
3   Requires: python
4 + Requires: openssl
5   Requires: openldap
6  
7   %prep
# Line 8 | Line 9 | Requires: openldap
9   pwd
10   %build
11   pwd
12 < perl -p -i -e 's|/usr/local/openldap-2.3/|$ENV{OPENLDAP_ROOT}/|; s|(library_dirs = .*)|$1 /usr/lib/sasl2|;' setup.cfg
12 >
13 > mkdir -p sasl2lib
14 > ln -s /usr/lib/libsasl2.so.2.0.19 sasl2lib/libsasl2.so
15 >
16 > perl -p -i -e 's|/usr/local/openldap-2.3/|$ENV{OPENLDAP_ROOT}/|; s|(library_dirs = .*)|$1 /usr/lib/sasl2 %{_builddir}/%n-%{realversion}/sasl2lib $ENV{OPENSSL_ROOT}/lib|;' setup.cfg
17   python setup.py build
18   %install
19   python setup.py install --prefix=%i

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines