Spec file for foreman is using Release: 1%{dist} but it should be %{?dist}
Sorry, this is foreman-proxy spec file. not foreman.
Verified on: Satellite-6.1.0-RHEL-7-20150303.0 Steps to verify: [root@sat6 ~]# rpm -qi foreman-proxy | grep Release Release : 1.el7sat
This bug is slated to be released with Satellite 6.1.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2015:1592