rhel conditionals for mingw nuspell

Since RHEL doesn't have nuspell, and we have it %if out earlier, we need to put the same %if around both mingw32 and mingw64 enchant_nuspell.dll*
This commit is contained in:
Troy Dawson 2022-10-28 16:55:55 +00:00
parent 30e272fc4b
commit 09dd1f48de

View File

@ -191,8 +191,10 @@ find %{buildroot} -name '*.la' -delete
%dir %{mingw32_libdir}/enchant-2/ %dir %{mingw32_libdir}/enchant-2/
%{mingw32_libdir}/enchant-2/enchant_hunspell.dll %{mingw32_libdir}/enchant-2/enchant_hunspell.dll
%{mingw32_libdir}/enchant-2/enchant_hunspell.dll.a %{mingw32_libdir}/enchant-2/enchant_hunspell.dll.a
%if !0%{?rhel}
%{mingw32_libdir}/enchant-2/enchant_nuspell.dll %{mingw32_libdir}/enchant-2/enchant_nuspell.dll
%{mingw32_libdir}/enchant-2/enchant_nuspell.dll.a %{mingw32_libdir}/enchant-2/enchant_nuspell.dll.a
%endif
%{mingw32_libdir}/libenchant-2.dll.a %{mingw32_libdir}/libenchant-2.dll.a
%{mingw32_libdir}/pkgconfig/enchant-2.pc %{mingw32_libdir}/pkgconfig/enchant-2.pc
%{mingw32_datadir}/enchant-2/ %{mingw32_datadir}/enchant-2/
@ -206,8 +208,10 @@ find %{buildroot} -name '*.la' -delete
%dir %{mingw64_libdir}/enchant-2/ %dir %{mingw64_libdir}/enchant-2/
%{mingw64_libdir}/enchant-2/enchant_hunspell.dll %{mingw64_libdir}/enchant-2/enchant_hunspell.dll
%{mingw64_libdir}/enchant-2/enchant_hunspell.dll.a %{mingw64_libdir}/enchant-2/enchant_hunspell.dll.a
%if !0%{?rhel}
%{mingw64_libdir}/enchant-2/enchant_nuspell.dll %{mingw64_libdir}/enchant-2/enchant_nuspell.dll
%{mingw64_libdir}/enchant-2/enchant_nuspell.dll.a %{mingw64_libdir}/enchant-2/enchant_nuspell.dll.a
%endif
%{mingw64_libdir}/libenchant-2.dll.a %{mingw64_libdir}/libenchant-2.dll.a
%{mingw64_libdir}/pkgconfig/enchant-2.pc %{mingw64_libdir}/pkgconfig/enchant-2.pc
%{mingw64_datadir}/enchant-2/ %{mingw64_datadir}/enchant-2/