Description of problem: "make -f /usr/share/selinux/devel/Makefile" requires m4, but the selinux-policy package does not depend on m4. This forces all spec files which need to compile an SELinux policy module to know that selinux-policy depends on m4 and add that dependency themselves. Version-Release number of selected component (if applicable): selinux-policy-2.2.47-3.fc5 Expected behaviour: selinux-policy should depend on m4.
We have split out selinux-policy-devel in FC6/Rawhide package which has this requirement. I do not want to bring this requirement back into FC5 since it might break other things.
That makes sense in a way. So I'm going to use the following in my SPEC file: %if "%{fedora}" >= "6" BuildRequires: selinux-policy-devel %else BuildRequires: selinux-policy, m4 %endif