enable libsodium encryption in Fedora
This commit is contained in:
parent
1efb730ae4
commit
a111617db2
19
vim.spec
19
vim.spec
@ -9,8 +9,10 @@
|
||||
|
||||
%if 0%{?fedora}
|
||||
%bcond_without default_editor
|
||||
%bcond_without libsodium_crypt
|
||||
%else
|
||||
%bcond_with default_editor
|
||||
%bcond_with libsodium_crypt
|
||||
%endif
|
||||
|
||||
%define withnetbeans 1
|
||||
@ -76,6 +78,9 @@ BuildRequires: gcc
|
||||
# uses make
|
||||
BuildRequires: make
|
||||
|
||||
%if %{with libsodium_crypt}
|
||||
BuildRequires: libsodium
|
||||
%endif
|
||||
BuildRequires: python3-devel ncurses-devel gettext perl-devel
|
||||
BuildRequires: perl-generators
|
||||
BuildRequires: perl(ExtUtils::Embed) perl(ExtUtils::ParseXS)
|
||||
@ -322,7 +327,8 @@ perl -pi -e "s/vimrc/virc/" os_unix.h
|
||||
--with-modified-by="<bugzilla@redhat.com>" \
|
||||
--enable-fips-warning \
|
||||
--enable-fail-if-missing \
|
||||
--disable-canberra
|
||||
--disable-canberra \
|
||||
--disable-libsodium
|
||||
|
||||
%make_build VIMRCLOC=/etc VIMRUNTIMEDIR=/usr/share/vim/%{vimdir}
|
||||
cp vim minimal-vim
|
||||
@ -365,6 +371,11 @@ mv -f ex_cmds.c.save ex_cmds.c
|
||||
--enable-luainterp=dynamic \
|
||||
%else
|
||||
--disable-luainterp \
|
||||
%endif
|
||||
%if %{with libsodium_crypt}
|
||||
--enable-libsodium \
|
||||
%else
|
||||
--disable-libsodium \
|
||||
%endif
|
||||
--enable-fail-if-missing \
|
||||
--enable-canberra
|
||||
@ -402,6 +413,11 @@ make clean
|
||||
--enable-luainterp=dynamic \
|
||||
%else
|
||||
--disable-luainterp \
|
||||
%endif
|
||||
%if %{with libsodium_crypt}
|
||||
--enable-libsodium \
|
||||
%else
|
||||
--disable-libsodium \
|
||||
%endif
|
||||
--enable-fail-if-missing \
|
||||
--disable-canberra
|
||||
@ -841,6 +857,7 @@ touch %{buildroot}/%{_datadir}/%{name}/vimfiles/doc/tags
|
||||
%changelog
|
||||
* Thu Jun 24 2021 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.2.3043-1
|
||||
- patchlevel 3043
|
||||
- enable libsodium encryption in Fedora
|
||||
|
||||
* Wed Jun 16 2021 Zdenek Dohnal <zdohnal@redhat.com> - 2:8.2.3009-1
|
||||
- patchlevel 3009
|
||||
|
Loading…
Reference in New Issue
Block a user