https://bugzilla.redhat.com/show_bug.cgi?id=1663668
--- Comment #5 from Robert-André Mauchin zebob.m@gmail.com --- - %{buildroot}/usr/bin/k2hr3-osnl → %{buildroot}%{_bindir}/k2hr3-osnl
- %attr(0755,root,root) and %attr(0644,root,root) shouldn't be needed.
- You have this twice: %{_sysconfdir}/k2hr3
- I don't understand what you're doing here:
%if 0%{?fedora} >= 30 %{_unitdir}/k2hr3-osnl.service %else %{_unitdir}/k2hr3-osnl.service %endif
Both branches of the condition contain the same thing? And there's nothing specific to Fedora >= 30 regarding unit files.