#!/bin/bash
if sisyphus_check --verbose --files --no-check=ALL \
--check-gpg --check-buildhost --check-buildtime \
$REPOCOP_PKG > $REPOCOP_TEST_TMPDIR/msg 2>&1; then
    exec repocop-test-ok
else
    exec repocop-test-warn "package need a rebuild: it is too old, so that sisyphus_check complains: " `cat $REPOCOP_TEST_TMPDIR/msg`;
fi
