[devel] sisyphus_check: selfbuildreq

ALT QA Team Robot =?iso-8859-1?q?at_=CE=C1_altlinux=2Eru?=
Чт Сен 30 14:08:19 MSD 2004


Hi,

This is experimental sisyphus_check v2.0.1.
I will run only test "selfbuildreq".

Description for test "selfbuildreq":
	source packages should not depend on itself;
i.e. package name should not itself be listed in BuildRequires clause;
there's a few exceptions, though, as it comes under the notion
of bootstrapping

Strictly speaking, the following perl code will be invoked:
	$VAR1 = sub {
                  package Sisyphus::Check;
                  use strict 'refs';
                  return if not $$rpm{'SOURCEPACKAGE'};
                  return if not $$rpm{'REQUIRENAME'};
                  foreach my $dep (@{$$rpm{'REQUIRENAME'};}) {
                      W($dep) if $dep eq $$rpm{'NAME'};
                  }
              };

Test results:

Sisyphus/files/SRPMS/ghc-6.2.1.20040316-alt4.src.rpm
Warning(selfbuildreq): ghc
Sisyphus/files/SRPMS/lilypond-2.2.0-alt0.7.src.rpm
Warning(selfbuildreq): lilypond
Sisyphus/files/SRPMS/mcs-1.0-alt1.src.rpm
Warning(selfbuildreq): mcs
Sisyphus/files/SRPMS/monodoc-1.0-alt1.src.rpm
Warning(selfbuildreq): monodoc
Sisyphus/files/SRPMS/osec-1.0.1-alt1.src.rpm
Warning(selfbuildreq): osec
Sisyphus/files/SRPMS/perl-PDL-2.4.1-alt1.src.rpm
Warning(selfbuildreq): perl-PDL
Sisyphus/files/SRPMS/ppp-2.4.2-alt2.src.rpm
Warning(selfbuildreq): ppp
Sisyphus/files/SRPMS/rpm-4.0.4-alt40.src.rpm
Warning(selfbuildreq): rpm
Sisyphus/files/SRPMS/sbcl-0.8.14-alt1.src.rpm
Warning(selfbuildreq): sbcl
Sisyphus/files/SRPMS/squid-2.5.STABLE6-alt3.src.rpm
Warning(selfbuildreq): squid
Sisyphus/files/SRPMS/xsp-1.0-alt1.src.rpm
Warning(selfbuildreq): xsp

-- 
ALT QA Team Robot
Softool 2004: http://altlinux.ru/index.php?module=softool2004



Подробная информация о списке рассылки Devel