diff --git a/neovim.changes b/neovim.changes index af2cf10..e32a778 100644 --- a/neovim.changes +++ b/neovim.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 6 09:12:15 UTC 2018 - Martin Pluskal + +- Use cmake macro for building + ------------------------------------------------------------------- Tue Oct 2 12:26:23 UTC 2018 - Matěj Cepl diff --git a/neovim.spec b/neovim.spec index e4c5ee6..c45abb4 100644 --- a/neovim.spec +++ b/neovim.spec @@ -44,6 +44,11 @@ BuildRequires: gettext BuildRequires: git-core BuildRequires: gperf BuildRequires: libtool +BuildRequires: lua51-LPeg +BuildRequires: lua51-bit32 +BuildRequires: lua51-luajit-devel +BuildRequires: lua51-luarocks +BuildRequires: lua51-mpack BuildRequires: make BuildRequires: msgpack-devel BuildRequires: pkgconfig @@ -56,18 +61,13 @@ BuildRequires: pkgconfig(termkey) >= 0.20 BuildRequires: pkgconfig(unibilium) BuildRequires: pkgconfig(vterm) Requires: gperf -BuildRequires: lua51-LPeg -BuildRequires: lua51-bit32 -BuildRequires: lua51-luajit-devel -BuildRequires: lua51-luarocks -BuildRequires: lua51-mpack +Requires(post): desktop-file-utils +Requires(postun): desktop-file-utils Recommends: xsel -Requires(post): desktop-file-utils -Requires(postun): desktop-file-utils %if 0%{?suse_version} < 1330 BuildRequires: hicolor-icon-theme -Requires(post): gtk3-tools -Requires(postun): gtk3-tools +Requires(post): gtk3-tools +Requires(postun): gtk3-tools %endif %description @@ -83,7 +83,7 @@ parts of Vim, without compromise, and more. %lang_package %prep -%setup -q -n %{name}-%{version} +%setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 @@ -101,8 +101,9 @@ USERNAME=OBS %cmake \ -DUSE_BUNDLED=OFF \ -DLUAJIT_USE_BUNDLED=OFF \ - -DENABLE_JEMALLOC=ON -make %{?_smp_mflags} + -DENABLE_JEMALLOC=ON \ + -Wno-dev +%make_jobs %install %cmake_install