Compare commits
No commits in common. "imports/c10s/pigz-2.8-9.el10" and "c8" have entirely different histories.
imports/c1
...
c8
2
.gitignore
vendored
2
.gitignore
vendored
@ -1 +1 @@
|
||||
/*.tar.*
|
||||
SOURCES/pigz-2.4.tar.gz
|
||||
|
1
.pigz.metadata
Normal file
1
.pigz.metadata
Normal file
@ -0,0 +1 @@
|
||||
92d4a8f3917865acca2c7c368cf0ed10d20d0612 SOURCES/pigz-2.4.tar.gz
|
@ -1,25 +0,0 @@
|
||||
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
|
||||
|
11
SOURCES/pigz-annocheck-gcc-flags.patch
Normal file
11
SOURCES/pigz-annocheck-gcc-flags.patch
Normal file
@ -0,0 +1,11 @@
|
||||
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,47 +1,52 @@
|
||||
* Sat Jul 29 2023 Prarit Bhargava <prarit@redhat.com> - 2.7.5
|
||||
- migrated to SPDX license
|
||||
Name: pigz
|
||||
Version: 2.4
|
||||
Release: 4%{?dist}
|
||||
Summary: Parallel implementation of gzip
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
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
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: ncompress
|
||||
|
||||
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.7-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
%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.
|
||||
|
||||
* Fri Feb 04 2022 Filipe Rosset <rosset.filipe@gmail.com> - 2.7-1
|
||||
- Update to 2.7 fixez rhbz#2041075
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.6-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
%build
|
||||
%set_build_flags
|
||||
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -fpie -pie"
|
||||
|
||||
* 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
|
||||
%install
|
||||
install -p -D pigz $RPM_BUILD_ROOT%{_bindir}/pigz
|
||||
pushd $RPM_BUILD_ROOT%{_bindir}; ln pigz unpigz; popd
|
||||
install -p -D pigz.1 -m 0644 $RPM_BUILD_ROOT%{_datadir}/man/man1/pigz.1
|
||||
|
||||
* Mon Feb 01 2021 Filipe Rosset <rosset.filipe@gmail.com> - 2.5-1
|
||||
- Update to 2.5 fixes rhbz#1919623
|
||||
%check
|
||||
make tests CFLAGS="$RPM_OPT_FLAGS"
|
||||
|
||||
* 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
|
||||
%files
|
||||
%doc pigz.pdf README
|
||||
%{_bindir}/pigz
|
||||
%{_bindir}/unpigz
|
||||
%{_datadir}/man/man1/pigz.*
|
||||
|
||||
* 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
|
||||
%changelog
|
||||
* Tue Dec 3 2019 Prarit Bhargava <prarit@redhat.com> - 2.4-4
|
||||
- Rebuild to kick process (no changes from previous build) [1624161]
|
||||
|
||||
* 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
|
||||
* Mon Sep 24 2018 Prarit Bhargava <prarit@redhat.com> - 2.4-3
|
||||
- Fix annocheck gcc failures [1624161]
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
@ -1,6 +0,0 @@
|
||||
--- !Policy
|
||||
product_versions:
|
||||
- rhel-10
|
||||
decision_context: osci_compose_gate
|
||||
rules:
|
||||
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}
|
41
pigz.spec
41
pigz.spec
@ -1,41 +0,0 @@
|
||||
Name: pigz
|
||||
Version: 2.8
|
||||
Release: %autorelease
|
||||
Summary: Parallel implementation of gzip
|
||||
License: Zlib
|
||||
URL: https://www.zlib.net/pigz/
|
||||
Source0: https://www.zlib.net/%{name}/%{name}-%{version}.tar.gz
|
||||
Patch0: Makefile-accept-LDFLAGS-from-env-if-defined.patch
|
||||
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.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%make_build CFLAGS="$RPM_OPT_FLAGS"
|
||||
|
||||
%install
|
||||
install -p -D pigz $RPM_BUILD_ROOT%{_bindir}/pigz
|
||||
pushd $RPM_BUILD_ROOT%{_bindir}; ln pigz unpigz; popd
|
||||
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
|
||||
%autochangelog
|
Loading…
Reference in New Issue
Block a user