%if 0%{?fedora} %global debug_package %{nil} %endif Name: xmm7360-pci Version: 0.0.git.258.79846140 Release: 1%{?dist} Summary: Driver for Fibocom L850-GL / Intel XMM7360. License: GPLv3 URL: https://github.com/ignic/xmm7360-pci VCS: git+https://github.com/ignic/xmm7360-pci.git#7984614021000f6a15c04ea95a9548712da27eb1: Source: xmm7360-pci-79846140.tar.gz #Provides: %{name}-kmod-common = %{version} #Requires: %{name}-kmod >= %{version} Requires: python3-configargparse Requires: python3-pyroute2 BuildRequires: systemd-rpm-macros %description Driver for Fibocom L850-GL / Intel XMM7360. %prep %setup -T -b 0 -q -n xmm7360-pci %install mkdir -p %{buildroot}%{_datadir}/%{name}/rpc mv rpc/open_xdatachannel.py %{buildroot}%{_datadir}/%{name}/rpc/ mv rpc/rpc*.py %{buildroot}%{_datadir}/%{name}/rpc/ mkdir -p %{buildroot}%{_unitdir} mv examples/xmm7360.service %{buildroot}%{_unitdir}/ mv xmm7360.ini.sample %{buildroot}%{_sysconfdir}/xmm7360 %files %doc README.md %{_datadir}/%{name}/rpc/* %{_unitdir}/* %{_sysconfdir}/xmm7360 %changelog