From f7ac2e4adcde6edea4d02d1a381845496cf65673 Mon Sep 17 00:00:00 2001 From: Michal Hlavinka Date: Wed, 24 Aug 2022 08:35:08 +0200 Subject: [PATCH] add unit dir variable --- dovecot.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dovecot.spec b/dovecot.spec index fb8a3b8..0309be6 100644 --- a/dovecot.spec +++ b/dovecot.spec @@ -183,7 +183,9 @@ autoreconf -I . -fiv #required for aarch64 support --with-ssl=openssl \ --with-ssldir=%{ssldir} \ --with-solr \ - --with-docs + --with-docs \ + systemdsystemunitdir=%{_unitdir} + sed -i 's|/etc/ssl|/etc/pki/dovecot|' doc/mkcert.sh doc/example-config/conf.d/10-ssl.conf %make_build