]> git.pld-linux.org Git - packages/perl-Test-Simple.git/commitdiff
- added _noautoreq needed with rpm 4.0.2 and perl without threads perl-Test-Simple-0_45-2
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 13 Jul 2002 15:40:19 +0000 (15:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Test-Simple.spec -> 1.11

perl-Test-Simple.spec

index 6ec2dfdb7070d5c1ea3e24fe277055055428be43..a47af1d6c63a09fb3171ed6f99a8158ced5037b2 100644 (file)
@@ -15,6 +15,13 @@ BuildRequires:       rpm-perlprov >= 3.0.3-16
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+# false requires found by rpm 4.0.2
+%if "%(perl -MConfig -e 'print $Config{useithreads};')" != "define"
+%define                _noautoreq      'perl(threads)' 'perl(threads::shared)'
+%else
+Requires:      perl(threads) perl(threads::shared)
+%endif
+
 %description
 This is an extremely simple, extremely basic module for writing tests
 suitable for CPAN modules and other pursuits. If you wish to do more
This page took 0.032623 seconds and 4 git commands to generate.