View | Details | Raw Unified | Return to bug 23031
Collapse All | Expand All

(-)/etc/sisyphus_check/check.d/000-check-changelog.orig (-1 / +1 lines)
Lines 17-23 Link Here
17
	local f="$1" && shift || return 1
17
	local f="$1" && shift || return 1
18
	local rc=0
18
	local rc=0
19
19
20
	if ! [ "$((current_time+86400))" -ge "$rpm_changelogtime" ] 2>/dev/null; then
20
	if ! [ "$((current_time+86400))" -le "$rpm_changelogtime" ] 2>/dev/null; then
21
		FileError "CHANGELOGTIME in the future: $(date -d "1970-01-01 UTC $rpm_changelogtime seconds")" "$f"
21
		FileError "CHANGELOGTIME in the future: $(date -d "1970-01-01 UTC $rpm_changelogtime seconds")" "$f"
22
		rc=1
22
		rc=1
23
	fi
23
	fi

Return to bug 23031