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:
parent
9b10a10d22
commit
ea2dfac135
@ -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
3
pigz-2.4.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a4f816222a7b4269bd232680590b579ccc72591f1bb5adafcd7208ca77e14f73
|
||||||
|
size 98234
|
@ -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
|
|
@ -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,
|
|
18
pigz.changes
18
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
|
Wed Mar 11 21:30:11 UTC 2015 - p.drouand@gmail.com
|
||||||
|
|
||||||
|
40
pigz.spec
40
pigz.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package pigz
|
# 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
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,48 +17,38 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: pigz
|
Name: pigz
|
||||||
Version: 2.3.3
|
Version: 2.4
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Multi-core gzip version
|
Summary: Multi-core gzip version
|
||||||
License: Zlib
|
License: Zlib
|
||||||
Group: Productivity/Archiving/Compression
|
Group: Productivity/Archiving/Compression
|
||||||
Url: http://www.zlib.net/pigz/
|
URL: http://www.zlib.net/pigz/
|
||||||
Source: http://www.zlib.net/pigz/%{name}-%{version}.tar.gz
|
Source0: http://www.zlib.net/%{name}/%{name}-%{version}.tar.gz
|
||||||
Patch: pigz-fix-wrong-include.patch
|
BuildRequires: zlib-devel
|
||||||
Patch1: pigz-fix-missing-linker.patch
|
|
||||||
BuildRequires: glibc-devel
|
|
||||||
BuildRequires: zlib-devel >= 1.2.3
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A parallel implementation of gzip for modern multi-processor,
|
A parallel implementation of gzip for modern multi-processor, multi-core machines
|
||||||
multi-core machines
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch -p1
|
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make CC="gcc" CFLAGS="%{optflags}"
|
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||||
|
|
||||||
|
%check
|
||||||
|
make tests %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_prefix}/bin
|
install -Dpm 0755 pigz \
|
||||||
cp -v pigz %{buildroot}%{_bindir}/
|
%{buildroot}%{_bindir}/pigz
|
||||||
|
install -Dpm 0644 pigz.1 \
|
||||||
|
%{buildroot}%{_mandir}/man1/pigz.1
|
||||||
ln -sv pigz %{buildroot}%{_bindir}/unpigz
|
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
|
%files
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc README
|
%doc README
|
||||||
%{_mandir}/man1/pigz.1.gz
|
|
||||||
%{_mandir}/man1/unpigz.1.gz
|
|
||||||
%{_bindir}/pigz
|
%{_bindir}/pigz
|
||||||
%{_bindir}/unpigz
|
%{_bindir}/unpigz
|
||||||
|
%{_mandir}/man1/pigz.1%{?ext_man}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user