diff --git a/rpc2-2.8-dso.patch b/rpc2-2.8-dso.patch new file mode 100644 index 0000000..0dd8212 --- /dev/null +++ b/rpc2-2.8-dso.patch @@ -0,0 +1,24 @@ +diff -ur rpc2-2.8~/rpc2-src/Makefile.am rpc2-2.8/rpc2-src/Makefile.am +--- rpc2-2.8~/rpc2-src/Makefile.am 2008-08-08 13:42:04.000000000 -0400 ++++ rpc2-2.8/rpc2-src/Makefile.am 2010-02-16 13:31:59.197163453 -0500 +@@ -3,7 +3,7 @@ + INCLUDES = -I$(top_builddir)/include -I$(top_srcdir)/include \ + $(LUA_CFLAGS) $(LWP_CFLAGS) \ + -DRPC2DEBUG -DERRORTR -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 +-LDADD = librpc2.la libse.la ++LDADD = librpc2.la libse.la $(LWP_LIBS) + + noinst_HEADERS = rpc2.private.h dllist.h test.h \ + switchc2s.h switchs2c.h switchs2e.h +diff -ur rpc2-2.8~/rpc2-src/Makefile.in rpc2-2.8/rpc2-src/Makefile.in +--- rpc2-2.8~/rpc2-src/Makefile.in 2008-12-11 15:55:32.000000000 -0500 ++++ rpc2-2.8/rpc2-src/Makefile.in 2010-02-16 13:32:35.484417414 -0500 +@@ -245,7 +245,7 @@ + $(LUA_CFLAGS) $(LWP_CFLAGS) \ + -DRPC2DEBUG -DERRORTR -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 + +-LDADD = librpc2.la libse.la ++LDADD = librpc2.la libse.la $(LWP_LIBS) + noinst_HEADERS = rpc2.private.h dllist.h test.h \ + switchc2s.h switchs2c.h switchs2e.h + diff --git a/rpc2.spec b/rpc2.spec index d56bd6c..f4c8755 100644 --- a/rpc2.spec +++ b/rpc2.spec @@ -1,6 +1,6 @@ Name: rpc2 Version: 2.8 -Release: 3%{?dist} +Release: 4%{?dist} Summary: C library for remote procedure calls over UDP Group: System Environment/Libraries License: LGPLv2 @@ -9,6 +9,9 @@ Source0: ftp://ftp.coda.cs.cmu.edu/pub/coda/src/%{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: lwp-devel lua-devel flex bison +# patch is upstream in git +Patch0: rpc2-2.8-dso.patch + %description The RPC2 library. @@ -27,6 +30,7 @@ developing applications that use %{name}. %prep %setup -q +%patch -P 0 -p1 %build @@ -67,6 +71,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue Feb 16 2010 Adam Goode - 2.8-4 +- Fix FTBFS (bz 565008) + * Wed Sep 9 2009 Adam Goode - 2.8-3 - Remove unnecessary readline-devel build requires (INSTALL file seems wrong)