The package rpms/neovim.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/neovim.git/commit/?id=fd84b96a4d1....
Change:
+%ifarch %{arm} %{ix86} x86_64 %{mips}
Thanks.
Full change:
============
commit fd84b96a4d104755d0d6beea74c74c011aa75da0
Author: Andreas Schneider <asn(a)cryptomilk.org>
Date: Tue Mar 19 12:13:04 2019 +0100
luajit is not available on all platform and fails to build on aarch64
diff --git a/neovim.spec b/neovim.spec
index 4c8142e..18ec100 100644
--- a/neovim.spec
+++ b/neovim.spec
@@ -1,5 +1,9 @@
%bcond_with jemalloc
+%ifarch %{arm} %{ix86} x86_64 %{mips}
%bcond_without luajit
+%else
+%bcond_with luajit
+%endif
Name: neovim
Version: 0.3.4
@@ -12,9 +16,7 @@ Url:
http://neovim.io
Source0:
https://github.com/neovim/neovim/archive/v%{version}/%{name}-%{version}.t...
Source1: sysinit.vim
Source2: spec-template
-%if ! %{with luajit}
Patch0: neovim-0.1.7-bitop.patch
-%endif
BuildRequires: gcc-c++
BuildRequires: cmake
@@ -63,7 +65,11 @@ excisions, Neovim is Vim. It is built for users who want the good
parts of Vim, without compromise, and more.
%prep
-%autosetup -p1
+%setup -q
+
+%if %{without luajit}
+%patch0 -p1 -b .bitop
+%endif
%build
mkdir -p build
commit 863e8f3d648ec336e0c69f5263b80790aa791afa
Author: Andreas Schneider <asn(a)cryptomilk.org>
Date: Tue Mar 19 12:02:58 2019 +0100
Add sources for neovim-0.3.4
diff --git a/.gitignore b/.gitignore
index c78147b..3bee068 100644
--- a/.gitignore
+++ b/.gitignore
@@ -6,3 +6,4 @@
/neovim-0.3.1.tar.gz
/neovim-0.3.2.tar.gz
/neovim-0.3.3.tar.gz
+/neovim-0.3.4.tar.gz
diff --git a/sources b/sources
index 3780505..994b168 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (neovim-0.3.3.tar.gz) =
2e2910e0dafdff69d2d9f54376c6d7c64e0f172bda02f85281fe6e694e7d81365e682793e454a0ca6f6c1b8a4ed9120bbfe574afa1fd0e6368e06af743d7d147
+SHA512 (neovim-0.3.4.tar.gz) =
fbf22ccffbb36c082bfe9a66b3d0180a78581102732a44ab7a5417aef517c88b69406491854613a1cf347ddab6fc6e277f959887556d2c0068cf181e4d88c36b
commit 1ca2a4ce0653a2167003d5968d2d8cfb7f0ec882
Author: Aron Griffis <aron(a)scampersand.com>
Date: Sat Mar 9 08:51:42 2019 -0500
Update to version 0.3.4 with luajit, rhbz #1685781
diff --git a/neovim.spec b/neovim.spec
index db6c515..4c8142e 100644
--- a/neovim.spec
+++ b/neovim.spec
@@ -1,8 +1,9 @@
%bcond_with jemalloc
+%bcond_without luajit
Name: neovim
-Version: 0.3.3
-Release: 3%{?dist}
+Version: 0.3.4
+Release: 1%{?dist}
License: ASL 2.0
Summary: Vim-fork focused on extensibility and agility
@@ -11,7 +12,9 @@ Url:
http://neovim.io
Source0:
https://github.com/neovim/neovim/archive/v%{version}/%{name}-%{version}.t...
Source1: sysinit.vim
Source2: spec-template
+%if ! %{with luajit}
Patch0: neovim-0.1.7-bitop.patch
+%endif
BuildRequires: gcc-c++
BuildRequires: cmake
@@ -20,9 +23,17 @@ BuildRequires: fdupes
BuildRequires: gettext
BuildRequires: gperf
BuildRequires: gcc
+%if %{with luajit}
+# luajit implements version 5.1 of the lua language spec, so it needs the
+# compat versions of libs.
+BuildRequires: luajit-devel
+BuildRequires: compat-lua-lpeg
+BuildRequires: compat-lua-mpack
+%else
BuildRequires: lua-devel
BuildRequires: lua-lpeg
BuildRequires: lua-mpack
+%endif
%if %{with jemalloc}
BuildRequires: jemalloc-devel
%endif
@@ -58,8 +69,8 @@ parts of Vim, without compromise, and more.
mkdir -p build
pushd build
%cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo \
- -DPREFER_LUA=ON \
- -DLUA_PRG=%{_bindir}/lua \
+ -DPREFER_LUA=%{?with_luajit:OFF}%{!?with_luajit:ON} \
+ -DLUA_PRG=%{_bindir}/%{?with_luajit:luajit}%{!?with_luajit:lua} \
-DENABLE_JEMALLOC=%{?with_jemalloc:ON}%{!?with_jemalloc:OFF} \
..
@@ -1531,6 +1542,9 @@ install -m0644 runtime/nvim.png
%{buildroot}%{_datadir}/pixmaps/nvim.png
%{_datadir}/nvim/runtime/tutor/en/vim-01-beginner.tutor.json
%changelog
+* Wed Mar 06 2019 Aron Griffis <aron(a)scampersand.com> - 0.3.4-1
+- Update to version 0.3.4 with luajit, rhbz #1685781
+
* Fri Feb 01 2019 Fedora Release Engineering <releng(a)fedoraproject.org> - 0.3.3-3
- Rebuilt for
https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild