Compare commits

...

No commits in common. "c8" and "c9-beta" have entirely different histories.
c8 ... c9-beta

4 changed files with 46 additions and 32 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/pigz-2.4.tar.gz
SOURCES/pigz-2.8.tar.gz

View File

@ -1 +1 @@
92d4a8f3917865acca2c7c368cf0ed10d20d0612 SOURCES/pigz-2.4.tar.gz
567c47a1f63e64abb2498bf42877e0c8c272d29b SOURCES/pigz-2.8.tar.gz

View File

@ -1,11 +0,0 @@
diff -urNp pigz-2.4.orig/Makefile pigz-2.4/Makefile
--- pigz-2.4.orig/Makefile 2018-09-24 15:56:17.299714387 -0400
+++ pigz-2.4/Makefile 2018-09-24 15:56:36.026651935 -0400
@@ -1,6 +1,6 @@
CC=gcc
CFLAGS=-O3 -Wall -Wextra -Wno-unknown-pragmas
-LDFLAGS=
+LDFLAGS=-Wl,-z,now -pie
LIBS=-lm -lpthread -lz
ZOPFLI=zopfli/src/zopfli/
ZOP=deflate.o blocksplitter.o tree.o lz77.o cache.o hash.o util.o squeeze.o katajainen.o

View File

@ -1,29 +1,27 @@
Name: pigz
Version: 2.4
Release: 4%{?dist}
Version: 2.8
Release: 1%{?dist}
Summary: Parallel implementation of gzip
Group: Applications/File
License: zlib
URL: http://www.zlib.net/pigz/
Source0: http://www.zlib.net/%{name}/%{name}-%{version}.tar.gz
Patch0: pigz-annocheck-gcc-flags.patch
URL: https://www.zlib.net/pigz/
Source0: https://www.zlib.net/%{name}/%{name}-%{version}.tar.gz
BuildRequires: zlib-devel
BuildRequires: gcc
BuildRequires: make
BuildRequires: ncompress
BuildRequires: zlib-devel
%description
pigz, which stands for parallel implementation of gzip,
is a fully functional replacement for gzip that exploits
multiple processors and multiple cores to the hilt when compressing data.
multiple processors and multiple cores to the hilt when
compressing data.
%prep
%autosetup
%autosetup -p1
%build
%set_build_flags
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -fpie -pie"
%make_build CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
%install
install -p -D pigz $RPM_BUILD_ROOT%{_bindir}/pigz
@ -33,20 +31,47 @@ install -p -D pigz.1 -m 0644 $RPM_BUILD_ROOT%{_datadir}/man/man1/pigz.1
%check
make tests CFLAGS="$RPM_OPT_FLAGS"
%files
%doc pigz.pdf README
%{_bindir}/pigz
%{_bindir}/unpigz
%{_datadir}/man/man1/pigz.*
%changelog
* Tue Dec 3 2019 Prarit Bhargava <prarit@redhat.com> - 2.4-4
- Rebuild to kick process (no changes from previous build) [1624161]
* Fri Dec 06 2024 Tony Camuso <tcamuso@redhat.com> - 2.8-1
- Update to upstream v2.8
- Resolves: RHEL-70287
* Mon Sep 24 2018 Prarit Bhargava <prarit@redhat.com> - 2.4-3
- Fix annocheck gcc failures [1624161]
* Wed Oct 06 2021 Prarit Bhargava <prarit@redhat.com> - 2.5-4
- Fix annocheck erros [1956998]
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.5-3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.5-2
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
* Mon Feb 01 2021 Filipe Rosset <rosset.filipe@gmail.com> - 2.5-1
- Update to 2.5 fixes rhbz#1919623
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild