diff --git a/vim.spec b/vim.spec index 9e4d6ae..61de654 100644 --- a/vim.spec +++ b/vim.spec @@ -297,7 +297,7 @@ make clean mv -f os_unix.h.save os_unix.h mv -f ex_cmds.c.save ex_cmds.c -%if 0%{?fedora} > 31 +%if 0%{?fedora} > 31 || 0%{?rhel} > 8 export LDFLAGS="%{build_ldflags} $(python3-config --libs --embed)" %else export LDFLAGS="%{build_ldflags} $(python3-config --libs)" @@ -782,6 +782,7 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags %changelog * Thu Jun 25 2020 Zdenek Dohnal - 2:8.2.1052-2 - remove python2 stuff for RHEL +- %%{fedora} macro is undefined in ELN, causes python3-config to use old options * Thu Jun 25 2020 Zdenek Dohnal - 2:8.2.1052-1 - patchlevel 1052