# Conditional build:
%bcond_without dist_kernel # allow non-distribution kernel
%bcond_without kernel # don't build kernel modules
+%bcond_without up # don't build UP module
%bcond_without smp # don't build SMP module
%bcond_without userspace # don't build userspace module
%bcond_with verbose # verbose build (V=1)
%undefine with_smp
%endif
-%define _rel 4
+%define _rel 55
Summary: drbd is a block device designed to build high availibility clusters
Summary(pl): drbd jest urz±dzeniem blokowym dla klastrów o wysokiej niezawodno¶ci
Name: drbd
-Version: 0.7.22
+Version: 0.7.24
Release: %{_rel}
License: GPL
Group: Base/Kernel
Source0: http://oss.linbit.com/drbd/0.7/%{name}-%{version}.tar.gz
-# Source0-md5: 589626e0c62d314d3bbe78275b9e7d2d
+# Source0-md5: b2c7335514a355b874a634dc12b22522
Patch0: %{name}-Makefile.patch
+# based on http://members.home.nl/maarten/drbd-0.7.22-2.6.19.patch but compliant
+# with older kernels
+Patch1: %{name}-0.7.22-2.6.19-friendly.patch
URL: http://www.drbd.org/
%if %{with userspace}
BuildRequires: bison
%prep
%setup -q
%patch0 -p1
+#%patch1 -p1
%build
%if %{with userspace}