X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=coreutils.spec;h=a286284bc4223489fc49da557d7792ffbed59fb2;hb=52ba0febd48b17828e55925bf4f1ec827a5e9d34;hp=0b6fa16d63597bcfe765777cc2f70823222c7771;hpb=ed768794d7d4b48f1c9ed449972e15a92c2afc72;p=packages%2Fcoreutils.git diff --git a/coreutils.spec b/coreutils.spec index 0b6fa16..a286284 100644 --- a/coreutils.spec +++ b/coreutils.spec @@ -3,16 +3,17 @@ %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 -Release: 1 +Version: 9.0 +Release: 3 License: GPL v3+ Group: Applications/System Source0: http://ftp.gnu.org/gnu/coreutils/%{name}-%{version}.tar.xz -# Source0-md5: 0009a224d8e288e8ec406ef0161f9293 +# Source0-md5: 0d79ae8a6124546e3b94171375e5e5d0 Source1: %{name}-non-english-man-pages.tar.bz2 # Source1-md5: f7c986ebc74ccb8d08ed70141063f14c Source2: DIR_COLORS @@ -30,9 +31,10 @@ Patch6: %{name}-fmt-wchars.patch 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 +Patch11: ignore-symlinks.patch URL: http://www.gnu.org/software/coreutils/ BuildRequires: acl-devel BuildRequires: attr-devel @@ -107,7 +109,8 @@ Programy zawarte w tym pakiecie to: %prep %setup -q -a1 -%patch8 -p1 +# translationproject seems to be older than in 9.0 +#%patch8 -p1 %patch0 -p1 %patch1 -p1 %patch2 -p1 @@ -122,10 +125,11 @@ Programy zawarte w tym pakiecie to: %patch9 -p1 %endif %patch10 -p1 +%patch11 -p1 %{__mv} man/pt_BR man/pt -%{__perl} -pi -e 's@GNU/Linux@PLD Linux@' m4/host-os.m4 +%{__perl} -pi -e 's@GNU/Linux@TLD Linux@' m4/host-os.m4 # allow rebuilding *.gmo %{__rm} po/stamp-po @@ -135,7 +139,7 @@ Programy zawarte w tym pakiecie to: # fmt: memory exhausted %{__sed} -i -e 25,27d tests/fmt/base.pl -# /etc/resolv.conf is blocked in pld builders, try some other file +# /etc/resolv.conf is blocked in tld builders, try some other file %{__sed} -i -e 's,/etc/resolv.conf,/etc/hosts,' gnulib-tests/test-read-file.c # getgid needs to be fixed: @@ -173,7 +177,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