public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/tzdata] f44: Fix 'make check' errors (#2510275)
@ 2026-09-17 17:33 Patsy Griffin
  0 siblings, 0 replies; only message in thread
From: Patsy Griffin @ 2026-09-17 17:33 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/tzdata
            Branch : f44
            Commit : 51f4bc555c69c04300c38945d13ed00657d7f150
            Author : Patsy Griffin <patsy@redhat.com>
            Date   : 2026-09-17T11:35:34-04:00
            Stats  : +10/-2 in 1 file(s)
            URL    : https://src.fedoraproject.org/rpms/tzdata/c/51f4bc555c69c04300c38945d13ed00657d7f150?branch=f44

            Log:
            Fix 'make check' errors (#2510275)
- Use the system installed versions of date, zic, and zdump for testing.
- Don't try to validate external web pages during 'check'.
- VALIDATE is no longer needed.

Resolves: #2510275

---
diff --git a/tzdata.spec b/tzdata.spec
index b8d89fe..0357139 100644
--- a/tzdata.spec
+++ b/tzdata.spec
@@ -3,7 +3,7 @@ Name: tzdata
 Version: 2026c
 %define tzdata_version 2026c
 %define tzcode_version 2026c
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: LicenseRef-Fedora-Public-Domain AND (GPL-2.0-only WITH ClassPath-exception-2.0)
 URL: https://www.iana.org/time-zones
 Source0: ftp://ftp.iana.org/tz/releases/tzdata%{tzdata_version}.tar.gz
@@ -113,7 +113,9 @@ install -p -m 644 tzdb.dat $RPM_BUILD_ROOT%{_datadir}/javazi-1.8/
 
 %check
 echo ============TESTING===============
-/usr/bin/env LANG=C make -k VALIDATE=':' check && true
+# Use the glibc provided versions of date, zdump, and zic
+for p in date zdump zic ; do cp /usr/bin/$p . ; done
+make -k CC=: CHECK_WEB_PAGES="" check && true
 
 # Create a custom JAVA_HOME, where we can replace tzdb.dat with the
 # one just built, for testing.
@@ -142,6 +144,12 @@ echo ============END TESTING===========
 %{_datadir}/javazi-1.8
 
 %changelog
+* Thu Sep 17 2026 Patsy Griffin <patsy@redhat.com> - 2026c-2
+  Fix 'make check' errors (#2510275)
+  - Use the system installed versions of date, zic, and dump for testing.
+  - Don't try to validate external web pages during 'check'.
+  - VALIDATE is no longer needed.
+
 * Mon Aug 10 2026 Patsy Griffin <patsy@redhat.com> - 2026c-1
   Update to tzdata-2026c (#2498187)
   - Alberta moved to permanent -06 on 2026-06-18.

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-17 17:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-17 17:33 [rpms/tzdata] f44: Fix 'make check' errors (#2510275) Patsy Griffin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox