BR: systemd-rpm-macros for definition of %{_tmpfilesdir}

This commit is contained in:
Paul Howarth 2022-08-24 10:49:48 +01:00
parent 68ed4648e0
commit e218a688fd

View File

@ -1,6 +1,6 @@
Name: mod_fcgid Name: mod_fcgid
Version: 2.3.9 Version: 2.3.9
Release: 27%{?dist} Release: 28%{?dist}
Summary: FastCGI interface module for Apache 2 Summary: FastCGI interface module for Apache 2
License: ASL 2.0 License: ASL 2.0
URL: http://httpd.apache.org/mod_fcgid/ URL: http://httpd.apache.org/mod_fcgid/
@ -18,6 +18,12 @@ BuildRequires: httpd-devel >= 2.4
BuildRequires: make BuildRequires: make
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: sed 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} Requires: httpd-mmn = %{_httpd_mmn}
# systemd needed for ownership of %%{_tmpfilesdir} # systemd needed for ownership of %%{_tmpfilesdir}
Requires: systemd Requires: systemd
@ -74,6 +80,9 @@ install -p -m 644 %{SOURCE4} %{buildroot}%{_tmpfilesdir}/mod_fcgid.conf
%dir %attr(0775,root,apache) /run/mod_fcgid/ %dir %attr(0775,root,apache) /run/mod_fcgid/
%changelog %changelog
* Wed Aug 24 2022 Paul Howarth <paul@city-fan.org> - 2.3.9-28
- BR: systemd-rpm-macros for definition of %%{_tmpfilesdir}
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.9-27 * Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.9-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild