# HG changeset patch # User Carl Byington # Date 1230480775 28800 # Node ID 21037aa3aae5f741b2fe101888ca161b2f420f6d # Parent 495cfe5caead404992cae344df7a38aada565bdf try to build proper rpm by avoiding auto requires, revert to only libresolv.a diff -r 495cfe5caead -r 21037aa3aae5 dnsbl.spec.in --- 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 diff -r 495cfe5caead -r 21037aa3aae5 src/Makefile.am --- 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)