Skip to content

Commit e2c2f99

Browse files
committed
Rename package to nginx-lua-waf and set conflicts
1 parent 5fbdc24 commit e2c2f99

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

nginx.spec

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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}
@@ -16,12 +16,13 @@
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
2121
Version: 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
2526
Source1: nginx.service
2627
Source2: nginx.logrotate
2728
Source3: nginx.conf
@@ -46,7 +47,7 @@ efficiency, and flexibility. This build includes lua and modsecurity plugins.
4647

4748
%prep
4849
cp %{SOURCE1} %{SOURCE2} %{SOURCE3} .
49-
%setup -q
50+
%setup -n nginx-%{version}
5051
# Unpack all lua dependencies
5152
tar -xzvf %{SOURCE100} -C %{_builddir}
5253
%global SOURCE100 %{_builddir}/lua-nginx-module-%{lua_nginx_module_version}

0 commit comments

Comments
 (0)