]> git.pld-linux.org Git - packages/tzdata.git/commitdiff
- disable tests that require network access
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Jan 2021 16:38:29 +0000 (17:38 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 3 Jan 2021 16:38:29 +0000 (17:38 +0100)
- rel 2

disable-network-tests.patch [new file with mode: 0644]
tzdata.spec

diff --git a/disable-network-tests.patch b/disable-network-tests.patch
new file mode 100644 (file)
index 0000000..8b4bb4a
--- /dev/null
@@ -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)' || \
index 9d257b4e9f9a779a308c78adc967c74303c6e77c..c0127323e21c1dbffc79f0d4550c92b84a9645c9 100644 (file)
@@ -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
 
This page took 0.281115 seconds and 4 git commands to generate.