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
This commit is contained in:
Dominique Leuenberger 2018-07-18 20:35:51 +00:00 committed by Git OBS Bridge
parent 9b10a10d22
commit ea2dfac135
6 changed files with 36 additions and 50 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4e8b67b432ce7907575a549f3e1cac4709781ba0f6b48afea9f59369846b509c
size 92787

3
pigz-2.4.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a4f816222a7b4269bd232680590b579ccc72591f1bb5adafcd7208ca77e14f73
size 98234

View File

@ -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

View File

@ -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 <sys/pstat.h>
#endif
-#include "zlib.h" /* deflateInit2(), deflateReset(), deflate(), */
+#include <zlib.h> /* deflateInit2(), deflateReset(), deflate(), */
/* deflateEnd(), deflateSetDictionary(), crc32(),
adler32(), inflateBackInit(), inflateBack(),
inflateBackEnd(), Z_DEFAULT_COMPRESSION,

View File

@ -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

View File

@ -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