Compare commits

..

No commits in common. "c348127e531aa695fe7c9fdf544e1784677325c6" and "ac7488c108e66bb9a63e93664dc8411d7d42839d" have entirely different histories.

4 changed files with 2 additions and 50 deletions

View File

@ -1,22 +0,0 @@
From 568d3b532e8861fdde4e3b16be8af692d5eac032 Mon Sep 17 00:00:00 2001
From: zhangchao13 <chaozhangm@isoftstone.com>
Date: Sun, 23 Apr 2023 10:33:13 +0800
Subject: [PATCH] pigz-fix-cc
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
index b1866cf..0fc97fa 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-CC=gcc
+CC?=gcc
CFLAGS=-O3 -Wall -Wextra -Wno-unknown-pragmas -Wcast-qual
LDFLAGS=
# CFLAGS=-O3 -Wall -Wextra -Wno-unknown-pragmas -Wcast-qual -g -fsanitize=thread
--
2.33.0

BIN
pigz-2.4.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,14 +1,13 @@
#spec from source code(%{name}-%{version}.tar.gz)
Name: pigz
Version: 2.7
Release: 3
Version: 2.4
Release: 7
Summary: pigz is a parallel implementation of gzip which utilizes multiple cores
License: zlib
Source0: http://www.zlib.net/%{name}/%{name}-%{version}.tar.gz
URL: http://www.zlib.net/pigz
BuildRequires: zlib-devel gcc
Patch0: 0001-pigz-fix-cc.patch
%description
pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that
@ -17,7 +16,6 @@ Mark Adler, and uses the zlib and pthread libraries.
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
@ -42,30 +40,6 @@ make test
%{_mandir}/man1/pigz.1*
%changelog
* Sun Mar 10 2024 wyxhjr <yuexiang.oerv@isrc.iscas.ac.cn> - 2.7-3
- Type: bugfix
- ID: NA
- SUG: NA
- DESC: fix software package
* Sun Apr 23 2023 Zhang Chao <chaozhangm@isoftstone.com> - 2.7-2
- Fix CC compiler support
* Thu Jan 19 2023 zhangnan <zhangnan134@huawei.com> - 2.7-1
- update to 2.7
* Tue Oct 25 2022 yanglongkang<yanglongkang@h-partners.com> - 2.6-2
- Type: bugfix
- ID: NA
- SUG: NA
- DESC: rebuild for next release
* Fri Dec 3 2021 guozhaorui<guozhaorui1@huawei.com> - 2.6-1
- Type: enhancement
- ID: NA
- SUG: NA
- DESC: update version to 2.6
* Wed Dec 4 2019 shenyangyang<shenyangyang4@huawei.com> - 2.4-7
- Type: enhancement
- ID: NA