From c3f25c5fccc2ce18b77c46fa80457553a64346f2 Mon Sep 17 00:00:00 2001 From: sparky Date: Thu, 23 Nov 2006 23:29:57 +0000 Subject: [PATCH] - flax and bison used only in userspace Changed files: drbd.spec -> 1.87 --- drbd.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drbd.spec b/drbd.spec index f3347ed..2c7a86c 100644 --- a/drbd.spec +++ b/drbd.spec @@ -22,8 +22,10 @@ Source0: http://oss.linbit.com/drbd/0.7/%{name}-%{version}.tar.gz # Source0-md5: 589626e0c62d314d3bbe78275b9e7d2d Patch0: %{name}-Makefile.patch URL: http://www.drbd.org/ +%if %{with userspace} BuildRequires: bison BuildRequires: flex +%endif %{?with_dist_kernel:BuildRequires: kernel%{_alt_kernel}-module-build} BuildRequires: rpmbuild(macros) >= 1.330 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) -- 2.44.0