Mercurial > dnsbl
comparison 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 |
comparison
equal
deleted
inserted
replaced
123:ecd97e7eb1f0 | 124:ea6f9c812faa |
---|---|
59 datadir=$RPM_BUILD_ROOT%{_datadir} \ | 59 datadir=$RPM_BUILD_ROOT%{_datadir} \ |
60 includedir=$RPM_BUILD_ROOT%{_includedir} \ | 60 includedir=$RPM_BUILD_ROOT%{_includedir} \ |
61 sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install | 61 sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} install |
62 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d | 62 mkdir -p $RPM_BUILD_ROOT/etc/rc.d/init.d |
63 mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/@PACKAGE@-@VERSION@ | 63 mkdir -p $RPM_BUILD_ROOT%{_datadir}/doc/@PACKAGE@-@VERSION@ |
64 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/dnsbl/dnsbl $RPM_BUILD_ROOT/etc/rc.d/init.d | 64 mv -f $RPM_BUILD_ROOT%{_sysconfdir}/@PACKAGE@/@PACKAGE@ $RPM_BUILD_ROOT/etc/rc.d/init.d |
65 mv AUTHORS COPYING ChangeLog NEWS README $RPM_BUILD_ROOT%{_datadir}/doc/@PACKAGE@-@VERSION@ | 65 mv AUTHORS COPYING ChangeLog NEWS README $RPM_BUILD_ROOT%{_datadir}/doc/@PACKAGE@-@VERSION@ |
66 mkdir -p %{buildroot}/var/run/@PACKAGE@ | 66 mkdir -p %{buildroot}/var/run/@PACKAGE@ |
67 | 67 |
68 | 68 |
69 %pre | 69 %pre |
70 /usr/bin/getent passwd dnsbl >/dev/null || | 70 /usr/bin/getent passwd @PACKAGE@ >/dev/null || |
71 useradd -r -d /etc/dnsbl -M -c "dnsbl pseudo-user" -s /sbin/nologin dnsbl | 71 useradd -r -d %{_sysconfdir}/@PACKAGE@ -M -c "@PACKAGE@ pseudo-user" -s /sbin/nologin @PACKAGE@ |
72 | 72 |
73 | 73 |
74 %post | 74 %post |
75 /sbin/chkconfig --add @PACKAGE@ | 75 /sbin/chkconfig --add @PACKAGE@ |
76 | 76 |
100 /etc/rc.d/init.d/@PACKAGE@ | 100 /etc/rc.d/init.d/@PACKAGE@ |
101 %dir %attr(0750,@PACKAGE@,root) /var/run/@PACKAGE@ | 101 %dir %attr(0750,@PACKAGE@,root) /var/run/@PACKAGE@ |
102 | 102 |
103 | 103 |
104 %changelog | 104 %changelog |
105 * Thu Mar 16 2006 Carl Byington 5.16 | |
106 - use @PACKAGE@ in more places | |
107 | |
105 * Fri Mar 10 2006 Carl Byington 5.13 | 108 * Fri Mar 10 2006 Carl Byington 5.13 |
106 - remove redundant entry in files section | 109 - remove redundant entry in files section |
107 | 110 |
108 * Sun Dec 18 2005 Carl Byington 5.11 | 111 * Sun Dec 18 2005 Carl Byington 5.11 |
109 - use autoconf and http://www.fedora.us/docs/rpm-packaging-guidelines.html | 112 - use autoconf and http://www.fedora.us/docs/rpm-packaging-guidelines.html |