%if 0%{?fedora} %global buildforkernels akmod %global debug_package %{nil} %endif Name: new-lg4ff Version: 0.4.0 Release: 4%{?dist} Summary: Experimental Logitech force feedback module for Linux License: GPL-2.0 URL: https://github.com/berarma/new-lg4ff Source0: %{url}/archive/%{version}/%{name}-%{version}.tar.gz BuildRequires: systemd-rpm-macros BuildRequires: sed Requires: bash Requires: lpf-xone-firmware Obsoletes: lg4ff <= 0.4.0 Provides: %{name}-kmod-common = %{version}-%{release} Requires: %{name}-kmod >= %{version} %description Improved Linux module driver for Logitech driving wheels. %prep %autosetup for kernel_version in %{?kernel_versions} ; do cp -a %{name}-%{version} _kmod_build_${kernel_version%%___*} done %build # Nothing to build %install # Nothing to install %files %doc README.md %license LICENSE %changelog * Sat Nov 30 2024 Jan200101 - 0.4.0-4 - split kernel module into separate package * Sat Nov 30 2024 Jan200101 - 0.4.0-3 - split kernel module into separate package * Sat Mar 23 2024 Jan200101 - 0.4.0-2 - fix mistake * Sat Mar 23 2024 Jan200101 - 0.4.0-1 - Initial spec