https://bugzilla.redhat.com/show_bug.cgi?id=2316327
--- Comment #6 from Benson Muite benson_muite@emailplus.org --- You can manage the spec file in a git repository, but the name should just be opa-fm.spec not opa-fm.fedora.spec, perhaps put in a subdirectory packaging>fedora>opa-fm.spec
For unowned directories see: https://docs.fedoraproject.org/en-US/packaging-guidelines/UnownedDirectories...
For /usr/share/opa-fm add %dir %{_datadir}/opa-fm
For /usr/lib/opa-fm/bin /usr/lib/opa-fm /usr/lib/opa-fm/runtime
These should likely be in /usr/lib64 You would then add %dir %{_libdir}/opa-fm %dir %{_libdir}/opa-fm/bin %dir %{_libdir}/opa-fm/runtime
Globbing is also generally best avoided: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_explicit_lists