]> git.pld-linux.org Git - packages/python-ldaptor.git/blobdiff - python-ldaptor.spec
- enabled doc bcond
[packages/python-ldaptor.git] / python-ldaptor.spec
index 544b1644ee9b7d99d400d95a2e4e40a6f7847f71..bbe3b43bfdd9c42c9f4c3cecc349e0a7e581d8f1 100644 (file)
@@ -1,6 +1,6 @@
 #
 # Conditional build:
-%bcond_with    doc             # build the documentation
+%bcond_without doc             # build the documentation
 #
 %define                githash         29a06fa
 Summary:       Python LDAP client library
@@ -34,11 +34,14 @@ BuildRequires:      python-docutils
 BuildRequires: source-highlight
 %endif
 Requires:      Zope-Interface
-Requires:      python-modules
-Requires:      python-pyparsing
+Requires:      python-Crypto
 Requires:      python-TwistedCore
+Requires:      python-TwistedCore-ssl
 Requires:      python-TwistedMail
 Requires:      python-TwistedNames
+Requires:      python-modules
+Requires:      python-pyOpenSSL
+Requires:      python-pyparsing
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -66,7 +69,6 @@ Requires:     %{name} = %{version}-%{release}
 The package contains command line utilities build upon python-ldaptor
 library.
 
-
 %prep
 %setup -q -n ldaptor-%{githash}
 # remove deprecated web interface
@@ -83,6 +85,8 @@ rm -f ldaptor/test/test_webui.*
 %patch6 -p1
 %patch7 -p1
 
+%{__sed} -i -e 's|/usr/share/xml|/usr/share/sgml|g' doc/Makefile doc/slides-driver.xsl
+
 %build
 %{__python} setup.py build
 
This page took 0.072072 seconds and 4 git commands to generate.