commit 95d24a2a9b9770bd491f23b4f28e7b1475120931
Author: Kate Hsuan <hpa(a)redhat.com>
Date: Mon Mar 13 12:12:52 2023 +0800
Update to release a66968647843f57448b59cf98d0318f1e98e072c and
remove BuildArch since the utilities have to be built for the package.
Signed-off-by: Kate Hsuan <hpa(a)redhat.com>
sources | 2 +-
v4l2loopback.spec | 17 +++++++++++------
2 files changed, 12 insertions(+), 7 deletions(-)
---
diff --git a/sources b/sources
index 002434f..c387252 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (v4l2loopback-0.12.7.tar.gz) =
fcfe55396e9ddad56e592ffccd955c8ceff49c11cfbc5af382123ee0c15b41729b78cb763acbb17d288c48498f2183a4b24f146758ae67e1982b7ab2b07ff973
+SHA512 (v4l2loopback-a669686.tar.gz) =
f8a72c6eabc1a1517be53656e4a707a7a58953617b3a29486dae7e4815a0ae7a47b87212b91bf86601b206ee596ab30b430a70b110a5e231054ee5cbab1a615c
diff --git a/v4l2loopback.spec b/v4l2loopback.spec
index c02d3f0..6058075 100644
--- a/v4l2loopback.spec
+++ b/v4l2loopback.spec
@@ -1,11 +1,15 @@
+%global commit a66968647843f57448b59cf98d0318f1e98e072c
+%global commitdate 20230220
+%global shortcommit %(c=%{commit}; echo ${c:0:7})
+
Name: v4l2loopback
Summary: Utils for V4L2 loopback devices
-Version: 0.12.7
-Release: 2%{?dist}
+Version: 0.12.7^%{commitdate}g%{shortcommit}
+Release: 1%{?dist}
License: GPLv2+
URL:
https://github.com/umlaeute/v4l2loopback
-Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
+Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
Source1: modprobe-d-98-v4l2loopback.conf
Source2: modules-load-d-v4l2loopback.conf
@@ -20,8 +24,6 @@ Requires: %{name}-kmod >= %{version}
Provides: %{name}-utils = %{version}-%{release}
Obsoletes: %{name}-utils < 0.12.5-2
-BuildArch: noarch
-
%description
This allows you to create "virtual video devices". Normal (v4l2)
applications will read these devices as if they were ordinary video
@@ -32,7 +34,7 @@ This package contains the utilties for %{name}.
%prep
-%autosetup -p1
+%autosetup -p1 -n %{name}-%{commit}
%build
# Nothing to build
@@ -54,6 +56,9 @@ install -D -m 0644 %{SOURCE2}
%{buildroot}%{_modulesloaddir}/v4l2loopback.conf
%changelog
+* Mon Mar 06 2023 Kate Hsuan <hpa(a)redhat.com> - 0.12.7-20230220ga669686-1
+- Updated to commit a66968647843f57448b59cf98d0318f1e98e072c
+
* Mon Aug 08 2022 RPM Fusion Release Engineering <sergiomb(a)rpmfusion.org> -
0.12.7-2
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild and ffmpeg
5.1