%if 0%{?fedora} %global debug_package %{nil} %endif Name: bmi260 Version: 0.0.git.24.a247cc69 Release: 1%{?dist} Summary: BMI260 IMU Linux driver License: GPLv2 URL: https://github.com/KyleGospo/bmi260 Source: %{url}/archive/refs/heads/main.tar.gz Provides: %{name}-kmod-common = %{version} Requires: %{name}-kmod >= %{version} BuildRequires: systemd-rpm-macros %description This is a kernel module driver for the Bosch BMI260 IMU. This module is based off of the existing kernel BMI160 implementation. The 260 appears to follow the same specifications as the 270, or close enough to work at least. %prep %setup -q -c %{name}-main %files %doc %{name}-main/README.md %license %{name}-main/LICENSE %changelog