-Source0: http://lttng.org/files/lttng-modules/%{pname}-%{version}.tar.bz2
-# Source0-md5: 81e59ff62489d7a9e2a08587d3363e46
-Patch0: Update-vmscan-instrumentation-to-3.16-kernel.patch
-Patch1: Update-compaction-instrumentation-to-3.16-kernel.patch
-URL: http://lttng.org/
-%if %{with dist_kernel}
-BuildRequires: kernel%{_alt_kernel}-module-build >= 3:2.6.38
-%{?with_allprobes:BuildRequires: kernel%{_alt_kernel}-source >= 3:2.6.38}
-%endif
-BuildRequires: rpmbuild(macros) >= 1.678
+Source0: https://lttng.org/files/lttng-modules/%{pname}-%{version}.tar.bz2
+# Source0-md5: dbf1b247cc737183ee5994996a4a3769
+Patch0: build.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}}
+BuildRequires: rpmbuild(macros) >= 1.746