commit 08df8d83a3b1c49ee4983145429f2e1df1136cfd
Author: Kate Hsuan <hpa(a)redhat.com>
Date: Tue May 9 17:25:50 2023 +0800
- Updated to commit 2c9b67072b15d903fecde67c7f269abeafee4c25
- The patch is used to prevent the value of byteused field becomes too large
sources | 2 +-
v4l2loopback-kmod.spec | 14 ++++++++++++--
2 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/sources b/sources
index c387252..f1b1d48 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (v4l2loopback-a669686.tar.gz) =
f8a72c6eabc1a1517be53656e4a707a7a58953617b3a29486dae7e4815a0ae7a47b87212b91bf86601b206ee596ab30b430a70b110a5e231054ee5cbab1a615c
+SHA512 (v4l2loopback-2c9b670.tar.gz) =
77a6a6c757b496d3d2cc12c3adf6353c652d3c4f78e5deaa4c763fbd4aa5b70e356a49624a7988dab12e0645b7f51ede00b27fb8c209fb5293192bc3c1284557
diff --git a/v4l2loopback-kmod.spec b/v4l2loopback-kmod.spec
index 0077e9b..54bc25f 100644
--- a/v4l2loopback-kmod.spec
+++ b/v4l2loopback-kmod.spec
@@ -9,8 +9,8 @@
%endif
%global debug_package %{nil}
-%global commit a66968647843f57448b59cf98d0318f1e98e072c
-%global commitdate 20230220
+%global commit 2c9b67072b15d903fecde67c7f269abeafee4c25
+%global commitdate 20230503
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global prjname v4l2loopback
@@ -24,6 +24,8 @@ License: GPLv2+
URL:
https://github.com/umlaeute/v4l2loopback
Source0: %{url}/archive/%{commit}/%{prjname}-%{shortcommit}.tar.gz
+Patch0: 0001-v4l2loopback-Fixup-bytesused-field-when-writer-sends.patch
+
BuildRequires: gcc
BuildRequires: elfutils-libelf-devel
BuildRequires: kmodtool
@@ -49,6 +51,10 @@ This package contains the kmod module for %{prjname}.
kmodtool --target %{_target_cpu} --repo rpmfusion --kmodname %{prjname}
%{?buildforkernels:--%{buildforkernels}} %{?kernels:--for-kernels "%{?kernels}"}
2>/dev/null
%setup -q -c
+(cd v4l2loopback-%{commit}
+%patch0 -p1
+)
+
for kernel_version in %{?kernel_versions} ; do
cp -a v4l2loopback-%{commit} _kmod_build_${kernel_version%%___*}
done
@@ -70,6 +76,10 @@ done
%changelog
+* Tue May 09 2023 Kate Hsuan <hpa(a)redhat.com> - 0.12.7-20230503g2c9b670-1
+- Updated to commit 2c9b67072b15d903fecde67c7f269abeafee4c25
+- The patch is used to prevent the value of byteused field becomes too large
+
* Thu Mar 02 2023 Kate Hsuan <hpa(a)redhat.com> - 0.12.7-20230220ga669686-1
- Updated to commit a66968647843f57448b59cf98d0318f1e98e072c