]> git.pld-linux.org Git - packages/opensmtpd.git/commitdiff
macro for privsepdir
authorElan Ruusamäe <glen@delfi.ee>
Sat, 2 Nov 2013 22:08:53 +0000 (00:08 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 2 Nov 2013 22:08:53 +0000 (00:08 +0200)
opensmtpd.spec

index 42b5ecf4c8d32c731014b64a50dd1957796d9b49..a9a2a7392519f3f96dfc324d2f1587febb1820c8 100644 (file)
@@ -34,6 +34,8 @@ Provides:     smtpdaemon
 Obsoletes:     smtpdaemon
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                _privsepdir     /usr/share/empty
+
 %description
 OpenSMTPD is a FREE implementation of the server-side SMTP protocol as
 defined by RFC 5321, with some additional standard extensions. It
@@ -62,7 +64,7 @@ LDFLAGS="$LDFLAGS -L%{_libdir}/libdb4"
        %{?with_pam:--with-pam} \
        --with-privsep-user=smtpd \
        --with-queue-user=smtpq \
-       --with-privsep-path=/usr/share/empty \
+       --with-privsep-path=%{_privsepdir} \
        --with-sock-dir=%{_localstatedir}/run
 
 %{__make}
This page took 0.114202 seconds and 4 git commands to generate.