Sfoglia il codice sorgente

新增:nginx-1.19.10

呉真 3 anni fa
parent
commit
60ebc8568f
2 ha cambiato i file con 8 aggiunte e 3 eliminazioni
  1. 0 0
      nginx.default.conf
  2. 8 3
      nginx.spec

+ 0 - 0
nginx.vh.default.conf → nginx.default.conf


+ 8 - 3
nginx.spec

@@ -63,7 +63,7 @@ Requires(pre): shadow-utils
 
 %define openssl_version 1.1.1k
 
-%define base_version 1.19.9
+%define base_version 1.19.10
 %define base_release 1%{?dist}.ngx
 
 %define bdir %{_builddir}/%{name}-%{base_version}
@@ -86,7 +86,7 @@ Source1: logrotate
 Source2: nginx.init.in
 Source3: nginx.sysconf
 Source4: nginx.conf
-Source5: nginx.vh.default.conf
+Source5: nginx.default.conf
 Source7: nginx-debug.sysconf
 Source8: nginx.service
 Source9: nginx.upgrade.sh
@@ -96,6 +96,8 @@ Source12: nginx.copyright
 Source13: nginx.check-reload.sh
 Source14: https://www.openssl.org/source/openssl-%{openssl_version}.tar.gz
 
+
+
 License: 2-clause BSD-like license
 
 BuildRoot: %{_tmppath}/%{name}-%{base_version}-%{base_release}-root
@@ -114,7 +116,7 @@ a mail proxy server.
 %endif
 
 %prep
-%setup -q
+%autosetup -p1
 cp %{SOURCE2} .
 sed -e 's|%%DEFAULTSTART%%|2 3 4 5|g' -e 's|%%DEFAULTSTOP%%|0 1 6|g' \
     -e 's|%%PROVIDES%%|nginx|g' < %{SOURCE2} > nginx.init
@@ -342,6 +344,9 @@ if [ $1 -ge 1 ]; then
 fi
 
 %changelog
+* Tue Apr 13 2021 Andrei Belov <defan@nginx.com> - 1.19.10-1%{?dist}.ngx
+- 1.19.10-1
+
 * Tue Mar 30 2021 Konstantin Pavlov <thresh@nginx.com> - 1.19.9-1%{?dist}.ngx
 - 1.19.9-1