[packages/python-ldaptor] - enabled doc bcond - cleaned up BRs

baggins baggins at pld-linux.org
Wed Jan 8 20:50:23 CET 2014


commit f16cc43f0bb7e2ad3102b9f6abd5aef0c2133f1f
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Wed Jan 8 20:46:27 2014 +0100

    - enabled doc bcond
    - cleaned up BRs

 python-ldaptor.spec | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/python-ldaptor.spec b/python-ldaptor.spec
index 544b164..bbe3b43 100644
--- a/python-ldaptor.spec
+++ b/python-ldaptor.spec
@@ -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
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/python-ldaptor.git/commitdiff/4137079110f5c72a23ae2ba858ed356890530a32



More information about the pld-cvs-commit mailing list