SOURCES: pldcpan.pl - no build_requires was used when requires was...

migo migo at pld-linux.org
Fri Nov 11 20:47:54 CET 2005


Author: migo                         Date: Fri Nov 11 19:47:54 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- no build_requires was used when requires was empty (in META.yml)

---- Files affected:
SOURCES:
   pldcpan.pl (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SOURCES/pldcpan.pl
diff -u SOURCES/pldcpan.pl:1.24 SOURCES/pldcpan.pl:1.25
--- SOURCES/pldcpan.pl:1.24	Fri Nov 11 20:21:08 2005
+++ SOURCES/pldcpan.pl	Fri Nov 11 20:47:49 2005
@@ -581,7 +581,10 @@
 BuildRequires:	rpm-perlprov >= 4.1-13
 [% IF test_has_tests -%]
 %if %{with tests}
-[% FOREACH req = META_yml.requires, META_yml.build_requires -%]
+[% FOREACH req = META_yml.requires -%]
+BuildRequires:	perl([% req.key %])[%IF req.value%] >= [% req.value %][%END%]
+[% END -%]
+[% FOREACH req = META_yml.build_requires -%]
 BuildRequires:	perl([% req.key %])[%IF req.value%] >= [% req.value %][%END%]
 [% END -%]
 %endif
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/pldcpan.pl?r1=1.24&r2=1.25&f=u




More information about the pld-cvs-commit mailing list