update mainline to 1.19.8
use make macros add BR on make Resolves: #1931402 - drop gperftools module Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
This commit is contained in:
parent
5106b1e8bc
commit
6b0e1a7531
19
nginx.spec
19
nginx.spec
@ -7,12 +7,18 @@
|
||||
|
||||
%bcond_with geoip
|
||||
|
||||
# nginx gperftools support should be dissabled for RHEL >= 8
|
||||
# see: https://bugzilla.redhat.com/show_bug.cgi?id=1931402
|
||||
%if 0%{?rhel} >= 8
|
||||
%global with_gperftools 0
|
||||
%else
|
||||
# gperftools exist only on selected arches
|
||||
# gperftools *detection* is failing on ppc64*, possibly only configure
|
||||
# bug, but disable anyway.
|
||||
%ifnarch s390 s390x ppc64 ppc64le
|
||||
%global with_gperftools 1
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%global with_aio 1
|
||||
|
||||
@ -22,7 +28,7 @@
|
||||
|
||||
Name: nginx
|
||||
Epoch: 1
|
||||
Version: 1.19.7
|
||||
Version: 1.19.8
|
||||
Release: 1%{?dist}
|
||||
|
||||
Summary: A high performance web server and reverse proxy server
|
||||
@ -56,6 +62,7 @@ Patch0: 0001-remove-Werror-in-upstream-build-scripts.patch
|
||||
# previous 644
|
||||
Patch1: 0002-change-logs-permissions-to-664.patch
|
||||
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gnupg2
|
||||
%if 0%{?with_gperftools}
|
||||
@ -265,11 +272,11 @@ if ! ./configure \
|
||||
exit 1
|
||||
fi
|
||||
|
||||
make %{?_smp_mflags}
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
make install DESTDIR=%{buildroot} INSTALLDIRS=vendor
|
||||
%make_install INSTALLDIRS=vendor
|
||||
|
||||
find %{buildroot} -type f -name .packlist -exec rm -f '{}' \;
|
||||
find %{buildroot} -type f -name perllocal.pod -exec rm -f '{}' \;
|
||||
@ -485,6 +492,12 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Mar 09 2021 Felix Kaechele <heffer@fedoraproject.org> - 1:1.19.8-1
|
||||
- update mainline to 1.19.8
|
||||
- use make macros
|
||||
- add BR on make
|
||||
- Resolves: #1931402 - drop gperftools module
|
||||
|
||||
* Tue Feb 16 2021 Felix Kaechele <heffer@fedoraproject.org> - 1:1.19.7-1
|
||||
- update mainline to 1.19.7
|
||||
|
||||
|
4
sources
4
sources
@ -1,2 +1,2 @@
|
||||
SHA512 (nginx-1.19.7.tar.gz) = 660f03533581f350bbfe9a519fd0ee59c543c78be98aa5287df20a89653545b29fc98282548eab1741fb1d5c26da140166b6712ee06e498ba518019588f9b747
|
||||
SHA512 (nginx-1.19.7.tar.gz.asc) = ac09c0e816b3be237d951fd4b6120880f75df61fd7ceb1c95da16cee2ba6e237ef6ffa08e5394bfc5cb3b084e64e5023e1f9c27a193f939889a95e5b4f11bcf1
|
||||
SHA512 (nginx-1.19.8.tar.gz) = da548dc459f7a921e2f6ea54f543496244e820acbdf3effc4db331717f69b710181fbfdac3be101cd7d1c39e3ca37a94f9a9c4017f11da843ed85a34acf26bc2
|
||||
SHA512 (nginx-1.19.8.tar.gz.asc) = a38fb2c109a35c33b274926be887a2a3e47926c4c360d57b225f37fb12d868b801a04805bfcbfd6d5101fc1e57166dbc533369c45960b5a6513ad0a5e825d336
|
||||
|
Loading…
Reference in New Issue
Block a user