Accepting request 1068467 from editors
OBS-URL: https://build.opensuse.org/request/show/1068467 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter?expand=0&rev=7
This commit is contained in:
commit
826f5e7b12
@ -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>
|
||||
|
||||
|
@ -70,6 +70,9 @@ developing applications that use %{name}.
|
||||
mkdir -p .cargo
|
||||
cp %{SOURCE2} .cargo/config
|
||||
|
||||
# fix VERSION in Makefile
|
||||
sed -i -e '/^VERSION/s/:= .*$/:= %{version}/' Makefile
|
||||
|
||||
%build
|
||||
%{cargo_build}
|
||||
export CFLAGS='%{optflags}'
|
||||
|
Loading…
Reference in New Issue
Block a user