summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/parseChangelog.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/parseChangelog.c b/build/parseChangelog.c
index 3091b1264..60f99990c 100644
--- a/build/parseChangelog.c
+++ b/build/parseChangelog.c
@@ -108,7 +108,10 @@ static int dateToTimet(const char * datestr, time_t * secs)
free(tz);
}
if (*secs == -1) goto exit;
- if (!sameDate(&time, &ntime)) goto exit;
+
+ /* XXX Turn this into a hard error in a release or two */
+ if (!sameDate(&time, &ntime))
+ rpmlog(RPMLOG_WARNING, _("bogus date in %%changelog: %s\n"), datestr);
rc = 0;