From c9633c471b42b9c864c96f7c27df4f9feee6f1c5 Mon Sep 17 00:00:00 2001 From: Neal Gompa Date: Aug 05 2020 11:40:18 +0000 Subject: spec: Fix installability of web-apache-httpd subpackage on EL7 The httpd-filesystem package was introduced after EL7, so it should only be required for EL8 and newer systems... Signed-off-by: Neal Gompa --- diff --git a/files/pagure.spec b/files/pagure.spec index c32a58f..3017e11 100644 --- a/files/pagure.spec +++ b/files/pagure.spec @@ -96,10 +96,10 @@ create/merge pull-requests across or within projects. Summary: Apache HTTPD configuration for Pagure BuildArch: noarch Requires: %{name} = %{version}-%{release} -Requires: httpd-filesystem %if 0%{?rhel} && 0%{?rhel} < 8 Requires: mod_wsgi %else +Requires: httpd-filesystem Requires: python%{python_pkgversion}-mod_wsgi %endif %description web-apache-httpd