Compare commits

...

11 Commits
f34 ... rawhide

Author SHA1 Message Date
Fabio Valentini 6087d40b52
Rebuild for fixed frame pointer compiler flags in Rust RPM macros 2023-02-05 00:10:25 +01:00
Fedora Release Engineering 473336ccdb Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-20 23:36:10 +00:00
Fabio Valentini 1c8eee4508
Disable doctests on ppc64le to work around a compiler crash on LLVM 15 2023-01-11 18:17:12 +01:00
Kalev Lember 1c83066d9b Automatically generate LICENSE.dependencies during the build 2022-11-21 22:40:14 +01:00
Kalev Lember 6817f2ef1b Re-generate the spec file with rust2rpm 23 2022-11-21 22:34:08 +01:00
Fabio Valentini d8ad12114e
Disable doctests on armv7hl to work around rustc crashes with LLVM 14 2022-07-26 19:05:33 +02:00
Fabio Valentini 2e3f844899
Update to version 4.0.6; Fixes RHBZ#2005911 2022-07-26 18:42:26 +02:00
Fedora Release Engineering e921ca23eb Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-23 04:47:30 +00:00
Zbigniew Jędrzejewski-Szmek 5446cf66d0 Rebuild with package notes 2022-02-15 16:31:38 +01:00
Fedora Release Engineering b4993488dc - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-21 21:31:29 +00:00
Fabio Valentini 69150627a9
Update to version 2.9.5; Fixes RHBZ#1997033 2021-08-24 14:30:11 +02:00
5 changed files with 162 additions and 28 deletions

2
.gitignore vendored
View File

@ -9,3 +9,5 @@
/jql-2.7.2.crate
/jql-2.7.4.crate
/jql-2.9.4.crate
/jql-2.9.5.crate
/jql-4.0.6.crate

74
LICENSE.dependencies Normal file
View File

@ -0,0 +1,74 @@
ASL 2.0 or Boost: rust-ryu 1.0.10
ASL 2.0 or MIT: rust-async-channel 1.6.1
ASL 2.0 or MIT: rust-async-executor 1.4.1
ASL 2.0 or MIT: rust-async-global-executor 2.2.0
ASL 2.0 or MIT: rust-async-io 1.7.0
ASL 2.0 or MIT: rust-async-lock 2.5.0
ASL 2.0 or MIT: rust-async-process 1.4.0
ASL 2.0 or MIT: rust-async-std 1.12.0
ASL 2.0 or MIT: rust-async-task 4.3.0
ASL 2.0 or MIT: rust-atomic-waker 1.0.0
ASL 2.0 or MIT: rust-autocfg 1.1.0
ASL 2.0 or MIT: rust-blocking 1.2.0
ASL 2.0 or MIT: rust-cache-padded 1.2.0
ASL 2.0 or MIT: rust-concurrent-queue 1.2.3
ASL 2.0 or MIT: rust-ctor 0.1.22
ASL 2.0 or MIT: rust-event-listener 2.5.2
ASL 2.0 or MIT: rust-fastrand 1.7.0
ASL 2.0 or MIT: rust-futures-lite 1.12.0
ASL 2.0 or MIT: rust-indexmap 1.9.1
ASL 2.0 or MIT: rust-parking 2.0.0
ASL 2.0 or MIT: rust-pin-project-lite 0.2.9
ASL 2.0 or MIT: rust-polling 2.2.0
ASL 2.0 or MIT: rust-signal-hook 0.3.14
ASL 2.0 or MIT: rust-signal-hook-registry 1.4.0
ASL 2.0 or MIT: rust-value-bag 1.0.0~alpha.9
ASL 2.0 or MIT: rust-waker-fn 1.1.0
EPL-2.0: rust-colored_json 2.1.0
MIT OR Apache-2.0: rust-clap 3.2.12
MIT OR Apache-2.0: rust-clap_lex 0.2.4
MIT or ASL 2.0: rust-anyhow 1.0.58
MIT or ASL 2.0: rust-async-attributes 1.1.2
MIT or ASL 2.0: rust-bitflags 1.3.2
MIT or ASL 2.0: rust-cfg-if 1.0.0
MIT or ASL 2.0: rust-crossbeam-channel 0.5.5
MIT or ASL 2.0: rust-crossbeam-deque 0.8.1
MIT or ASL 2.0: rust-crossbeam-epoch 0.9.9
MIT or ASL 2.0: rust-crossbeam-utils 0.8.10
MIT or ASL 2.0: rust-either 1.7.0
MIT or ASL 2.0: rust-futures-core 0.3.21
MIT or ASL 2.0: rust-futures-io 0.3.21
MIT or ASL 2.0: rust-hashbrown 0.12.3
MIT or ASL 2.0: rust-itoa 1.0.2
MIT or ASL 2.0: rust-kv-log-macro 1.0.7
MIT or ASL 2.0: rust-libc 0.2.126
MIT or ASL 2.0: rust-log 0.4.17
MIT or ASL 2.0: rust-maplit 1.0.2
MIT or ASL 2.0: rust-num_cpus 1.13.1
MIT or ASL 2.0: rust-once_cell 1.13.0
MIT or ASL 2.0: rust-os_str_bytes 6.1.0
MIT or ASL 2.0: rust-pest 2.1.3
MIT or ASL 2.0: rust-pest_derive 2.1.0
MIT or ASL 2.0: rust-pest_generator 2.1.3
MIT or ASL 2.0: rust-pest_meta 2.1.3
MIT or ASL 2.0: rust-pin-utils 0.1.0
MIT or ASL 2.0: rust-proc-macro2 1.0.40
MIT or ASL 2.0: rust-quote 1.0.20
MIT or ASL 2.0: rust-rayon 1.5.3
MIT or ASL 2.0: rust-rayon-core 1.9.3
MIT or ASL 2.0: rust-scopeguard 1.1.0
MIT or ASL 2.0: rust-serde 1.0.139
MIT or ASL 2.0: rust-serde_json 1.0.82
MIT or ASL 2.0: rust-socket2 0.4.4
MIT or ASL 2.0: rust-syn 1.0.98
MIT or ASL 2.0: rust-ucd-trie 0.1.3
MIT or ASL 2.0: rust-unicode-ident 1.0.1
MIT or ASL 2.0: rust-version_check 0.9.4
MIT: rust-ansi_term 0.12.1
MIT: rust-atty 0.2.14
MIT: rust-memoffset 0.6.5
MIT: rust-slab 0.4.7
MIT: rust-strsim 0.10.0
MIT: rust-textwrap 0.15.0
Unlicense or MIT: rust-memchr 2.5.0
Unlicense or MIT: rust-termcolor 1.1.3

12
jql-fix-metadata.diff Normal file
View File

@ -0,0 +1,12 @@
--- jql-4.0.6/Cargo.toml 1970-01-01T00:00:01+00:00
+++ jql-4.0.6/Cargo.toml 2022-07-26T16:25:05.056923+00:00
@@ -98,9 +98,6 @@
]
default-features = false
-[dev-dependencies.criterion]
-version = "0.3.6"
-
[features]
default = [
"async-std",

View File

@ -1,48 +1,47 @@
# Generated by rust2rpm 18
# Generated by rust2rpm 23
%bcond_without check
%global crate jql
Name: rust-%{crate}
Version: 2.9.4
Name: rust-jql
Version: 4.0.6
Release: %autorelease
Summary: JSON query language CLI tool
# Upstream license specification: MIT
License: MIT
URL: https://crates.io/crates/jql
Source: %{crates_source}
Source0: %{crates_source}
Source1: LICENSE.dependencies
# Manually created patch for downstream crate metadata changes
# * drop unused, benchmark-only criterion dev-dependency to speed up builds
Patch: jql-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
JSON query language CLI tool.}
%description %{_description}
%if ! %{__cargo_skip_build}
%package -n %{crate}
Summary: %{summary}
# ASL 2.0 or Boost
# ASL 2.0 or MIT
# Apache-2.0 OR BSL-1.0
# Apache-2.0 OR MIT
# EPL-2.0
# MIT
# MIT or ASL 2.0
# Unlicense or MIT
License: MIT and EPL-2.0 and (ASL 2.0 or Boost)
# MIT OR Apache-2.0
# Unlicense OR MIT
License: MIT AND EPL-2.0 AND (Apache-2.0 OR BSL-1.0)
# LICENSE.dependencies contains a full license breakdown
%description -n %{crate} %{_description}
%files -n %{crate}
%license LICENSE-MIT
%doc README.md PERFORMANCE.md
%license LICENSE.dependencies
%doc PERFORMANCE.md
%doc README.md
%{_bindir}/jql
%endif
%package devel
Summary: %{summary}
@ -50,13 +49,14 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE-MIT
%doc README.md PERFORMANCE.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/PERFORMANCE.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -64,14 +64,51 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+async-std-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+async-std-devel %{_description}
This package contains library source intended for building other packages which
use the "async-std" feature of the "%{crate}" crate.
%files -n %{name}+async-std-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+clap-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+clap-devel %{_description}
This package contains library source intended for building other packages which
use the "clap" feature of the "%{crate}" crate.
%files -n %{name}+clap-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+colored_json-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+colored_json-devel %{_description}
This package contains library source intended for building other packages which
use the "colored_json" feature of the "%{crate}" crate.
%files -n %{name}+colored_json-devel
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
cp %{SOURCE1} .
%cargo_prep
%generate_buildrequires
@ -79,14 +116,23 @@ which use "default" feature of "%{crate}" crate.
%build
%cargo_build
%{cargo_license} > LICENSE.dependencies
%install
%cargo_install
%if %{with check}
%check
%ifarch %{arm} ppc64le
# * doctests fail to compile on armv7hl with LLVM 14:
# https://bugzilla.redhat.com/show_bug.cgi?id=2086106
# * doctests fail to compile on ppc64le with LLVM 15:
# https://bugzilla.redhat.com/show_bug.cgi?id=2142648
%cargo_test -- --lib
%else
%cargo_test
%endif
%endif
%changelog
%autochangelog

View File

@ -1 +1 @@
SHA512 (jql-2.9.4.crate) = 114be89d41c7d68fc465c958d3ad606d6a11b243a7ffc6f74a7312d099c13d2f5a42a13a72b2496577337454496a993963eba9aec531ca133cc75b83c6406d4d
SHA512 (jql-4.0.6.crate) = 37cd5c5b7eedf394d56a2b943d1b37ae545f8e85da9a7bcb5f59b126d5c667201d69d905725e6ec0169c9c637d2a44bcfba6189bbe52901d3cc7ea930a78d360