Mercurial > dnsbl
changeset 221:21037aa3aae5
try to build proper rpm by avoiding auto requires, revert to only libresolv.a
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sun, 28 Dec 2008 08:12:55 -0800 |
parents | 495cfe5caead |
children | b2a7ca398712 |
files | dnsbl.spec.in src/Makefile.am |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dnsbl.spec.in Sun Dec 28 00:42:03 2008 -0800 +++ b/dnsbl.spec.in Sun Dec 28 08:12:55 2008 -0800 @@ -9,6 +9,7 @@ Source: http://www.five-ten-sg.com/%{name}/packages/%{name}-%{version}.tar.gz BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) URL: http://www.five-ten-sg.com/%{name}/ +AutoReqProv: no Requires(pre): /usr/sbin/useradd Requires(pre): /usr/bin/getent @@ -19,6 +20,8 @@ Requires: sendmail >= 8.12.1 Requires: sendmail-cf Requires: spamassassin +Requires: libc.so.6, libgcc_s.so.1, libm.so.6, libpthread.so.0, libstdc++.so.6 + %description We present here a mechanism whereby the backup mail server can use the
--- a/src/Makefile.am Sun Dec 28 00:42:03 2008 -0800 +++ b/src/Makefile.am Sun Dec 28 08:12:55 2008 -0800 @@ -7,7 +7,7 @@ # the library search path. dnsbl_LDFLAGS = $(PTHREAD_CFLAGS) $(PTHREAD_LIBS) -dnsbl_LDADD = $(all_libraries) -lmilter -lresolv /usr/lib/libresolv.a +dnsbl_LDADD = $(all_libraries) -lmilter /usr/lib/libresolv.a # default compile flags dnsbl_CXXFLAGS = $(PTHREAD_CFLAGS)