[packages/coreutils] add y2038 bcond

atler atler at pld-linux.org
Fri Oct 1 23:35:30 CEST 2021


commit f2eca4520df8a93de0d0401c3e8ed6b1b896410b
Author: Jan Palus <jpalus at fastmail.com>
Date:   Fri Oct 1 23:34:18 2021 +0200

    add y2038 bcond

 coreutils.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/coreutils.spec b/coreutils.spec
index 3d0e968..4be4ccf 100644
--- a/coreutils.spec
+++ b/coreutils.spec
@@ -3,6 +3,7 @@
 %bcond_with	advcopy		# progress bar in cp (orphaned patch)
 %bcond_with	multicall	# Compile all the tools in a single binary
 %bcond_with	tests		# unit tests running
+%bcond_without	y2038		# Y2038 support for 32-bit archs
 
 Summary:	GNU Core-utils - basic command line utilities
 Summary(pl.UTF-8):	GNU Core-utils - podstawowe narzędzia działające z linii poleceń
@@ -174,7 +175,8 @@ build-aux/gen-lists-of-programs.sh --automake > src/cu-progs.mk
 	%{?with_multicall:--enable-single-binary=symlinks} \
 	--disable-silent-rules \
 	--enable-install-program=arch \
-	--enable-no-install-program=hostname,kill,uptime
+	--enable-no-install-program=hostname,kill,uptime \
+	%{!?with_y2038:--disable-year2038}
 
 %{__make} -j1
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/coreutils.git/commitdiff/f2eca4520df8a93de0d0401c3e8ed6b1b896410b



More information about the pld-cvs-commit mailing list