The package rpms/rust-askalono-cli.git has added or updated architecture specific content in its spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s): https://src.fedoraproject.org/cgit/rpms/rust-askalono-cli.git/commit/?id=655....
Change: -ExclusiveArch: %{rust_arches}
Thanks.
Full change: ============
commit 655b1a569c1f1c97235d0c90719ffd91c9861d92 Author: Fabio Valentini decathorpe@gmail.com Date: Fri Nov 24 14:22:01 2023 +0100
Update included SPDX license-list-data to version 3.22
diff --git a/.gitignore b/.gitignore index be7aecc..96baf05 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /askalono-cli-0.4.3.crate /askalono-cli-0.4.4.crate /askalono-cli-0.4.6.crate +/askalono-cache-3.22.bin.zstd diff --git a/LICENSE.dependencies b/LICENSE.dependencies deleted file mode 100644 index 591b339..0000000 --- a/LICENSE.dependencies +++ /dev/null @@ -1,56 +0,0 @@ -Apache-2.0 OR BSL-1.0: ryu v1.0.11 -Apache-2.0 OR MIT: fnv v1.0.7 -Apache-2.0 OR MIT: structopt v0.2.18 -Apache-2.0 OR MIT: thread_local v1.1.4 -Apache-2.0: askalono v0.4.6 -Apache-2.0: askalono-cli v0.4.6 -MIT OR Apache-2.0 OR Zlib: tinyvec_macros v0.1.0 -MIT OR Apache-2.0: anyhow v1.0.59 -MIT OR Apache-2.0: bitflags v1.3.2 -MIT OR Apache-2.0: bstr v0.2.17 -MIT OR Apache-2.0: cfg-if v1.0.0 -MIT OR Apache-2.0: crossbeam-channel v0.5.6 -MIT OR Apache-2.0: crossbeam-deque v0.8.2 -MIT OR Apache-2.0: crossbeam-epoch v0.9.10 -MIT OR Apache-2.0: crossbeam-utils v0.8.11 -MIT OR Apache-2.0: either v1.7.0 -MIT OR Apache-2.0: env_logger v0.7.1 -MIT OR Apache-2.0: humantime v1.3.0 -MIT OR Apache-2.0: itoa v1.0.3 -MIT OR Apache-2.0: lazy_static v1.4.0 -MIT OR Apache-2.0: libc v0.2.127 -MIT OR Apache-2.0: log v0.4.17 -MIT OR Apache-2.0: num-traits v0.2.15 -MIT OR Apache-2.0: num_cpus v1.13.1 -MIT OR Apache-2.0: once_cell v1.13.0 -MIT OR Apache-2.0: quick-error v1.2.3 -MIT OR Apache-2.0: rayon v1.5.3 -MIT OR Apache-2.0: rayon-core v1.9.3 -MIT OR Apache-2.0: regex v1.6.0 -MIT OR Apache-2.0: regex-syntax v0.6.27 -MIT OR Apache-2.0: scopeguard v1.1.0 -MIT OR Apache-2.0: serde v1.0.141 -MIT OR Apache-2.0: serde_json v1.0.83 -MIT OR Apache-2.0: unicode-normalization v0.1.21 -MIT OR Apache-2.0: unicode-width v0.1.9 -MIT OR Apache-2.0: vec_map v0.8.2 -MIT OR Apache-2.0: zstd-safe v5.0.2 -MIT OR Apache-2.0: zstd-sys v2.0.1 -MIT: ansi_term v0.12.1 -MIT: atty v0.2.14 -MIT: clap v2.34.0 -MIT: memoffset v0.6.5 -MIT: rmp v0.8.11 -MIT: rmp-serde v0.14.3 -MIT: strsim v0.10.0 -MIT: textwrap v0.11.0 -MIT: zstd v0.11.2 -Unlicense OR MIT: aho-corasick v0.7.18 -Unlicense OR MIT: byteorder v1.4.3 -Unlicense OR MIT: globset v0.4.8 -Unlicense OR MIT: ignore v0.4.18 -Unlicense OR MIT: memchr v2.5.0 -Unlicense OR MIT: same-file v1.0.6 -Unlicense OR MIT: termcolor v1.1.3 -Unlicense OR MIT: walkdir v2.3.2 -Zlib OR Apache-2.0 OR MIT: tinyvec v1.6.0 diff --git a/README.md b/README.md deleted file mode 100644 index 4dab879..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-askalono-cli - -The rust-askalono-cli package \ No newline at end of file diff --git a/rust-askalono-cli.spec b/rust-askalono-cli.spec index 1b23149..e95dcae 100644 --- a/rust-askalono-cli.spec +++ b/rust-askalono-cli.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 22 +# Generated by rust2rpm 25 %bcond_without check
%global crate askalono-cli @@ -8,22 +8,27 @@ Version: 0.4.6 Release: %autorelease Summary: Tool to detect the contents of license files
-License: Apache-2.0 +# * askalono-cli: Apache-2.0 +# * spdx/license-list-data: CC0-1.0 +License: Apache-2.0 AND CC0-1.0 URL: https://crates.io/crates/askalono-cli -Source0: %{crates_source} -Source1: LICENSE.dependencies +Source: %{crates_source} +# updated SPDX license list data; generated with: +# $ git clone https://github.com/spdx/license-list-data.git spdx-license-list -b v3.22 --depth 1 +# $ askalono cache load-spdx spdx-license-list/json/details +# $ mv askalono-cache.bin.zstd askalono-cache-3.22.bin.zstd +Source: askalono-cache-3.22.bin.zstd
-ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: -Tool to detect the contents of license files.} +A tool to detect the contents of license files.}
%description %{_description}
%package -n %{crate} Summary: %{summary} +# (MIT OR Apache-2.0) AND Unicode-DFS-2016 # Apache-2.0 # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR MIT @@ -32,28 +37,33 @@ Summary: %{summary} # MIT OR Apache-2.0 OR Zlib # Unlicense OR MIT # Zlib OR Apache-2.0 OR MIT -License: Apache-2.0 AND MIT +License: Apache-2.0 AND CC0-1.0 MIT AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown
+Provides: bundled(spdx-license-list-data) = 3.22 + %description -n %{crate} %{_description}
%files -n %{crate} %license LICENSE -%license LICENSE.dependencies %license NOTICE +%license LICENSE.dependencies %doc README.md %{_bindir}/askalono
%prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 -cp %{SOURCE1} . +%autosetup -n %{crate}-%{version} -p1 %cargo_prep +# update bundled SPDX license list data +cp -pav %{SOURCE1} embedded-cache.bin.zstd
%generate_buildrequires %cargo_generate_buildrequires -f diagnostics
%build %cargo_build -f diagnostics +%{cargo_license_summary -f diagnostics} +%{cargo_license -f diagnostics} > LICENSE.dependencies
%install %cargo_install -f diagnostics diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..9e3294d --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,4 @@ +[features] +enable = ["diagnostics"] + + diff --git a/sources b/sources index e58164c..3e0260d 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ SHA512 (askalono-cli-0.4.6.crate) = da19ce0e445798aa41d49eda709ea62a00805da1db5baaf47c02df07994cd88e821d996609853bfaf48c95268876b2c98e3b69be1953b306f8537d3a6bea72eb +SHA512 (askalono-cache-3.22.bin.zstd) = 2dfcc0de285e5e43a531f79f08a5386049a9d4084b9c27df43ca5619fe357b4a9d6cf66c3ae33b2694e9d57b46c32e7e663aa73ddcb13b08c33e75ab732ec1cb
arch-excludes@lists.fedoraproject.org