diff --git a/_service b/_service new file mode 100644 index 0000000..02841b3 --- /dev/null +++ b/_service @@ -0,0 +1,4 @@ + + + + diff --git a/tree-sitter.changes b/tree-sitter.changes index 0bff96c..939062b 100644 --- a/tree-sitter.changes +++ b/tree-sitter.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Nov 5 03:18:24 UTC 2021 - William Brown + +- Add cargo audit service to detect potential security issues + ------------------------------------------------------------------- Fri Jul 2 22:49:27 UTC 2021 - Matej Cepl diff --git a/tree-sitter.spec b/tree-sitter.spec index 80e0f8e..2ab22d8 100644 --- a/tree-sitter.spec +++ b/tree-sitter.spec @@ -1,7 +1,7 @@ # # spec file for package tree-sitter # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -15,12 +15,13 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %define somajor 0 %define libdirname tree_sitter Name: tree-sitter Version: 0.20.0 Release: 0 -Summary: An incremental parsing system for programming tools +Summary: An incremental parsing system for programming tools License: MIT URL: https://tree-sitter.github.io/ Source0: https://github.com/tree-sitter/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz @@ -53,7 +54,6 @@ library. It can build a concrete syntax tree for a source file and efficiently update the syntax tree as the source file is edited. This is the package with the dynamically linked C library. - %package devel Summary: Development files for %{name} Requires: lib%{name}%{somajor} = %{version} @@ -88,7 +88,6 @@ export PREFIX='%{_prefix}' LIBDIR='%{_libdir}' INCLUDEDIR='%{_includedir}' install -p -m 0755 -D target/release/tree-sitter \ %{buildroot}%{_bindir}/tree-sitter - find %{buildroot} -type f \( -name "*.la" -o -name "*.a" \) -delete -print %post -n lib%{name}%{somajor} -p /sbin/ldconfig