diff dnsbl.spec.in @ 124:ea6f9c812faa stable-5-16

put hostname in smtp message for uribl style lookups
author carl
date Thu, 16 Mar 2006 15:20:37 -0800
parents aa07452e641b
children 8b1562482b29
line wrap: on
line diff
--- a/dnsbl.spec.in	Wed Mar 15 08:21:51 2006 -0800
+++ b/dnsbl.spec.in	Thu Mar 16 15:20:37 2006 -0800
@@ -61,14 +61,14 @@
     sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install
 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d
 mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/@PACKAGE@-@VERSION@
-mv -f $RPM_BUILD_ROOT%{_sysconfdir}/dnsbl/dnsbl      $RPM_BUILD_ROOT/etc/rc.d/init.d
+mv -f $RPM_BUILD_ROOT%{_sysconfdir}/@PACKAGE@/@PACKAGE@     $RPM_BUILD_ROOT/etc/rc.d/init.d
 mv AUTHORS COPYING ChangeLog NEWS README             $RPM_BUILD_ROOT%{_datadir}/doc/@PACKAGE@-@VERSION@
 mkdir -p %{buildroot}/var/run/@PACKAGE@
 
 
 %pre
-/usr/bin/getent passwd dnsbl >/dev/null ||
-  useradd -r -d /etc/dnsbl -M -c "dnsbl pseudo-user" -s /sbin/nologin dnsbl
+/usr/bin/getent passwd @PACKAGE@ >/dev/null ||
+  useradd -r -d %{_sysconfdir}/@PACKAGE@ -M -c "@PACKAGE@ pseudo-user" -s /sbin/nologin @PACKAGE@
 
 
 %post
@@ -102,6 +102,9 @@
 
 
 %changelog
+* Thu Mar 16 2006 Carl Byington 5.16
+- use @PACKAGE@ in more places
+
 * Fri Mar 10 2006 Carl Byington 5.13
 - remove redundant entry in files section