import pigz-2.4-4.el8
This commit is contained in:
parent
eaa8ab9633
commit
83b01eec38
11
SOURCES/pigz-annocheck-gcc-flags.patch
Normal file
11
SOURCES/pigz-annocheck-gcc-flags.patch
Normal file
@ -0,0 +1,11 @@
|
||||
diff -urNp pigz-2.4.orig/Makefile pigz-2.4/Makefile
|
||||
--- pigz-2.4.orig/Makefile 2018-09-24 15:56:17.299714387 -0400
|
||||
+++ pigz-2.4/Makefile 2018-09-24 15:56:36.026651935 -0400
|
||||
@@ -1,6 +1,6 @@
|
||||
CC=gcc
|
||||
CFLAGS=-O3 -Wall -Wextra -Wno-unknown-pragmas
|
||||
-LDFLAGS=
|
||||
+LDFLAGS=-Wl,-z,now -pie
|
||||
LIBS=-lm -lpthread -lz
|
||||
ZOPFLI=zopfli/src/zopfli/
|
||||
ZOP=deflate.o blocksplitter.o tree.o lz77.o cache.o hash.o util.o squeeze.o katajainen.o
|
@ -1,12 +1,13 @@
|
||||
Name: pigz
|
||||
Version: 2.4
|
||||
Release: 2%{?dist}
|
||||
Release: 4%{?dist}
|
||||
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
|
||||
BuildRequires: ncompress
|
||||
@ -17,10 +18,11 @@ is a fully functional replacement for gzip that exploits
|
||||
multiple processors and multiple cores to the hilt when compressing data.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS"
|
||||
%set_build_flags
|
||||
make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS -fpie -pie"
|
||||
|
||||
|
||||
%install
|
||||
@ -40,6 +42,12 @@ make tests CFLAGS="$RPM_OPT_FLAGS"
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Dec 3 2019 Prarit Bhargava <prarit@redhat.com> - 2.4-4
|
||||
- Rebuild to kick process (no changes from previous build) [1624161]
|
||||
|
||||
* Mon Sep 24 2018 Prarit Bhargava <prarit@redhat.com> - 2.4-3
|
||||
- Fix annocheck gcc failures [1624161]
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.4-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user