%global commit 2ddfbfcb29d33d6510dcfd428de54273138fbc1d %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global gitdate 20200929 %global debug_package %{nil} #global prever rc1 Name: rtl8821ce Version: 0.1 Release: 1%{?dist} Summary: Kernel modules for Realtek RTL8821CE Driver License: GPLv2 URL: https://github.com/tomaspinho/rtl8821ce Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz Provides: %{name}-kmod-common = %{version}-%{release} %description %{summary}. %prep %setup -q -n %{name}-%{commit} %build %install %files %doc README.md Dockerfile %changelog * Tue Oct 06 2020 Sérgio Basto - 0.1-1 - Initial release