Accepting request 1079999 from editors
- Build AVX2 enabled hwcaps library for x86_64-v3 - Add baselibs.conf for proper generation of libraries. OBS-URL: https://build.opensuse.org/request/show/1079999 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tree-sitter?expand=0&rev=9
This commit is contained in:
commit
34c7551867
1
baselibs.conf
Normal file
1
baselibs.conf
Normal file
@ -0,0 +1 @@
|
||||
libtree-sitter0
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Apr 6 19:36:21 UTC 2023 - Andreas Schneider <asn@cryptomilk.org>
|
||||
|
||||
- Build AVX2 enabled hwcaps library for x86_64-v3
|
||||
- Add baselibs.conf for proper generation of libraries.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 5 18:02:16 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
|
@ -26,10 +26,12 @@ License: MIT
|
||||
URL: https://tree-sitter.github.io/
|
||||
Source0: https://github.com/tree-sitter/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.xz
|
||||
Source1: vendor.tar.xz
|
||||
Source2: cargo_config
|
||||
Source10: cargo_config
|
||||
Source11: baselibs.conf
|
||||
BuildRequires: cargo-packaging
|
||||
BuildRequires: rust > 1.40
|
||||
Requires: lib%{name}%{somajor} = %{version}
|
||||
%{?suse_build_hwcaps_libs}
|
||||
|
||||
%description
|
||||
Tree-sitter is a parser generator tool and an incremental parsing
|
||||
@ -65,7 +67,7 @@ developing applications that use %{name}.
|
||||
%autosetup -p1 -a1
|
||||
|
||||
mkdir -p .cargo
|
||||
cp %{SOURCE2} .cargo/config
|
||||
cp %{SOURCE10} .cargo/config
|
||||
|
||||
# fix VERSION in Makefile
|
||||
sed -i -e '/^VERSION/s/:= .*$/:= %{version}/' Makefile
|
||||
|
Loading…
Reference in New Issue
Block a user