https://bugzilla.redhat.com/show_bug.cgi?id=1752158
Robert-André Mauchin zebob.m@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |zebob.m@gmail.com
--- Comment #1 from Robert-André Mauchin zebob.m@gmail.com --- - Use a better name for your archive:
Source: https://github.com/nsf/termbox/archive/v%%7Bversion%7D/%%7Bname%7D-%%7Bversi...
- devel must require the main package:
Requires: %{name}%{?_isa} = %{version}-%{release}
See https://docs.fedoraproject.org/en-US/packaging-guidelines/#_requiring_base_p...
- static library are generally not packaged in Fedora, you should instead drop the extra file in %install:
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
See https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static-...
- unversionned so files go in the devel subpackage
%files %{_libdir}/libtermbox.so.1 %{_libdir}/libtermbox.so.1.*
%files devel %{_libdir}/libtermbox.so %{_includedir}/termbox.h
See https://docs.fedoraproject.org/en-US/packaging-guidelines/#_devel_packages
- You should add BuildRequires: waf and run waf directly instead of using the provided copy