fix package

(cherry picked from commit 4f92ec4331a71c7bf9be211ddd34444702bf14e1)
This commit is contained in:
wyxaihjr 2024-03-10 08:29:27 +08:00 committed by openeuler-sync-bot
parent c2f700a5ef
commit 9192785f18

View File

@ -1,13 +1,14 @@
#spec from source code(%{name}-%{version}.tar.gz) #spec from source code(%{name}-%{version}.tar.gz)
Name: pigz Name: pigz
Version: 2.7 Version: 2.7
Release: 2 Release: 3
Summary: pigz is a parallel implementation of gzip which utilizes multiple cores Summary: pigz is a parallel implementation of gzip which utilizes multiple cores
License: zlib License: zlib
Source0: http://www.zlib.net/%{name}/%{name}-%{version}.tar.gz Source0: http://www.zlib.net/%{name}/%{name}-%{version}.tar.gz
URL: http://www.zlib.net/pigz URL: http://www.zlib.net/pigz
BuildRequires: zlib-devel gcc BuildRequires: zlib-devel gcc
Patch0: 0001-pigz-fix-cc.patch
%description %description
pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that pigz, which stands for parallel implementation of gzip, is a fully functional replacement for gzip that
@ -16,7 +17,6 @@ Mark Adler, and uses the zlib and pthread libraries.
%package_help %package_help
Patch0: 0001-pigz-fix-cc.patch
%prep %prep
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
@ -42,6 +42,12 @@ make test
%{_mandir}/man1/pigz.1* %{_mandir}/man1/pigz.1*
%changelog %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 * Sun Apr 23 2023 Zhang Chao <chaozhangm@isoftstone.com> - 2.7-2
- Fix CC compiler support - Fix CC compiler support