|
|
|
|
@ -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
|
|
|
|
|
Version: 2.4
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Version: 2.8
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Parallel implementation of gzip
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
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.
|
|
|
|
|
multiple processors and multiple cores to the hilt when
|
|
|
|
|
compressing data.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup
|
|
|
|
|
%autosetup -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%set_build_flags
|
|
|
|
|
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -fpie -pie"
|
|
|
|
|
|
|
|
|
|
%make_build CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
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
|
|
|
|
|
make tests CFLAGS="$RPM_OPT_FLAGS"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%doc pigz.pdf README
|
|
|
|
|
%{_bindir}/pigz
|
|
|
|
|
%{_bindir}/unpigz
|
|
|
|
|
%{_datadir}/man/man1/pigz.*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Dec 3 2019 Prarit Bhargava <prarit@redhat.com> - 2.4-4
|
|
|
|
|
- Rebuild to kick process (no changes from previous build) [1624161]
|
|
|
|
|
## START: Generated by rpmautospec
|
|
|
|
|
* 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
|
|
|
|
|
- Fix annocheck gcc failures [1624161]
|
|
|
|
|
* Mon Jul 22 2024 Tony Camuso <tcamuso@redhat.com> - 2.8-6
|
|
|
|
|
- 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
|
|
|
|
|
- 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
|
|
|
|
|
- Initial package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|