Applies to vixie-cron-4.1-51.FC5.1.src.rpm. Use command: rpmbuild --define 'WITH_SELINUX 0' -ba vixie-cron.spec Several patches assume selinux patches have already been applied, including patch13, patch46, and patch48. 13 and 46 can be dealt with by creating copies of those patches and removing selinux from the "-" lines. 48 looks more complicated, as it has some interaction with prior selinux-related patches that are not applied in the WITH_SELINUX 0 case. (I'm attempting to install the latest Development Mailman SRPM on FC2 and it has a dependency on a recent vixie-cron, which in turn is dependent on selinux-devel. I don't want to upgrade selinux but am willing to update vixie-cron.)
Created attachment 124595 [details] Changes to spec to support WITH_SELINUX 0
Created attachment 124596 [details] Modified patch13 for use when WITH_SELINUX is 0 This does NOT obsolete patch 13.
Created attachment 124597 [details] Modifed patch46 for use when WITH_SELINUX is 0 This does NOT obsolete patch 46.
Thanks - this bug is now fixed with vixie-cron-4.1-52.FC5 in rawhide-20060215.
Same command, fails to note my lack of the audit package, and fails when building misc.c (which includes libaudit.h). We need a BuildRequires on audit-libs-devel. The package builds successfully with rpmbuild -ba --define 'WITH_SELINUX 0' --define 'WITH_AUDIT 0' vixie-cron.spec
Thanks for report. It's ok now.