https://bugzilla.redhat.com/show_bug.cgi?id=1654876
--- Comment #6 from Robert-André Mauchin zebob.m@gmail.com ---
I will fix this but can you explain when it is appropriate to create a separate package for documentation? Or is this never suppose to happen?
Usually when the documentation is over 1MB or contains a lot of files.
Also why are "install -d %{buildroot}/%{_datadir}/doc/%{name}" and "%{_pkgdocdir} in %files" not needed?
You don't need to create the dir, specifying %doc README.md will take care of that.