]> git.pld-linux.org Git - packages/automake.git/commitdiff
- threads are required only if perl was built with threads auto/th/automake-1_11-2
authorsparky <sparky@pld-linux.org>
Sun, 22 Nov 2009 03:19:09 +0000 (03:19 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    automake.spec -> 1.137

automake.spec

index c4f751d79674d6b490681c0e678e9534df55a06a..339c6ae47d16ff7e202d0e1accc0cd7a7958dc3f 100644 (file)
@@ -37,8 +37,11 @@ BuildRequires:       texinfo >= 4.7
 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
This page took 0.07601 seconds and 4 git commands to generate.