Paul Howarth wrote:
That would be:
%dist .el5
(the leading dot is needed)
This macro is not defined in any existing EL-5 package, only in the Fedora buildsystem, so unless you're building your packages using mock, you'll need this local macro definition.
Installing buildsys-macros from
http://buildsys.fedoraproject.org/buildgroups/rhel5/i386/
is another alternative. That also provides %rhel and %el5 (well, %el$VERSION).