Accepting request 1068466 from home:mcepl:neovim
- VERSION string used in generating *.pc file (among other things) has been hardcoded to 0.6.3 (gh#tree-sitter/tree-sitter#1608), we should at least fix it using sed. OBS-URL: https://build.opensuse.org/request/show/1068466 OBS-URL: https://build.opensuse.org/package/show/editors/tree-sitter?expand=0&rev=13
This commit is contained in:
parent
d10e68f11a
commit
e50cc08076
@ -1,3 +1,11 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Mar 1 13:55:27 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- VERSION string used in generating *.pc file
|
||||||
|
(among other things) has been hardcoded to 0.6.3
|
||||||
|
(gh#tree-sitter/tree-sitter#1608), we should at least fix it
|
||||||
|
using sed.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jan 18 10:05:05 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
Wed Jan 18 10:05:05 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
@ -70,6 +70,9 @@ developing applications that use %{name}.
|
|||||||
mkdir -p .cargo
|
mkdir -p .cargo
|
||||||
cp %{SOURCE2} .cargo/config
|
cp %{SOURCE2} .cargo/config
|
||||||
|
|
||||||
|
# fix VERSION in Makefile
|
||||||
|
sed -i -e '/^VERSION/s/:= .*$/:= %{version}/' Makefile
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{cargo_build}
|
%{cargo_build}
|
||||||
export CFLAGS='%{optflags}'
|
export CFLAGS='%{optflags}'
|
||||||
|
Loading…
Reference in New Issue
Block a user