[packages/jq] enable 64-bit time_t; rel 2

atler atler at pld-linux.org
Mon Jun 2 13:03:53 CEST 2025


commit 78caca4514c3184f67ca48c48c70e6367e10acfc
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Jun 2 12:06:31 2025 +0200

    enable 64-bit time_t; rel 2
    
    fixes "optionaltest" on 32-bit archs and overall it's a good change not
    affecting abi in any way

 jq.spec | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/jq.spec b/jq.spec
index 7dd042f..4dde9e0 100644
--- a/jq.spec
+++ b/jq.spec
@@ -8,7 +8,7 @@ Summary:	Command-line JSON processor
 Summary(pl.UTF-8):	Procesor JSON działający z linii poleceń
 Name:		jq
 Version:	1.8.0
-Release:	1
+Release:	2
 License:	MIT, Apache, CC-BY, GPL v3
 Group:		Applications/Text
 #Source0Download: https://github.com/jqlang/jq/releases
@@ -16,7 +16,8 @@ Source0:	https://github.com/jqlang/jq/releases/download/%{name}-%{version}/jq-%{
 # Source0-md5:	46856841b9fd765b852023b881cd2e8b
 Patch0:		tests-no-pty.patch
 URL:		https://jqlang.github.io/jq/
-BuildRequires:	autoconf >= 2.65
+# for --enable-year2038
+BuildRequires:	autoconf >= 2.72
 BuildRequires:	automake >= 1:1.11.2
 BuildRequires:	bison >= 3
 BuildRequires:	flex
@@ -95,6 +96,7 @@ Statyczna biblioteka jq.
 	%{!?with_static_libs:--disable-static} \
 	--disable-all-static \
 	--disable-silent-rules \
+	--enable-year2038 \
 	%{__enable_disable tests_valgrind valgrind}
 
 echo -e '#!/bin/sh\necho "'%{version}'"' > scripts/version
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/jq.git/commitdiff/78caca4514c3184f67ca48c48c70e6367e10acfc



More information about the pld-cvs-commit mailing list