Compare commits
10 Commits
ac7488c108
...
c348127e53
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c348127e53 | ||
|
|
9192785f18 | ||
|
|
c2f700a5ef | ||
|
|
75a0ce9b43 | ||
|
|
3dcd48dbce | ||
|
|
e3927dd681 | ||
|
|
31f10c448a | ||
|
|
3694755023 | ||
|
|
bde78f1b70 | ||
|
|
394f29d458 |
22
0001-pigz-fix-cc.patch
Normal file
22
0001-pigz-fix-cc.patch
Normal file
@ -0,0 +1,22 @@
|
||||
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
BIN
pigz-2.4.tar.gz
Binary file not shown.
BIN
pigz-2.7.tar.gz
Normal file
BIN
pigz-2.7.tar.gz
Normal file
Binary file not shown.
30
pigz.spec
30
pigz.spec
@ -1,13 +1,14 @@
|
||||
#spec from source code(%{name}-%{version}.tar.gz)
|
||||
Name: pigz
|
||||
Version: 2.4
|
||||
Release: 7
|
||||
Version: 2.7
|
||||
Release: 3
|
||||
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
|
||||
@ -16,6 +17,7 @@ Mark Adler, and uses the zlib and pthread libraries.
|
||||
|
||||
%package_help
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
|
||||
@ -40,6 +42,30 @@ 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user