Explicitly list tmpfiles dir for debbuild

For whatever reason, debbuild doesn't install
/usr/lib/tmpfiles.d/podman.conf

Also use Packager tag in debbuild

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2022-06-29 10:19:44 -04:00
parent c5d7122566
commit d11fdff711

View File

@ -39,7 +39,7 @@ Name: podman
Epoch: 3
Version: 4.1.1
%if "%{_vendor}" == "debbuild"
Maintainer: Lokesh Mandvekar <lsm5@fedoraproject.org>
Packager: Lokesh Mandvekar <lsm5@fedoraproject.org>
License: ASL-2.0+
Release: 0%{?dist}
%else
@ -373,7 +373,11 @@ cp -pav test/system %{buildroot}/%{_datadir}/%{name}/test/
%{_datadir}/fish/vendor_completions.d/%{name}.fish
%{_unitdir}/%{name}*
%{_userunitdir}/%{name}*
%if "%{_vendor}" == "debbuild"
%{_usr}/lib/tmpfiles.d/%{name}.conf
%else
%{_tmpfilesdir}/%{name}.conf
%endif
%if 0%{?fedora} >= 36
%{_modulesloaddir}/%{name}-iptables.conf
%endif