rpm: removed RHEL/CentOS 5 support.
diff --git a/rpm/SPECS/Makefile b/rpm/SPECS/Makefile index 6133cc1..f1b3ddc 100644 --- a/rpm/SPECS/Makefile +++ b/rpm/SPECS/Makefile
@@ -163,7 +163,7 @@ # perl define MODULE_DEFINITIONS_perl -%if (0%{?rhel} \&\& 0%{?rhel} == 5) || (0%{?suse_version} == 1315) +%if (0%{?suse_version} == 1315) BuildRequires: perl %else BuildRequires: perl-devel
diff --git a/rpm/SPECS/nginx.spec.in b/rpm/SPECS/nginx.spec.in index a93f9d5..68bddde 100644 --- a/rpm/SPECS/nginx.spec.in +++ b/rpm/SPECS/nginx.spec.in
@@ -7,15 +7,6 @@ # distribution specific definitions %define use_systemd (0%{?fedora} && 0%{?fedora} >= 18) || (0%{?rhel} && 0%{?rhel} >= 7) || (0%{?suse_version} == 1315) -%if 0%{?rhel} == 5 -%define _group System Environment/Daemons -Requires(pre): shadow-utils -Requires: initscripts >= 8.36 -Requires(post): chkconfig -Requires: openssl -BuildRequires: openssl-devel -%endif - %if 0%{?rhel} == 6 %define _group System Environment/Daemons Requires(pre): shadow-utils