diff dnsbl.spec.in @ 371:df7dc6b2b153

install dnsblnogrey/whiteclnt for dccifd
author Carl Byington <carl@five-ten-sg.com>
date Wed, 08 Feb 2017 10:03:40 -0800
parents 5380552644e2
children aeb4480a2a95
line wrap: on
line diff
--- a/dnsbl.spec.in	Tue Feb 07 18:09:52 2017 -0800
+++ b/dnsbl.spec.in	Wed Feb 08 10:03:40 2017 -0800
@@ -68,6 +68,8 @@
 make DESTDIR=%{buildroot} install
 mkdir -p %{buildroot}%{_sysconfdir}/%{name}/autowhite
 mkdir -p %{buildroot}%{_sysconfdir}/%{name}/.spamassassin
+install -m 644 -D %{buildroot}%{_sysconfdir}/%{name}/dnsblnogrey \
+     %{buildroot}/var/dcc/userdirs/dnsblnogrey/whiteclnt
 %if "%{?dist}" == ".el7"
 install -m 644 -D %{buildroot}%{_sysconfdir}/%{name}/%{name}.service \
     %{buildroot}%{_unitdir}/%{name}.service
@@ -82,6 +84,7 @@
 rm -f  %{buildroot}%{_sysconfdir}/%{name}/%{name}
 rm -f  %{buildroot}%{_sysconfdir}/%{name}/%{name}.service
 rm -f  %{buildroot}%{_sysconfdir}/%{name}/%{name}-tmpfs.conf
+rm -f  %{buildroot}%{_sysconfdir}/%{name}/dnsblnogrey
 
 
 %pre
@@ -137,6 +140,7 @@
 %docdir %{_datadir}/doc/%{name}-%{version}
 %{_datadir}/doc/%{name}-%{version}
 %config(noreplace) %attr(0750,%{name},root) %{_sysconfdir}/%{name}
+%config(noreplace) %attr(0644,root,root) /var/dcc/userdirs/dnsblnogrey/whiteclnt
 %if "%{?dist}" == ".el7"
 %{_prefix}/lib/tmpfiles.d/%{name}.conf
 %{_unitdir}/%{name}.service
@@ -147,8 +151,9 @@
 
 
 %changelog
-* Tue Feb 07 2017 Carl Byington <carl@five-ten-sg.com> - 6.49-1
+* Wed Feb 08 2017 Carl Byington <carl@five-ten-sg.com> - 6.49-1
 - RHEL7 systemd and /var/run is on tmpfs
+- install dnsblnogrey/whiteclnt for dccifd
 
 * Tue Dec 20 2016 Carl Byington <carl@five-ten-sg.com> - 6.48-1
 - allow dkim whitelisting.