From ea2dfac135b17fcd6444836b018b7b24a0abf59534c3b2a47be5bb483bae1ba8 Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Wed, 18 Jul 2018 20:35:51 +0000 Subject: [PATCH] Accepting request 622248 from Archiving - Update to version 2.4: * Generate Zip64 format .zip files when the output is greater than or equal to 4 GiB. * Improved gzip options processing and return code compatibility * Some bug fixes - Drop no longer needed patches: * pigz-fix-missing-linker.patch * pigz-fix-wrong-include.patch - Update to 2.3.4: * no upstream changelog provided OBS-URL: https://build.opensuse.org/request/show/622248 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pigz?expand=0&rev=13 --- pigz-2.3.3.tar.gz | 3 --- pigz-2.4.tar.gz | 3 +++ pigz-fix-missing-linker.patch | 11 ---------- pigz-fix-wrong-include.patch | 11 ---------- pigz.changes | 18 ++++++++++++++++ pigz.spec | 40 +++++++++++++---------------------- 6 files changed, 36 insertions(+), 50 deletions(-) delete mode 100644 pigz-2.3.3.tar.gz create mode 100644 pigz-2.4.tar.gz delete mode 100644 pigz-fix-missing-linker.patch delete mode 100644 pigz-fix-wrong-include.patch diff --git a/pigz-2.3.3.tar.gz b/pigz-2.3.3.tar.gz deleted file mode 100644 index c8af5af..0000000 --- a/pigz-2.3.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4e8b67b432ce7907575a549f3e1cac4709781ba0f6b48afea9f59369846b509c -size 92787 diff --git a/pigz-2.4.tar.gz b/pigz-2.4.tar.gz new file mode 100644 index 0000000..db0568d --- /dev/null +++ b/pigz-2.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a4f816222a7b4269bd232680590b579ccc72591f1bb5adafcd7208ca77e14f73 +size 98234 diff --git a/pigz-fix-missing-linker.patch b/pigz-fix-missing-linker.patch deleted file mode 100644 index 241d943..0000000 --- a/pigz-fix-missing-linker.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/Makefile 2015-01-20 05:12:31.000000000 +0100 -+++ b/Makefile 2015-03-11 22:19:16.745781499 +0100 -@@ -5,7 +5,7 @@ - # use gcc and gmake on Solaris - - pigz: pigz.o yarn.o try.o ${ZOPFLI}deflate.o ${ZOPFLI}blocksplitter.o ${ZOPFLI}tree.o ${ZOPFLI}lz77.o ${ZOPFLI}cache.o ${ZOPFLI}hash.o ${ZOPFLI}util.o ${ZOPFLI}squeeze.o ${ZOPFLI}katajainen.o -- $(CC) $(LDFLAGS) -o pigz $^ -lpthread -lm -+ $(CC) $(LDFLAGS) -o pigz $^ -lpthread -lm -lz - ln -f pigz unpigz - - pigz.o: pigz.c yarn.h try.h ${ZOPFLI}deflate.h ${ZOPFLI}util.h diff --git a/pigz-fix-wrong-include.patch b/pigz-fix-wrong-include.patch deleted file mode 100644 index 1608b6b..0000000 --- a/pigz-fix-wrong-include.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/pigz.c 2015-01-24 20:10:12.000000000 +0100 -+++ b/pigz.c 2015-03-11 22:00:59.976144690 +0100 -@@ -362,7 +362,7 @@ - # include - #endif - --#include "zlib.h" /* deflateInit2(), deflateReset(), deflate(), */ -+#include /* deflateInit2(), deflateReset(), deflate(), */ - /* deflateEnd(), deflateSetDictionary(), crc32(), - adler32(), inflateBackInit(), inflateBack(), - inflateBackEnd(), Z_DEFAULT_COMPRESSION, diff --git a/pigz.changes b/pigz.changes index 70d956b..1fe70fd 100644 --- a/pigz.changes +++ b/pigz.changes @@ -1,3 +1,21 @@ +------------------------------------------------------------------- +Thu Jul 12 07:29:47 UTC 2018 - mpluskal@suse.com + +- Update to version 2.4: + * Generate Zip64 format .zip files when the output is greater + than or equal to 4 GiB. + * Improved gzip options processing and return code compatibility + * Some bug fixes +- Drop no longer needed patches: + * pigz-fix-missing-linker.patch + * pigz-fix-wrong-include.patch + +------------------------------------------------------------------- +Wed Aug 16 11:07:50 UTC 2017 - psychonaut@nothingisreal.com + +- Update to 2.3.4: + * no upstream changelog provided + ------------------------------------------------------------------- Wed Mar 11 21:30:11 UTC 2015 - p.drouand@gmail.com diff --git a/pigz.spec b/pigz.spec index fd164b4..8a11ec2 100644 --- a/pigz.spec +++ b/pigz.spec @@ -1,7 +1,7 @@ # # spec file for package pigz # -# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,48 +17,38 @@ Name: pigz -Version: 2.3.3 +Version: 2.4 Release: 0 Summary: Multi-core gzip version License: Zlib Group: Productivity/Archiving/Compression -Url: http://www.zlib.net/pigz/ -Source: http://www.zlib.net/pigz/%{name}-%{version}.tar.gz -Patch: pigz-fix-wrong-include.patch -Patch1: pigz-fix-missing-linker.patch -BuildRequires: glibc-devel -BuildRequires: zlib-devel >= 1.2.3 -BuildRoot: %{_tmppath}/%{name}-%{version}-build +URL: http://www.zlib.net/pigz/ +Source0: http://www.zlib.net/%{name}/%{name}-%{version}.tar.gz +BuildRequires: zlib-devel %description -A parallel implementation of gzip for modern multi-processor, -multi-core machines +A parallel implementation of gzip for modern multi-processor, multi-core machines %prep %setup -q -%patch -p1 -%patch1 -p1 %build -make CC="gcc" CFLAGS="%{optflags}" +make %{?_smp_mflags} CFLAGS="%{optflags}" + +%check +make tests %{?_smp_mflags} CFLAGS="%{optflags}" %install -mkdir -p %{buildroot}%{_prefix}/bin -cp -v pigz %{buildroot}%{_bindir}/ +install -Dpm 0755 pigz \ + %{buildroot}%{_bindir}/pigz +install -Dpm 0644 pigz.1 \ + %{buildroot}%{_mandir}/man1/pigz.1 ln -sv pigz %{buildroot}%{_bindir}/unpigz -#man page -mkdir -p %{buildroot}/%{_mandir}/man1/ -cp -v pigz.1 %{buildroot}/%{_mandir}/man1/ -gzip %{buildroot}/%{_mandir}/man1/pigz.1 -ln -sv pigz.1.gz %{buildroot}/%{_mandir}/man1/unpigz.1 - %files -%defattr(-,root,root) %doc README -%{_mandir}/man1/pigz.1.gz -%{_mandir}/man1/unpigz.1.gz %{_bindir}/pigz %{_bindir}/unpigz +%{_mandir}/man1/pigz.1%{?ext_man} %changelog