Fix test data generation script

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
(cherry picked from commit 6a9c8551d2449b4a9581b403562338be765861a5)
This commit is contained in:
Lubomír Sedlář 2025-02-27 14:29:03 +01:00 committed by Stepan Oksanichenko
parent 74ceea10ba
commit 545215da19

View File

@ -35,6 +35,11 @@ for spec in $DIR/*.spec; do
if [ "$(basename $spec)" == "dummy-skype.spec" ]; then if [ "$(basename $spec)" == "dummy-skype.spec" ]; then
continue continue
fi fi
if [ "$(basename $spec)" == "dummy-fcoe-target-utils.spec" ]; then
if [ "$target" == "ppc" -o "$target" == "s390" -o "$target" == "s390x" ]; then
continue
fi
fi
echo "Building ${spec/.spec/} for $target" echo "Building ${spec/.spec/} for $target"
rpmbuild --quiet --target=$target -ba --nodeps --define "_srcrpmdir $DIR/../repo/src" --define "_rpmdir $DIR/../repo" $spec rpmbuild --quiet --target=$target -ba --nodeps --define "_srcrpmdir $DIR/../repo/src" --define "_rpmdir $DIR/../repo" $spec
done done