https://bugzilla.redhat.com/show_bug.cgi?id=1747552
Artur Iwicki fedora@svgames.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fedora@svgames.pl
--- Comment #1 from Artur Iwicki fedora@svgames.pl ---
Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) [...] Group: Development/Libraries
The Group and BuildRoot tags are not used in Fedora. https://docs.fedoraproject.org/en-US/packaging-guidelines/#_tags_and_section...
%install rm -rf $RPM_BUILD_ROOT [...] %clean rm -rf $RPM_BUILD_ROOT
Don't remove the buildroot during %install. The %clean section is not needed. https://docs.fedoraproject.org/en-US/packaging-guidelines/#_tags_and_section...
%install make install install_root=$RPM_BUILD_ROOT
You can probably use %{make_install} here.
cd Build [...] cd ..
Maybe use pushd / popd instead?
You should also include the COPYING.txt file in %files (and mark it as %license).