https://bugzilla.redhat.com/show_bug.cgi?id=2163486
--- Comment #4 from Neal Gompa ngompa13@gmail.com --- Spec review:
%global rpm_macros_dir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
Drop this to just use "%{_rpmmacrodir}", since it's supported on all Fedora and EPEL branches.
%if 0%{?rhel} == 7 BuildRequires: devtoolset-7-toolchain %endif
We're not supporting Qt6 on anything lower than EPEL 9, so we should be able to drop any logic for RHEL < 9.
%if 0%{?fedora} > 35 || 0%{?epel} > 9 %filetriggerin -- %{_datadir}/hunspell %else %filetriggerin -- %{_datadir}/myspell %endif
This should be flipped:
%if 0%{?rhel} && 0%{?rhel} < 10 %filetriggerin -- %{_datadir}/myspell %else %filetriggerin -- %{_datadir}/hunspell %endif