[packages/opensmtpd] ghost aliases.db

glen glen at pld-linux.org
Sun Nov 3 00:39:28 CET 2013


commit ddd6674a76500b14edc9cfabdf397157d93b1c6e
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Nov 3 01:39:18 2013 +0200

    ghost aliases.db

 opensmtpd.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/opensmtpd.spec b/opensmtpd.spec
index bf828fe..7746b2e 100644
--- a/opensmtpd.spec
+++ b/opensmtpd.spec
@@ -4,7 +4,7 @@
 # Conditional build:
 %bcond_without	pam		# build without PAM support
 
-%define	rel	0.3
+%define	rel	0.4
 %define	prerelease	201310231634
 Summary:	Free implementation of the server-side SMTP protocol as defined by RFC 5321
 Name:		opensmtpd
@@ -96,6 +96,7 @@ cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/mail
 %if %{with pam}
 cp -p %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/smtp
 %endif
+touch $RPM_BUILD_ROOT%{_sysconfdir}/mail/aliases.db
 
 # /usr/sbin/sendmail compatibility is not required /usr/lib/sendmail is
 install -d $RPM_BUILD_ROOT%{_prefix}/lib
@@ -137,6 +138,7 @@ fi
 %dir %{_sysconfdir}/mail
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/smtpd.conf
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/mail/aliases
+%ghost %{_sysconfdir}/mail/aliases.db
 %if %{with pam}
 %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/smtp
 %endif
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list