summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin M. Forbes <jforbes@fedoraproject.org>2022-10-16 10:12:42 -0500
committerJustin M. Forbes <jforbes@fedoraproject.org>2022-10-16 10:12:42 -0500
commitb7b054306c76ebf28ab521040bf4a33f0b4b3061 (patch)
tree398066d0f460f85975611e08c0e834e810788fff
parentc3112517c0233201d12d13889cec6f611980837a (diff)
downloadkernel-b7b054306c76ebf28ab521040bf4a33f0b4b3061.tar.gz
kernel-b7b054306c76ebf28ab521040bf4a33f0b4b3061.tar.xz
kernel-b7b054306c76ebf28ab521040bf4a33f0b4b3061.zip
kernel-6.0.2-301
* Sat Oct 15 2022 Justin M. Forbes <jforbes@fedoraproject.org> [6.0.2-0] - phy: rockchip-inno-usb2: Return zero after otg sync (Peter Geis) - drm/vc4: hdmi: Check the HSM rate at runtime_resume (Maxime Ripard) - drm/vc4: hdmi: Enforce the minimum rate at runtime_resume (Maxime Ripard) - drm/i915/bios: Use hardcoded fp_timing size for generating LFP data pointers (Mark Pearson) - Trim changelog before 6.0 reset (Justin M. Forbes) - Linux v6.0.2 Resolves: Signed-off-by: Justin M. Forbes <jforbes@fedoraproject.org>
-rwxr-xr-xkernel.spec21
-rw-r--r--sources2
2 files changed, 13 insertions, 10 deletions
diff --git a/kernel.spec b/kernel.spec
index 3490dd2d6..d07e617d6 100755
--- a/kernel.spec
+++ b/kernel.spec
@@ -124,13 +124,13 @@ Summary: The Linux kernel
# define buildid .local
%define specversion 6.0.2
%define patchversion 6.0
-%define pkgrelease 300
+%define pkgrelease 301
%define kversion 6
%define tarfile_release 6.0.2
# This is needed to do merge window version magic
%define patchlevel 0
# This allows pkg_release to have configurable %%{?dist} tag
-%define specrelease 300%{?buildid}%{?dist}
+%define specrelease 301%{?buildid}%{?dist}
# This defines the kabi tarball version
%define kabiversion 6.0.2
@@ -575,7 +575,7 @@ Requires: kernel-modules-uname-r = %{KVERREL}
#
# List the packages used during the kernel build
#
-BuildRequires: kmod, bash, coreutils, tar, git-core, which
+BuildRequires: kmod, patch, bash, coreutils, tar, git-core, which
BuildRequires: bzip2, xz, findutils, gzip, m4, perl-interpreter, perl-Carp, perl-devel, perl-generators, make, diffutils, gawk
BuildRequires: gcc, binutils, redhat-rpm-config, hmaccalc, bison, flex, gcc-c++
BuildRequires: net-tools, hostname, bc, elfutils-devel
@@ -1392,7 +1392,7 @@ if [ "%{patches}" != "%%{patches}" ] ; then
done
fi 2>/dev/null
-patch_command='git apply'
+patch_command='patch -p1 -F1 -s'
ApplyPatch()
{
local patch=$1
@@ -2194,13 +2194,13 @@ BuildKernel() {
# the F17 UsrMove feature.
ln -sf $DevelDir $RPM_BUILD_ROOT/lib/modules/$KernelVer/build
-# %ifnarch armv7hl
+%ifnarch armv7hl
# Generate vmlinux.h and put it to kernel-devel path
# zfcpdump build does not have btf anymore
-# if [ "$Variant" != "zfcpdump" ]; then
-# bpftool btf dump file vmlinux format c > $RPM_BUILD_ROOT/$DevelDir/vmlinux.h
-# fi
-# %endif
+ if [ "$Variant" != "zfcpdump" ]; then
+ bpftool btf dump file vmlinux format c > $RPM_BUILD_ROOT/$DevelDir/vmlinux.h
+ fi
+%endif
# prune junk from kernel-devel
find $RPM_BUILD_ROOT/usr/src/kernels -name ".*.cmd" -delete
@@ -3180,6 +3180,9 @@ fi
#
#
%changelog
+* Sun Oct 16 2022 Justin M. Forbes <jforbes@fedoraproject.org> [6.0.2-301]
+- Revert "redhat: properly handle binary files in patches" (Justin M. Forbes)
+
* Sat Oct 15 2022 Justin M. Forbes <jforbes@fedoraproject.org> [6.0.2-0]
- phy: rockchip-inno-usb2: Return zero after otg sync (Peter Geis)
- drm/vc4: hdmi: Check the HSM rate at runtime_resume (Maxime Ripard)
diff --git a/sources b/sources
index fbafae16d..9fae11b20 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,4 @@
SHA512 (kernel-abi-whitelists-5.13.3-300.tar.bz2) = 6bf4f456ba178ec95b63b3818d3575773ede221e74fde97bb20eb32409a64c58d4f9a6acce9b8b58a5477d27cb708c53abe03dada02a3bdf1cfd596ccd129294
SHA512 (linux-6.0.2.tar.xz) = a5474d3dbf3b8b81685489d71db91080a82b820ac23d49ada351351a5f3fd0828735464022317ba3500a25e5792f3853b29c5df6e6f90eb3fa47d44453f9b2ae
-SHA512 (kernel-abi-stablelists-6.0.2.tar.bz2) = 5f42b3c562a31f142cf1d03db4ff114fd74e417dfb96d2ce03cf097f39de7dd3f5ed7ea4673c33d6ca0d5ca585e3ceef0d6649718d0d4cd65e6f442a366cd6b0
+SHA512 (kernel-abi-stablelists-6.0.2.tar.bz2) = 22df02c4be0123ae63e66063d401d0298aea7bbe756285d11b1280732b0870e30ed8d95d44d64c8e49e5f971f286a72c716b2f529d540be0d0c6fb0783aa1a5d
SHA512 (kernel-kabi-dw-6.0.2.tar.bz2) = 497dbd372c3c0a66f12c9a506b0e6e66f40ed7822891f20c554f345a7538f4cb44f8d0911e69c06d918707b99c4aae0c110d485b16ce36adc0e2535fc0b9167e