There seems to be a bug in the Dependency defintion for the gnome-applets-2.8.0-5.1 package. Even though the apmd_archs is defined in the specfile # apmd is built on %{ix86} and ppc %define apmd_archs %{ix86} ppc and the Build-Dependency on apmd is defined in the spec %ifarch ${apmd_archs} BuildRequires: apmd >= %{apmd_version} %endif rebuilding without apmd does result in the following message: Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.20091 + umask 022 + cd /usr/src/redhat/BUILD + test -e /usr/lib/libapm.a + echo 'You must have apmd installed' You must have apmd installed + exit 1 error: Bad exit status from /var/tmp/rpm-tmp.20091 (%prep) This should actually not happen as rpm should be able to notice that no apmd package is available and complain right after the dependency check. Substituting ${apmd_archs} with %{apmd_archs} in the %ifarch statement seems to fix this problem.
Nicely spotted, many thanks. This was already fixed in the FC-4 development branch, but I've put the fix into the RHEL-4 and FC-3 branches too now. However, I didn't release an update with just this fix, but it will be in the next update that gets releasted.