%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ń
Name: coreutils
-Version: 8.31
+Version: 9.1
Release: 1
License: GPL v3+
Group: Applications/System
Source0: http://ftp.gnu.org/gnu/coreutils/%{name}-%{version}.tar.xz
-# Source0-md5: 0009a224d8e288e8ec406ef0161f9293
+# Source0-md5: 8b1ca4e018a7dce9bb937faec6618671
Source1: %{name}-non-english-man-pages.tar.bz2
# Source1-md5: f7c986ebc74ccb8d08ed70141063f14c
Source2: DIR_COLORS
Patch7: %{name}-sparc64.patch
# http://translationproject.org/latest/coreutils/pl.po (pass through msgcat to generate shorter diff)
Patch8: %{name}-pl.po-update.patch
-# from http://www.beatex.org/web/advancedcopy.html, edited by shadzik
+# https://github.com/jarun/advcpmv
Patch9: %{name}-advcopy.patch
Patch10: tests.patch
URL: http://www.gnu.org/software/coreutils/
%prep
%setup -q -a1
-%patch8 -p1
+# translationproject seems to be older than in 9.0
+#%patch8 -p1
%patch0 -p1
%patch1 -p1
%patch2 -p1
%{?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