SPECS: perl-Mozilla-LDAP.spec - added bcond to build against seamo...

hawk hawk at pld-linux.org
Sat May 20 15:45:25 CEST 2006


Author: hawk                         Date: Sat May 20 13:45:25 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added bcond to build against seamonkey

---- Files affected:
SPECS:
   perl-Mozilla-LDAP.spec (1.22 -> 1.23) 

---- Diffs:

================================================================
Index: SPECS/perl-Mozilla-LDAP.spec
diff -u SPECS/perl-Mozilla-LDAP.spec:1.22 SPECS/perl-Mozilla-LDAP.spec:1.23
--- SPECS/perl-Mozilla-LDAP.spec:1.22	Sun May  9 22:00:18 2004
+++ SPECS/perl-Mozilla-LDAP.spec	Sat May 20 15:45:19 2006
@@ -2,6 +2,7 @@
 #
 # Conditional build:
 %bcond_without	tests	# do not perform "make test"
+%bcond_with	seamonkey	# build without seamonkey-devel
 #
 %include	/usr/lib/rpm/macros.perl
 Summary:	PerLDAP - Mozilla::LDAP perl modules
@@ -48,7 +49,12 @@
 EOF
 
 %{__make} \
-	OPTIMIZE="%{rpmcflags} -I/usr/include/mozilla/ldap"
+	OPTIMIZE="%{rpmcflags} \
+%if %{with seamonkey}
+	-I/usr/include/seamonkey/ldap"
+%else
+	-I/usr/include/mozilla/ldap"
+%endif
 
 %{?with_tests:%{__make} test}
 
@@ -85,6 +91,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.23  2006/05/20 13:45:19  hawk
+- added bcond to build against seamonkey
+
 Revision 1.22  2004/05/09 20:00:18  qboosh
 - fixed build on amd64, removed obsolete -L, release 9
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/perl-Mozilla-LDAP.spec?r1=1.22&r2=1.23&f=u



More information about the pld-cvs-commit mailing list