From ad979873e1e76a79c1e5b949f86d75664fe9a54b Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 12:17:31 +0000 Subject: auto-import sendmail-8.12.5-5 from sendmail-8.12.5-5.src.rpm --- diff --git a/sendmail.etc-mail-Makefile b/sendmail.etc-mail-Makefile index a9fb130..e2f2fad 100644 --- a/sendmail.etc-mail-Makefile +++ b/sendmail.etc-mail-Makefile @@ -18,8 +18,10 @@ userdb.db : userdb @makemap hash $@ < $< %.cf : %.mc - @mv -f $@ $@.bak - @m4 $< > $@ + @if test -f /usr/share/sendmail-cf/m4/cf.m4; then \ + mv -f $@ $@.bak; \ + m4 $< > $@; \ + fi; clean: rm -f *.db *~ diff --git a/sendmail.spec b/sendmail.spec index 5902cc6..70799a2 100644 --- a/sendmail.spec +++ b/sendmail.spec @@ -3,7 +3,7 @@ # the version number to build on. Supported should be 62 70 71 72 for # Red Hat Linux 6.2 up to 7.2 and "100" for the current rawhide version. %define errata 100 -%define release 4 +%define release 5 %if %{errata} <= 70 %define sendmailcf usr/lib/sendmail-cf @@ -518,6 +518,9 @@ exit 0 %{_docdir}/sendmail %changelog +* Thu Jul 25 2002 Phil Knirsch +- Only generate new cf files if the /usr/share/sendmail-cf/m4/cf.m4 exists. + * Wed Jul 24 2002 Phil Knirsch - Changed the behaviour in /etc/mail/Makefile to generate the sendmail.cf and submit.cf from the mc files if they changed.