Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f2c8341625 |
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
|||||||
SOURCES/pigz-2.4.tar.gz
|
pigz-2.8.tar.gz
|
||||||
|
|||||||
@ -1 +0,0 @@
|
|||||||
92d4a8f3917865acca2c7c368cf0ed10d20d0612 SOURCES/pigz-2.4.tar.gz
|
|
||||||
25
Makefile-accept-LDFLAGS-from-env-if-defined.patch
Normal file
25
Makefile-accept-LDFLAGS-from-env-if-defined.patch
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
From 32f59866bffcbfcfc44c22c613c0019a2e5d32f2 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Tony Camuso <tcamuso@redhat.com>
|
||||||
|
Date: Mon, 22 Jul 2024 11:54:28 -0400
|
||||||
|
Subject: [PATCH v0] Makefile: accept LDFLAGS from env if defined
|
||||||
|
|
||||||
|
Signed-off-by: Tony Camuso <tcamuso@redhat.com>
|
||||||
|
---
|
||||||
|
Makefile | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/Makefile b/Makefile
|
||||||
|
index b1866cf..b2b279c 100644
|
||||||
|
--- a/Makefile
|
||||||
|
+++ b/Makefile
|
||||||
|
@@ -1,6 +1,6 @@
|
||||||
|
CC=gcc
|
||||||
|
CFLAGS=-O3 -Wall -Wextra -Wno-unknown-pragmas -Wcast-qual
|
||||||
|
-LDFLAGS=
|
||||||
|
+LDFLAGS ?=
|
||||||
|
# CFLAGS=-O3 -Wall -Wextra -Wno-unknown-pragmas -Wcast-qual -g -fsanitize=thread
|
||||||
|
# LDFLAGS=-g -fsanitize=thread
|
||||||
|
# CFLAGS=-O3 -Wall -Wextra -Wno-unknown-pragmas -Wcast-qual -g -fsanitize=address
|
||||||
|
--
|
||||||
|
2.45.2
|
||||||
|
|
||||||
@ -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
|
|
||||||
@ -1,29 +1,37 @@
|
|||||||
|
## START: Set by rpmautospec
|
||||||
|
## (rpmautospec version 0.6.5)
|
||||||
|
## RPMAUTOSPEC: autorelease, autochangelog
|
||||||
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
||||||
|
release_number = 7;
|
||||||
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
||||||
|
print(release_number + base_release_number - 1);
|
||||||
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
||||||
|
## END: Set by rpmautospec
|
||||||
|
|
||||||
Name: pigz
|
Name: pigz
|
||||||
Version: 2.4
|
Version: 2.8
|
||||||
Release: 4%{?dist}
|
Release: %autorelease
|
||||||
Summary: Parallel implementation of gzip
|
Summary: Parallel implementation of gzip
|
||||||
|
License: Zlib
|
||||||
Group: Applications/File
|
URL: https://www.zlib.net/pigz/
|
||||||
License: zlib
|
Source0: https://www.zlib.net/%{name}/%{name}-%{version}.tar.gz
|
||||||
URL: http://www.zlib.net/pigz/
|
Patch0: Makefile-accept-LDFLAGS-from-env-if-defined.patch
|
||||||
Source0: http://www.zlib.net/%{name}/%{name}-%{version}.tar.gz
|
BuildRequires: gcc
|
||||||
Patch0: pigz-annocheck-gcc-flags.patch
|
BuildRequires: make
|
||||||
|
|
||||||
BuildRequires: zlib-devel
|
|
||||||
BuildRequires: ncompress
|
BuildRequires: ncompress
|
||||||
|
BuildRequires: zlib-devel
|
||||||
|
|
||||||
%description
|
%description
|
||||||
pigz, which stands for parallel implementation of gzip,
|
pigz, which stands for parallel implementation of gzip,
|
||||||
is a fully functional replacement for gzip that exploits
|
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
|
%prep
|
||||||
%autosetup
|
%autosetup -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%set_build_flags
|
%make_build CFLAGS="$RPM_OPT_FLAGS"
|
||||||
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -fpie -pie"
|
|
||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -p -D pigz $RPM_BUILD_ROOT%{_bindir}/pigz
|
install -p -D pigz $RPM_BUILD_ROOT%{_bindir}/pigz
|
||||||
@ -33,20 +41,79 @@ install -p -D pigz.1 -m 0644 $RPM_BUILD_ROOT%{_datadir}/man/man1/pigz.1
|
|||||||
%check
|
%check
|
||||||
make tests CFLAGS="$RPM_OPT_FLAGS"
|
make tests CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc pigz.pdf README
|
%doc pigz.pdf README
|
||||||
%{_bindir}/pigz
|
%{_bindir}/pigz
|
||||||
%{_bindir}/unpigz
|
%{_bindir}/unpigz
|
||||||
%{_datadir}/man/man1/pigz.*
|
%{_datadir}/man/man1/pigz.*
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Tue Dec 3 2019 Prarit Bhargava <prarit@redhat.com> - 2.4-4
|
## START: Generated by rpmautospec
|
||||||
- Rebuild to kick process (no changes from previous build) [1624161]
|
* Tue Jul 23 2024 Tony Camuso <tcamuso@redhat.com> - 2.8-7
|
||||||
|
- Add gating.yaml
|
||||||
|
|
||||||
* Mon Sep 24 2018 Prarit Bhargava <prarit@redhat.com> - 2.4-3
|
* Mon Jul 22 2024 Tony Camuso <tcamuso@redhat.com> - 2.8-6
|
||||||
- Fix annocheck gcc failures [1624161]
|
- Makefile: accept LDFLAGS from env if defined
|
||||||
|
|
||||||
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.8-5
|
||||||
|
- Bump release for June 2024 mass rebuild
|
||||||
|
|
||||||
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sun Aug 20 2023 Filipe Rosset <rosset.filipe@gmail.com> - 2.8-2
|
||||||
|
- remove upstreamed patch
|
||||||
|
|
||||||
|
* Sun Aug 20 2023 Filipe Rosset <rosset.filipe@gmail.com> - 2.8-1
|
||||||
|
- update to pigz-2.8
|
||||||
|
|
||||||
|
* Sat Jul 29 2023 Prarit Bhargava <prarit@redhat.com> - 2.7.5
|
||||||
|
- migrated to SPDX license
|
||||||
|
|
||||||
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-4
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Feb 04 2022 Filipe Rosset <rosset.filipe@gmail.com> - 2.7-1
|
||||||
|
- Update to 2.7 fixez rhbz#2041075
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Tue Oct 05 2021 Filipe Rosset <rosset.filipe@gmail.com> - 2.6-1
|
||||||
|
- Update to 2.6
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.5-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* 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
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-2
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||||
@ -130,3 +197,5 @@ make tests CFLAGS="$RPM_OPT_FLAGS"
|
|||||||
* Fri Sep 25 2009 Adel Gadllah <adel.gadllah@gmail.com> - 2.1.5-1
|
* Fri Sep 25 2009 Adel Gadllah <adel.gadllah@gmail.com> - 2.1.5-1
|
||||||
- Initial package
|
- Initial package
|
||||||
|
|
||||||
|
|
||||||
|
## END: Generated by rpmautospec
|
||||||
Loading…
Reference in New Issue
Block a user