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