diff --git a/mod_fcgid.spec b/mod_fcgid.spec index ef9385c..067ef42 100644 --- a/mod_fcgid.spec +++ b/mod_fcgid.spec @@ -1,6 +1,6 @@ Name: mod_fcgid Version: 2.3.9 -Release: 27%{?dist} +Release: 28%{?dist} Summary: FastCGI interface module for Apache 2 License: ASL 2.0 URL: http://httpd.apache.org/mod_fcgid/ @@ -18,6 +18,12 @@ BuildRequires: httpd-devel >= 2.4 BuildRequires: make BuildRequires: pkgconfig BuildRequires: sed +# systemd-rpm-macros needed for definition of %%{_tmpfilesdir} +%if (0%{?fedora} && 0%{?fedora} <= 30) +BuildRequires: systemd +%else +BuildRequires: systemd-rpm-macros +%endif Requires: httpd-mmn = %{_httpd_mmn} # systemd needed for ownership of %%{_tmpfilesdir} Requires: systemd @@ -74,6 +80,9 @@ install -p -m 644 %{SOURCE4} %{buildroot}%{_tmpfilesdir}/mod_fcgid.conf %dir %attr(0775,root,apache) /run/mod_fcgid/ %changelog +* Wed Aug 24 2022 Paul Howarth - 2.3.9-28 +- BR: systemd-rpm-macros for definition of %%{_tmpfilesdir} + * Thu Jul 21 2022 Fedora Release Engineering - 2.3.9-27 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild