packages: automake/automake.spec - threads are required only if perl was bu...

sparky sparky at pld-linux.org
Sun Nov 22 04:19:15 CET 2009


Author: sparky                       Date: Sun Nov 22 03:19:15 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- threads are required only if perl was built with threads

---- Files affected:
packages/automake:
   automake.spec (1.136 -> 1.137) 

---- Diffs:

================================================================
Index: packages/automake/automake.spec
diff -u packages/automake/automake.spec:1.136 packages/automake/automake.spec:1.137
--- packages/automake/automake.spec:1.136	Sun Nov 22 03:54:01 2009
+++ packages/automake/automake.spec	Sun Nov 22 04:19:09 2009
@@ -38,8 +38,11 @@
 Requires(pre):	fileutils
 Requires:	filesystem >= 3.0-2
 Requires:	perl(File::Glob)
+%if %(%{__perl} -le 'use threads; print 1' || echo 0)
+# required only if perl was built with threads
 Requires:	perl(Thread::Queue)
 Requires:	perl(threads)
+%endif
 Conflicts:	autoconf < 2.60
 Conflicts:	libtool < 2:1.5-11
 #BuildArch:	noarch -- autoconf doesn't allow
@@ -180,6 +183,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.137  2009/11/22 03:19:09  sparky
+- threads are required only if perl was built with threads
+
 Revision 1.136  2009/11/22 02:54:01  sparky
 - rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/automake/automake.spec?r1=1.136&r2=1.137&f=u



More information about the pld-cvs-commit mailing list