#!/bin/bash make srpm SRPM=$(make verrel).src.rpm for distro in rhl9 fc1 fc2 fc3 fc4 fc5 fc6 fc7 fc8 rhel3 rhel4 rhel5 do mb ${distro}.32 $SRPM done