* Remove outdated remark. * Downgrade `once_cell` to make jaq-core compile with MSRV. * Dependency updates. * Update benchmark results for jaq 2.3. * Document `bsearch`. * Merge pull request #303 from 01mf02/repl * Comment. * Merge pull request #302 from 01mf02/join-string * Update differences between jq and jaq for `join/1`. * Implement history loading/saving for REPL. * Indent nested REPLs. * Make REPL work with stdin --- thanks a lot to @gwenn! * Merge pull request #300 from fgimian/avoid-open-handles-during-persist * Small import reorganisation. * Add `repl` filter and split main file into smaller modules. * Add rustyline dependency. * Increase MSRV of jaq from 1.65 to 1.66. * Adapt tests to new `join` semantics. * Convert inputs of `join` to strings. * Ensure no file handles remain open during in-place persist (closes #292). * Merge pull request #301 from 01mf02/label-inside-fun * Correctly handle labels inside of native function arguments. * Merge pull request #299 from 01mf02/bsearch * Merge pull request #298 from 01mf02/neg-after-bin * Implement `bsearch`. * Allow negation directly after a binary operator. * Make `Debug` format `load::parse::Def` like a tuple. * Remove unnecessary trait bound. * Add @urid format OBS-URL: https://build.opensuse.org/package/show/utilities/jaq?expand=0&rev=5
55 lines
1.4 KiB
RPMSpec
55 lines
1.4 KiB
RPMSpec
#
|
|
# spec file for package jaq
|
|
#
|
|
# Copyright (c) 2025 SUSE LLC and contributors
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
Name: jaq
|
|
Version: 2.3.0
|
|
Summary: jq clone in Rust
|
|
License: MIT
|
|
Release: 0
|
|
URL: https://github.com/01mf02/jaq
|
|
Source: https://github.com/01mf02/jaq/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
Source1: vendor.tar.zst
|
|
BuildRequires: cargo
|
|
BuildRequires: cargo-packaging
|
|
BuildRequires: gcc
|
|
|
|
%description
|
|
jaq (pronounced like Jacques) is a clone of the JSON data processing tool
|
|
jq. jaq aims to support a large subset of jq's syntax and operations.
|
|
|
|
%prep
|
|
%autosetup -a1
|
|
|
|
%build
|
|
%{cargo_build} --package jaq
|
|
|
|
%check
|
|
%{cargo_test}
|
|
|
|
%install
|
|
pushd jaq
|
|
%{cargo_install}
|
|
popd
|
|
|
|
%files
|
|
%{_bindir}/%{name}
|
|
%license LICENSE-MIT
|
|
%doc README.md
|
|
|
|
%changelog
|