]> git.pld-linux.org Git - packages/lttng-modules.git/blobdiff - lttng-modules.spec
- drop non-dist kernel support
[packages/lttng-modules.git] / lttng-modules.spec
index 193d7b728b94dca027f0a46e997737f56abca689..c78ad65f223f742619be5652b169dea3dad676a1 100644 (file)
@@ -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)
 
@@ -25,14 +24,17 @@ exit 1
 Summary:       LTTng 2.x kernel modules
 Summary(pl.UTF-8):     Moduły jądra LTTng 2.x
 Name:          %{pname}%{_alt_kernel}
-Version:       2.5.0
+Version:       2.5.2
 Release:       %{rel}@%{_kernel_ver_str}
 License:       GPL v2
 Group:         Base/Kernel
 Source0:       http://lttng.org/files/lttng-modules/%{pname}-%{version}.tar.bz2
-# Source0-md5: 81e59ff62489d7a9e2a08587d3363e46
+# Source0-md5: 74d2fd161fdbf3426c6af5a36a774d4a
+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
@@ -52,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.\
@@ -73,6 +73,7 @@ Moduły LTTng 2.x dla jądra Linuksa.\
 %dir /lib/modules/%{_kernel_ver}/kernel/lttng/lib\
 /lib/modules/%{_kernel_ver}/kernel/lttng/lib/lttng-lib-ring-buffer.ko*\
 %dir /lib/modules/%{_kernel_ver}/kernel/lttng/probes\
+/lib/modules/%{_kernel_ver}/kernel/lttng/probes/lttng-ftrace.ko*\
 /lib/modules/%{_kernel_ver}/kernel/lttng/probes/lttng-kprobes.ko*\
 /lib/modules/%{_kernel_ver}/kernel/lttng/probes/lttng-kretprobes.ko*\
 /lib/modules/%{_kernel_ver}/kernel/lttng/probes/lttng-probe-*.ko*\
@@ -100,6 +101,9 @@ p=`pwd`\
 
 %prep
 %setup -q -n %{pname}-%{version}
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 %{expand:%bkpkg}
This page took 0.036595 seconds and 4 git commands to generate.