hughesjr / rpms / tzdata

Forked from rpms/tzdata 2 years ago
Clone

Blame SOURCES/0001-Put-dummy-pacificnew-into-rearguard-tarball.patch

4f70cb
From 0c8cac40a6ee69e106f3b034624890b98cad5b01 Mon Sep 17 00:00:00 2001
4f70cb
From: Paul Eggert <eggert@cs.ucla.edu>
4f70cb
Date: Mon, 12 Oct 2020 16:15:27 -0700
4f70cb
Subject: [PROPOSED] Put dummy pacificnew into rearguard tarball
4f70cb
4f70cb
Problem reported by Mike Cullinan in:
4f70cb
https://mm.icann.org/pipermail/tz/2020-October/029309.html
4f70cb
* Makefile (tzdata$(VERSION)-rearguard.tar.gz):
4f70cb
Put an empty pacificnew file into the rearguard tarball.
4f70cb
* NEWS: Mention this.
4f70cb
---
4f70cb
 Makefile | 6 +++++-
4f70cb
 NEWS     | 7 +++++++
4f70cb
 2 files changed, 12 insertions(+), 1 deletion(-)
4f70cb
4f70cb
diff --git a/Makefile b/Makefile
4f70cb
index 28972c6..95f0a06 100644
4f70cb
--- a/Makefile
4f70cb
+++ b/Makefile
4f70cb
@@ -1022,10 +1022,14 @@ tzdata$(VERSION)-rearguard.tar.gz: rearguard.zi set-timestamps.out
4f70cb
 		done
4f70cb
 		sed '1s/$$/-rearguard/' \
4f70cb
 		  <version >tzdata$(VERSION)-rearguard.dir/version
4f70cb
+		: The dummy pacificnew pacifies TZUpdater 2.3.1 and earlier.
4f70cb
+		touch -md 2020-10-12T22:53:00Z \
4f70cb
+		  tzdata$(VERSION)-rearguard.dir/pacificnew
4f70cb
 		touch -cmr version tzdata$(VERSION)-rearguard.dir/version
4f70cb
 		LC_ALL=C && export LC_ALL && \
4f70cb
 		  (cd tzdata$(VERSION)-rearguard.dir && \
4f70cb
-		   tar $(TARFLAGS) -cf - $(COMMON) $(DATA) $(MISC) | \
4f70cb
+		   tar $(TARFLAGS) -cf - \
4f70cb
+			$(COMMON) $(DATA) $(MISC) pacificnew | \
4f70cb
 		     gzip $(GZIPFLAGS)) >$@.out
4f70cb
 		mv $@.out $@