diff options
Diffstat (limited to 'podman.spec.rpkg')
-rw-r--r-- | podman.spec.rpkg | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/podman.spec.rpkg b/podman.spec.rpkg index 7068c9745..f970e5f25 100644 --- a/podman.spec.rpkg +++ b/podman.spec.rpkg @@ -5,6 +5,11 @@ %global with_debug 1 +# _user_tmpfiles.d currently undefined on rhel +%if 0%{?rhel} +%global _user_tmpfilesdir %{_datadir}/user-tmpfiles.d +%endif + %if 0%{?with_debug} %global _find_debuginfo_dwz_opts %{nil} %global _dwz_low_mem_die_limit 0 @@ -59,6 +64,7 @@ BuildRequires: go-rpm-macros %endif %if 0%{?rhel} <= 8 BuildRequires: pkgconfig(devmapper) +BuildRequires: python3 %endif BuildRequires: gpgme-devel BuildRequires: libassuan-devel @@ -232,6 +238,7 @@ done %{_userunitdir}/%{name}-restart.service %{_userunitdir}/%{name}-kube@.service %{_tmpfilesdir}/%{name}.conf +%{_user_tmpfilesdir}/%{name}-docker.conf %if 0%{?fedora} >= 36 %{_modulesloaddir}/%{name}-iptables.conf %endif |