#1 Correct the license
Closed 3 years ago by bowlofeggs. Opened 4 years ago by bowlofeggs.
rpms/ bowlofeggs/rust-bat license  into  master

file modified
+2 -1
@@ -11,7 +11,8 @@ 

  Summary:        cat(1) clone with wings

  

  # Upstream license specification: MIT/Apache-2.0

- License:        MIT or ASL 2.0

+ # The license data was gathered using cargo-license

+ License:        (MIT or ASL 2.0) and ASL 2.0 and BSD and (BSD and Zlib) and CC0 and ISC and LGPLv3+ and MIT and (MIT or Unlicense)

  URL:            https://crates.io/crates/bat

  Source:         %{crates_source}

  # Initial patched metadata

This commit adjusts the license to reflect the licenses of the
bundled libraries. I used cargo-license to gather the information
about which licenses were in use:

$ cargo-license
Apache-2.0 (2): line-wrap, clang-sys
Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT (1): wasi
Apache-2.0 OR BSL-1.0 (1): ryu
Apache-2.0 OR MIT (117): bat, backtrace, error-chain, flate2, url, serde_derive, escargot, version_check, hermit-abi, quote, proc-macro-hack, humantime, remove_dir_all, regex-syntax, sha-1, arrayvec, smallvec, unicode-width, serde_json, opaque-debug, dirs, cfg-if, safemem, vcpkg, vec_map, libc, escargot, syn, pest, percent-encoding, winapi-i686-pc-windows-gnu, lazycell, quote, rust-argon2, num_cpus, log, pest_generator, tempdir, rand_core, proc-macro2, quick-error, bitflags, itoa, failure_derive, proc-quote-impl, unicode-normalization, crossbeam-utils, predicates-tree, fnv, cc, idna, pest_derive, typenum, lazy_static, fxhash, time, assert_cmd, cexpr, pest_meta, url, backtrace-sys, pkg-config, proc-quote, either, glob, jobserver, dirs-sys, unicode-xid, crc32fast, libgit2-sys, libz-sys, base64, linked-hash-map, failure, getrandom, unicode-xid, shell-words, anymap, chrono, regex, byte-tools, winapi-x86_64-pc-windows-gnu, proc-macro2, unicode-bidi, shlex, predicates, num-integer, ucd-trie, itertools, yaml-rust, block-buffer, digest, git2, syn, fake-simd, winapi, content_inspector, term_size, autocfg, unicode-segmentation, num-traits, percent-encoding, serde, miniz-sys, env_logger, rand_core, rand_os, rustc-demangle, rand, encode_unicode, predicates-core, peeking_take_while, nodrop, maplit, idna, block-padding, thread_local
BSD-2-Clause (2): arrayref, cloudabi
BSD-3-Clause (2): bindgen, deunicode
BSD-3-Clause AND Zlib (1): adler32
CC0-1.0 (7): encoding-index-korean, encoding-index-tradchinese, encoding-index-simpchinese, constant_time_eq, encoding_index_tests, encoding-index-singlebyte, encoding-index-japanese
ISC (2): rdrand, libloading
LGPL-3.0-or-later (1): ansi_colours
MIT (38): console, redox_syscall, treeline, wild, kernel32-sys, liquid-value, onig, winapi, strsim, syntect, liquid-compiler, clap, plist, liquid-derive, difference, winapi-build, liquid-error, doc-comment, liquid, atty, textwrap, blake2b_simd, nom, generic-array, xml-rs, synstructure, termios, which, miniz_oxide, encoding, onig_sys, ansi_term, redox_users, ansi_term, liquid-interpreter, matches, clicolors-control, bincode
MIT OR Unlicense (8): wincolor, termcolor, byteorder, winapi-util, aho-corasick, memchr, same-file, walkdir
N/A (1): fuchsia-cprng

Signed-off-by: Randy Barlow randy@electronsweatshop.com

I've updated the License tag while updating bat to the latest version in this PR:
https://src.fedoraproject.org/rpms/rust-bat/pull-request/2

I'm also unsure why you didn't simplify the list in your PR? For example, (MIT or ASL 2.0) and ASL 2.0 would just collapse into ASL 2.0, making the list much shorter and simpler.

Pull-Request has been closed by bowlofeggs

3 years ago