[packages/lttng-modules] - drop non-dist kernel support

baggins baggins at pld-linux.org
Tue Jan 27 19:37:25 CET 2015


commit 5c25139a893a57f41b3a132baaf588e1cf608bfd
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Jan 27 19:34:47 2015 +0100

    - 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.\
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lttng-modules.git/commitdiff/5d4b3b87d13d8b75255c4b983ac5ae5a888e1825



More information about the pld-cvs-commit mailing list