File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change 1- %global nginx_user nginx
1+ %global nginx_user nginx
22%global nginx_moduledir %{_libdir }/nginx/modules
33%global nginx_moduleconfdir %{_datadir }/nginx/modules
44%global nginx_srcdir %{_usrsrc }/%{name }-%{version }-%{release }
1616# By default downloading of sources is disabled
1717%undefine _disable_source_fetch
1818
19- Name: nginx
20- Summary: High performance web server
19+ Name: nginx-lua-waf
20+ Summary: High performance web server nginx with lua and modsecurity plugins
2121Version: 1.25.3
22- Release: 2%{?dist }
22+ Release: 3%{?dist }
23+ Conflicts: nginx nginx-mimetypes nginx-core luajit
2324
24- Source0: https://nginx.org/download/%{ name } -%{version }.tar.gz
25+ Source0: https://nginx.org/download/nginx -%{version }.tar.gz
2526Source1: nginx.service
2627Source2: nginx.logrotate
2728Source3: nginx.conf
@@ -46,7 +47,7 @@ efficiency, and flexibility. This build includes lua and modsecurity plugins.
4647
4748%prep
4849cp %{SOURCE1 } %{SOURCE2 } %{SOURCE3 } .
49- %setup -q
50+ %setup -n nginx-%{ version }
5051# Unpack all lua dependencies
5152tar -xzvf %{SOURCE100 } -C %{_builddir }
5253%global SOURCE100 %{_builddir }/lua-nginx-module-%{lua_nginx_module_version }
You can’t perform that action at this time.
0 commit comments