%%{fedora} macro is undefined in ELN, causes python3-config to use old options
This commit is contained in:
parent
e632526c80
commit
a876979c81
3
vim.spec
3
vim.spec
@ -297,7 +297,7 @@ make clean
|
|||||||
mv -f os_unix.h.save os_unix.h
|
mv -f os_unix.h.save os_unix.h
|
||||||
mv -f ex_cmds.c.save ex_cmds.c
|
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)"
|
export LDFLAGS="%{build_ldflags} $(python3-config --libs --embed)"
|
||||||
%else
|
%else
|
||||||
export LDFLAGS="%{build_ldflags} $(python3-config --libs)"
|
export LDFLAGS="%{build_ldflags} $(python3-config --libs)"
|
||||||
@ -782,6 +782,7 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags
|
|||||||
%changelog
|
%changelog
|
||||||
* Thu Jun 25 2020 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.2.1052-2
|
* Thu Jun 25 2020 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.2.1052-2
|
||||||
- remove python2 stuff for RHEL
|
- remove python2 stuff for RHEL
|
||||||
|
- %%{fedora} macro is undefined in ELN, causes python3-config to use old options
|
||||||
|
|
||||||
* Thu Jun 25 2020 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.2.1052-1
|
* Thu Jun 25 2020 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.2.1052-1
|
||||||
- patchlevel 1052
|
- patchlevel 1052
|
||||||
|
Loading…
Reference in New Issue
Block a user