[packages/opensmtpd] cleanups

glen glen at pld-linux.org
Sat Nov 2 23:57:01 CET 2013


commit a28f1a50058d101c8cfb79b385dfc14a86497eb1
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 3 00:56:53 2013 +0200

    cleanups

 opensmtpd.spec | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/opensmtpd.spec b/opensmtpd.spec
index be803fd..ea11e1a 100644
--- a/opensmtpd.spec
+++ b/opensmtpd.spec
@@ -53,10 +53,6 @@ re-usable by everyone under an ISC license.
 %setup -q %{?prerelease: -n %{name}-%{prerelease}p1}
 
 %build
-# db4 paths
-CFLAGS="$CFLAGS -I%{_includedir}/libdb4"
-LDFLAGS="$LDFLAGS -L%{_libdir}/libdb4"
-
 %configure \
 	--sysconfdir=%{_sysconfdir}/mail \
 	--libexecdir=%{_libdir}/%{name} \
@@ -92,8 +88,8 @@ rm -rf $RPM_BUILD_ROOT
 %if 0
 %groupadd -r smtpd
 %groupadd -r smtpq
-%useradd -r -g smtpd -s /sbin/nologin -c "OpenSMTPd privsep user" -d /usr/share/empty smtpd
-%useradd -r -g smtpq -s /sbin/nologin -c "OpenSMTPd queue user" -d /usr/share/empty smtpq
+%useradd -r -g smtpd -s /sbin/nologin -c "OpenSMTPd privsep user" -d %{_privsepdir} smtpd
+%useradd -r -g smtpq -s /sbin/nologin -c "OpenSMTPd queue user" -d %{_privsepdir} smtpq
 %endif
 
 %post
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/opensmtpd.git/commitdiff/a28f1a50058d101c8cfb79b385dfc14a86497eb1



More information about the pld-cvs-commit mailing list