[packages/tzdata] - disable tests that require network access - rel 2
baggins
baggins at pld-linux.org
Sun Jan 3 17:38:53 CET 2021
commit 8650fa3df7c2ade1f7607fc4316f8c6597abc742
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Jan 3 17:38:29 2021 +0100
- disable tests that require network access
- rel 2
disable-network-tests.patch | 11 +++++++++++
tzdata.spec | 4 +++-
2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/tzdata.spec b/tzdata.spec
index 9d257b4..c012732 100644
--- a/tzdata.spec
+++ b/tzdata.spec
@@ -13,7 +13,7 @@ Summary: Timezone data
Summary(pl.UTF-8): Dane o strefach czasowych
Name: tzdata
Version: 2020d
-Release: 1
+Release: 2
License: Public Domain (database), BSD/LGPL v2.1+ (code/test suite)
Group: Base
#Source0Download: https://www.iana.org/time-zones
@@ -23,6 +23,7 @@ Source3: timezone.init
Source4: timezone.sysconfig
Source5: javazic.tar.gz
# Source5-md5: 6a3392cd5f1594d13c12c1a836ac8d91
+Patch0: disable-network-tests.patch
Patch1: javazic-fixup.patch
Patch2: install.patch
URL: http://www.twinsun.com/tz/tz-link.htm
@@ -104,6 +105,7 @@ Plik nagłówkowy bazy danych stref czasowych.
%prep
%setup -qn tzdb-%{version}
+%patch0 -p1
sed -i -e '/tz-art.html/d' tz-link.html
diff --git a/disable-network-tests.patch b/disable-network-tests.patch
new file mode 100644
index 0000000..8b4bb4a
--- /dev/null
+++ b/disable-network-tests.patch
@@ -0,0 +1,11 @@
+--- tzdb-2020d/Makefile~ 2020-10-17 04:52:24.000000000 +0200
++++ tzdb-2020d/Makefile 2021-01-03 17:37:04.452493870 +0100
+@@ -739,7 +739,7 @@
+
+ check: check_character_set check_white_space check_links \
+ check_name_lengths check_sorted \
+- check_tables check_web check_zishrink check_tzs
++ check_tables check_zishrink check_tzs
+
+ check_character_set: $(ENCHILADA)
+ test ! '$(UTF8_LOCALE)' || \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/tzdata.git/commitdiff/8650fa3df7c2ade1f7607fc4316f8c6597abc742
More information about the pld-cvs-commit
mailing list