pigz: Fix annocheck errors

Add compile and linker flags to fix annocheck errors.

Additional fix: Block patch files in .gitignore

Resolves: rhbz#1956998

Signed-off-by: Prarit Bhargava <prarit@redhat.com>
This commit is contained in:
Prarit Bhargava 2021-10-06 15:26:29 -04:00
parent 174a21e17e
commit 6d8e1ebc41
2 changed files with 6 additions and 2 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/*.tar.* /*.tar.*
0*.patch

View File

@ -1,6 +1,6 @@
Name: pigz Name: pigz
Version: 2.5 Version: 2.5
Release: 3%{?dist} Release: 4%{?dist}
Summary: Parallel implementation of gzip Summary: Parallel implementation of gzip
License: zlib License: zlib
URL: https://www.zlib.net/pigz/ URL: https://www.zlib.net/pigz/
@ -26,7 +26,7 @@ compressing data.
%autosetup -p1 %autosetup -p1
%build %build
%make_build CFLAGS="$RPM_OPT_FLAGS" %make_build CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="$RPM_LD_FLAGS"
%install %install
install -p -D pigz $RPM_BUILD_ROOT%{_bindir}/pigz install -p -D pigz $RPM_BUILD_ROOT%{_bindir}/pigz
@ -43,6 +43,9 @@ make tests CFLAGS="$RPM_OPT_FLAGS"
%{_datadir}/man/man1/pigz.* %{_datadir}/man/man1/pigz.*
%changelog %changelog
* Wed Oct 06 2021 Prarit Bhargava <prarit@redhat.com> - 2.5-4
- Fix annocheck erros [1956998]
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.5-3 * Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.5-3
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688 Related: rhbz#1991688