File v4l2loopback.spec of Package failed_v4l2loopback
Name: v4l2loopback
Version: 0.14.0
Release: 1%{?dist}
Summary: Virtual Video Loopback Driver (v4l2loopback)
License: GPL-2.0-only
URL: https://github.com/umlaeute/v4l2loopback
Source0: v4l2loopback-%{version}.tar.xz
# Exclude riscv64: upstream v4l2loopback-0.14.0 is not compatible with newer riscv kernel timer API
ExcludeArch: riscv64
BuildRequires: make
BuildRequires: gcc
BuildRequires: kernel-devel
BuildRequires: pkgconfig
%description
v4l2loopback is a kernel module that allows the creation of V4L2 loopback devices.
%prep
%autosetup -n v4l2loopback-%{version}
%build
%ifnarch riscv64
make -C .
%endif
%install
rm -rf %{buildroot}
%ifnarch riscv64
make INSTALL_MOD_PATH=%{buildroot} install
%endif
%files
%doc ChangeLog NEWS
%ifnarch riscv64
%{_libdir}/modules/*/v4l/v4l2loopback.ko
%endif
%changelog
* Thu Aug 28 2025 Repair Team <repair@example.com> - 0.14.0-1
- Exclude riscv64 from build to avoid kernel timer API incompatibility