diff --git a/cluster.spec b/cluster.spec index c58e561..4752362 100644 --- a/cluster.spec +++ b/cluster.spec @@ -40,7 +40,8 @@ BuildRequires: dbus-devel zlib-devel %prep %setup -q -n %{name}-%{version} - +# FIXME: +sed -i -e 's#{DESTDIR}/lib/udev#{libdir}/udev#g' make/install.mk make/uninstall.mk %build ./configure \ --sbindir=%{_sbindir} \ @@ -161,7 +162,8 @@ fi %package -n clusterlib Group: System Environment/Libraries Summary: The Red Hat Cluster libraries -Requires: udev +Requires: udev >= 176 +Conflicts: filesystem < 3 Conflicts: cman < 3.0.3-1 Provides: cmanlib = %{version} Obsoletes: cmanlib < 3.0.0-5.alpha4 @@ -172,7 +174,7 @@ The Red Hat Cluster libraries package %files -n clusterlib %defattr(-,root,root,-) %doc doc/COPYING.* doc/COPYRIGHT doc/README.licence -/lib/udev/rules.d/*-dlm.rules +%{_prefix}/lib/udev/rules.d/*-dlm.rules %{_libdir}/libcman.so.* %{_libdir}/libccs*.so.* %{_libdir}/libdlm*.so.*