From 5c25139a893a57f41b3a132baaf588e1cf608bfd Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20R=C4=99korajski?= Date: Tue, 27 Jan 2015 19:34:47 +0100 Subject: [PATCH] - drop non-dist kernel support --- lttng-modules.spec | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lttng-modules.spec b/lttng-modules.spec index a88e22c..c78ad65 100644 --- a/lttng-modules.spec +++ b/lttng-modules.spec @@ -1,6 +1,5 @@ # # Conditional build: -%bcond_without dist_kernel # allow non-distribution kernel %bcond_without allprobes # all probes build (some probes, e.g. fs, need full kernel source) %bcond_with verbose # verbose build (V=1) @@ -35,7 +34,7 @@ Patch0: build.patch Patch1: linux-3.17.patch Patch2: linux-3.18.patch URL: http://lttng.org/ -%if %{with dist_kernel} +%if %{with kernel} BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.38 %{?with_allprobes:BuildRequires: kernel%{_alt_kernel}-source >= 3:2.6.38} %endif @@ -55,10 +54,8 @@ Summary(pl.UTF-8): Moduły LTTng 2.x dla jądra Linuksa\ Release: %{rel}@%{_kernel_ver_str}\ Group: Base/Kernel\ Requires(post,postun): /sbin/depmod\ -%if %{with dist_kernel}\ %requires_releq_kernel\ Requires(postun): %releq_kernel\ -%endif\ \ %description -n kernel%{_alt_kernel}-lttng\ LTTng 2.x modules for Linux kernel.\ -- 2.44.0