From 44cff8537e0c496fd6ce33d4326d8fdedf4256ab Mon Sep 17 00:00:00 2001 From: "Jean-Marc Pigeon (Delson)" Date: Mon, 23 Jun 2025 08:41:14 -0400 Subject: [PATCH] dove macro within spec file --- mailleur.spec.in | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/mailleur.spec.in b/mailleur.spec.in index b527d2d..c48e08f 100644 --- a/mailleur.spec.in +++ b/mailleur.spec.in @@ -17,6 +17,7 @@ Source0 : %{name}-@@VERSION@@.tar.gz BuildRequires : postgresql Requires : bash +Requires : dovecot Requires : openssl Requires : sed @@ -30,6 +31,11 @@ search about email exchange within time and transaction context. #----------------------------------------------------------------------------- %files +%define dove \ + %attr(0640,%{name},dovecot) \ + %config(noreplace) \ + %{_sysconfdir}/%{name}/dovecot/passfile + %defattr(-,root,root,-) %attr(0755,root,root) %{_datadir}/%{name}/linux/osukiss/receiver %attr(0755,root,root) %{_datadir}/%{name}/linux/osukiss/sorter @@ -37,7 +43,7 @@ search about email exchange within time and transaction context. %attr(0644,%{name},mail) %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %attr(0644,%{name},mail) %config(noreplace) %{_sysconfdir}/%{name}/%{name}.conf %attr(0644,root,root) %config(noreplace) %{_sysconfdir}/%{name}/dovecot/dovecot.conf -%attr(0640,root,root) %config(noreplace) %{_sysconfdir}/%{name}/dovecot/passfile +%{dove} %{_sbindir}/chkspf %{_sbindir}/feeder %attr(0755,%{name},mail) %{_sbindir}/receiver -- 2.47.3