Name: afetch Version: 2.2.0 Release: 1%{?dist} Summary: Simple system info written in C License: GPL-3.0-only URL: https://github.com/13-CF/afetch Source0: %{url}/archive/V%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc Patch: use_our_build_flags.patch %description Fast and simple system info (for UNIX based operating systems) written in POSIX compliant C99 %prep %autosetup %build %if 0%{?rhel} %set_build_flags %endif %make_build %install %make_install PREFIX=%{_prefix} %files %license LICENSE %doc README.md %{_bindir}/%{name} %changelog * Tue Aug 16 2022 Jonathan Wright - 2.2.0-1 - Initial package build