--- /dev/null
+--- corosync-1.3.0/exec/Makefile.am.orig 2011-04-22 12:56:16.220007990 +0000
++++ corosync-1.3.0/exec/Makefile.am 2011-04-22 12:57:07.016674021 +0000
+@@ -125,7 +125,7 @@ else
+ $(CC) $(LDFLAGS) $(CFLAGS) $(COVERAGE_LCRSO_EXTRA_LDFLAGS) -shared -Wl,-soname=$@ $^ -o $@
+
+ libtotem_pg.so.$(SONAME): $(TOTEM_OBJS)
+- $(CC) -shared -o $@ \
++ $(CC) -shared -o $@ $(LIBS) \
+ -Wl,-soname=libtotem_pg.so.$(SOMAJOR) \
+ $(LDFLAGS) $^ $(nss_LIBS) $(rdmacm_LIBS) $(ibverbs_LIBS) -lpthread
+ ln -sf libtotem_pg.so.$(SONAME) libtotem_pg.so
Group: Base
Source0: ftp://ftp:downloads@corosync.org/downloads/%{name}-%{version}/%{name}-%{version}.tar.gz
# Source0-md5: 66a527d668b0f908db89be26c83ca7d6
+Patch0: %{name}-makefile.patch
URL: http://www.corosync.org/
BuildRequires: autoconf >= 2.61
BuildRequires: automake
Requires: %{name}-libs = %{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-# "Unresolved symbols found: clock_gettime" however -lrt is properly
-# passed (or seems to me - alucard), corosync works well anyway
-%define skip_post_check_so libtotem_pg.so.4.0.0
-
%description
The Corosync Cluster Engine is an OSI Certified implementation of a
complete cluster engine.
%prep
%setup -q
+%patch0 -p1
%build
%{__aclocal}