Nginx updated to 1.14.2 which newer than distro package

This commit is contained in:
2018-12-10 23:00:47 +01:00
parent 675ee14137
commit 1703129321

View File

@@ -17,7 +17,7 @@
Name: nginx
Epoch: 1
Version: 1.14.0
Version: 1.14.2
Release: 1%{?dist}
Summary: A high performance web server and reverse proxy server
@@ -49,7 +49,7 @@ Source210: UPGRADE-NOTES-1.6-to-1.10
# removes -Werror in upstream build scripts. -Werror conflicts with
# -D_FORTIFY_SOURCE=2 causing warnings to turn into errors.
Patch0: nginx-auto-cc-gcc.patch
Patch1: ngx_user_crypt.patch
#Patch1: ngx_user_crypt.patch
%if 0%{?with_gperftools}
BuildRequires: gperftools-devel
@@ -207,9 +207,9 @@ Modsecurity module for nginx
%endif
%setup -q
%patch0 -p0
%if 0%{?fedora} > 27
%patch1 -p1
%endif
#%if 0%{?fedora} > 27
#%patch1 -p1
#%endif
cp %{SOURCE200} %{SOURCE210} %{SOURCE10} %{SOURCE12} .
%if 0%{?rhel} > 0 && 0%{?rhel} < 8
@@ -530,6 +530,9 @@ fi
[ "%{_builddir}" != "/" ] && [ -d "%{_builddir}" ] && rm -rf %{_builddir}/*
%changelog
* Mon Dec 10 2018 Daniel Steiner <daniel.steiner@greenmail.ch> 1.14.2-1
- Update to version 1.14.2, which is newer than distro standard
* Mon Jul 30 2018 Daniel Steiner <daniel.steiner@greenmail.ch> 1.14.0-1
- Updated to lates nginx version
- Compiled on Fedora 28