]> git.pld-linux.org Git - packages/lttng-modules.git/blobdiff - lttng-modules.spec
fix build with recent kernels; rel 3
[packages/lttng-modules.git] / lttng-modules.spec
index 420c54860a1ac54ab07f996eae4a40b1d6fa5101..05f240d86002ef495c582853c54c6ed57bc2567b 100644 (file)
@@ -6,7 +6,7 @@
 # nothing to be placed to debuginfo package
 %define                _enable_debug_packages  0
 
-%define                rel     1
+%define                rel     3
 %define                pname   lttng-modules
 Summary:       LTTng 2.x kernel modules
 Summary(pl.UTF-8):     Moduły jądra LTTng 2.x
@@ -18,6 +18,8 @@ Group:                Base/Kernel
 Source0:       https://lttng.org/files/lttng-modules/%{pname}-%{version}.tar.bz2
 # Source0-md5: fe95650bcb5d718e794b9cc8df794904
 Patch0:                build.patch
+Patch1:                kernel-6.1.patch
+Patch2:                jbd2-tid-type.patch
 URL:           https://lttng.org/
 %{expand:%buildrequires_kernel kernel%%{_alt_kernel}-module-build >= 3:3.0}
 %{?with_kernelsrc:%{expand:%buildrequires_kernel kernel%%{_alt_kernel}-source >= 3:3.0}}
@@ -94,6 +96,8 @@ p=`pwd`\
 %setup -qc -n %{name}-%{version}
 cd %{pname}-%{version}
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
 cd  %{pname}-%{version}
This page took 0.106374 seconds and 4 git commands to generate.