From 87e9787549e45ef307178a4177e5f80a749d262a Mon Sep 17 00:00:00 2001 From: Michel Lind Date: Jan 09 2025 20:31:00 +0000 Subject: Update to version 6.12.9 Signed-off-by: Michel Lind --- diff --git a/.gitignore b/.gitignore index bb2a055..89fa321 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /perf-6.9.0.tar.xz /perf-6.12.0.tar.xz +/perf-6.12.9.tar.zst diff --git a/perf.spec b/perf.spec index f0d1b38..58690c6 100644 --- a/perf.spec +++ b/perf.spec @@ -17,15 +17,21 @@ %global tag_version 6.12 Name: perf -Version: %{tag_version}.0 +Version: %{tag_version}.9 Release: %autorelease Summary: Performance monitoring for the Linux kernel License: GPL-2.0-only URL: https://perf.wiki.kernel.org/ -Source: https://mirrors.edge.kernel.org/pub/linux/kernel/tools/perf/v%{version}/perf-%{version}.tar.xz -Source1: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/arch/arm64/include/uapi/asm/bpf_perf_event.h?h=v%{tag_version}#/bpf_perf_event_arm64.h -Source2: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/arch/s390/include/uapi/asm/bpf_perf_event.h?h=v%{tag_version}#/bpf_perf_event_s390.h +# Source: https://mirrors.edge.kernel.org/pub/linux/kernel/tools/perf/v%%{version}/perf-%%{version}.tar.xz +# generated from the Linux stable v%%{version} tag with MANIFEST patches applied +# from acme, adding missing bpf_perf_event.h +# https://lore.kernel.org/linux-perf-users/Z0Yy5u42Q1hWoEzz@x1/ +# from michel, adding license files +# https://lore.kernel.org/linux-perf-users/2fe55e73d3ef64ec3bfc683446e3f1f8b9e8c9e8.camel@michel-slm.name/T/#t +Source: perf-%{version}.tar.zst +# Source1: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/arch/arm64/include/uapi/asm/bpf_perf_event.h?h=v%%{tag_version}#/bpf_perf_event_arm64.h +# Source2: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/plain/arch/s390/include/uapi/asm/bpf_perf_event.h?h=v%%{tag_version}#/bpf_perf_event_s390.h # No java-devel # No point having a 32-bit perf anyway as even in Fedora the kernel is 64-bit @@ -123,7 +129,7 @@ to manipulate perf events. %prep %autosetup -p1 -%if %{with libbpf} +%if 0 && %{with libbpf} # copy in missing files UAPI_ASM_ARM_DIR=arch/arm64/include/uapi/asm UAPI_ASM_S390_DIR=arch/s390/include/uapi/asm @@ -173,7 +179,7 @@ rmdir %{buildroot}%{_sysconfdir}/ %files -# license add-license-file-here +%license COPYING LICENSES/preferred/GPL-2.0 %doc tools/perf/CREDITS %{_bindir}/perf %{_datadir}/perf-core @@ -220,4 +226,3 @@ rmdir %{buildroot}%{_sysconfdir}/ %changelog %autochangelog -- diff --git a/sources b/sources index cf34750..517996d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (perf-6.12.0.tar.xz) = 43494fce16a18729d8448e473b0db06e44f04f71770e24219e743dcc216e1e4dcbae0fa10ac7f68ce8364af949ed59d9351a929eb8000721e881226faa241065 +SHA512 (perf-6.12.9.tar.zst) = 89bc3ef25091940b0f04532a394226a45db043020786381fe1aa91fbf1a6803b6365d51c8c4fbc855d6b75ba8bb82248bbf9d41a7ae8c86fd025af48c2910e72