rpms/milter-greylist/devel milter-greylist.spec,1.35,1.36
ensc
ensc at fedoraproject.org
Wed Aug 19 20:53:46 UTC 2009
Author: ensc
Update of /cvs/extras/rpms/milter-greylist/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22975
Modified Files:
milter-greylist.spec
Log Message:
- do not link against libbind anymore; recent glibc seems to have
fixed its resolver API so that -lresolv can be used by dnsrbl. Old
-lbind conflicts with this library in a subtly way causing segfaults
(#518274).
Index: milter-greylist.spec
===================================================================
RCS file: /cvs/extras/rpms/milter-greylist/devel/milter-greylist.spec,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -p -r1.35 -r1.36
--- milter-greylist.spec 19 Aug 2009 20:06:51 -0000 1.35
+++ milter-greylist.spec 19 Aug 2009 20:53:46 -0000 1.36
@@ -20,7 +20,7 @@
Summary: Milter for greylisting, the next step in the spam control war
Name: milter-greylist
Version: 4.2.3
-Release: %release_func 1%{?beta}
+Release: %release_func 2%{?beta}
License: BSD with advertising
Group: System Environment/Daemons
URL: http://hcpnet.free.fr/milter-greylist/
@@ -33,7 +33,6 @@ Requires: init(%name)
Provides: user(%username) = 7
Provides: group(%username) = 7
BuildRequires: bison flex m4
-BuildRequires: %_libdir/libbind.so
BuildRequires: sendmail-devel %{?with_spf:libspf-devel}
BuildRequires: fedora-usermgmt-devel
BuildRequires: curl-devel GeoIP-devel
@@ -122,8 +121,8 @@ done
%define makeflags TEST=false BINDIR=%_sbindir
%build
-export CPPFLAGS="-DUSE_CURL -DUSE_GEOIP -D_GNU_SOURCE -D_REENTRANT $(pkg-config --cflags-only-I libcurl libbind)"
-export LDFLAGS="-Wl,--as-needed -lbind -lcurl -lGeoIP"
+export CPPFLAGS="-DUSE_CURL -DUSE_GEOIP -D_GNU_SOURCE -D_REENTRANT $(pkg-config --cflags-only-I libcurl)"
+export LDFLAGS="-Wl,--as-needed $(pkg-config --libs libcurl) -lGeoIP"
%configure \
--disable-rpath \
--with-user=%username \
@@ -214,8 +213,12 @@ rm -rf $RPM_BUILD_ROOT
%changelog
-* Wed Aug 19 2009 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de>
+* Wed Aug 19 2009 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 4.2.3-2
- moved pre-2007 %%changelog entries into ChangeLog.rpm
+- do not link against libbind anymore; recent glibc seems to have
+ fixed its resolver API so that -lresolv can be used by dnsrbl. Old
+ -lbind conflicts with this library in a subtly way causing segfaults
+ (#518274).
* Wed Aug 19 2009 Enrico Scholz <enrico.scholz at informatik.tu-chemnitz.de> - 4.2.3-1
- updated to 4.2.3
More information about the fedora-extras-commits
mailing list