SPECS (AC-branch): openssl.spec - 'purify' bcond added

jajcus jajcus at pld-linux.org
Tue Jun 13 12:23:31 CEST 2006


Author: jajcus                       Date: Tue Jun 13 10:23:31 2006 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- 'purify' bcond added

---- Files affected:
SPECS:
   openssl.spec (1.146.2.2 -> 1.146.2.3) 

---- Diffs:

================================================================
Index: SPECS/openssl.spec
diff -u SPECS/openssl.spec:1.146.2.2 SPECS/openssl.spec:1.146.2.3
--- SPECS/openssl.spec:1.146.2.2	Tue Mar 21 20:56:12 2006
+++ SPECS/openssl.spec	Tue Jun 13 12:23:22 2006
@@ -1,4 +1,9 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_with purify	# Compile openssl with \-DPURIFY, usefull when one wants to
+			# use valgrind debugger against openssl-linked programs
+#
 %include	/usr/lib/rpm/macros.perl
 Summary:	OpenSSL Toolkit libraries for the "Secure Sockets Layer" (SSL v2/v3)
 Summary(de):	Secure Sockets Layer (SSL)-Kommunikationslibrary
@@ -200,7 +205,7 @@
 
 %{__perl} util/perlpath.pl %{__perl}
 
-OPTFLAGS="%{rpmcflags}"
+OPTFLAGS="%{rpmcflags} %{?with_purify:-DPURIFY}"
 export OPTFLAGS
 %ifarch %{ix86}
 %ifarch i386
@@ -432,6 +437,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.146.2.3  2006/06/13 10:23:22  jajcus
+- 'purify' bcond added
+
 Revision 1.146.2.2  2006/03/21 19:56:12  radek
 - really moved ca-bundle.crt
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/openssl.spec?r1=1.146.2.2&r2=1.146.2.3&f=u



More information about the pld-cvs-commit mailing list