diff --git a/.gitignore b/.gitignore index 1b0451f..7604b76 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /lscolors-0.10.0.crate /lscolors-0.13.0.crate /lscolors-0.14.0.crate +/lscolors-0.15.0.crate diff --git a/lscolors-fix-metadata.diff b/lscolors-fix-metadata.diff index 90dcadd..aa111fe 100644 --- a/lscolors-fix-metadata.diff +++ b/lscolors-fix-metadata.diff @@ -1,5 +1,5 @@ ---- lscolors-0.14.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ lscolors-0.14.0/Cargo.toml 2023-05-18T21:23:02.659862+00:00 +--- lscolors-0.15.0/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ lscolors-0.15.0/Cargo.toml 2023-10-27T04:06:20.412916+00:00 @@ -32,7 +32,6 @@ [profile.release] lto = true diff --git a/rust-lscolors.spec b/rust-lscolors.spec index 4ad0b0f..ccd006b 100644 --- a/rust-lscolors.spec +++ b/rust-lscolors.spec @@ -4,7 +4,7 @@ %global crate lscolors Name: rust-lscolors -Version: 0.14.0 +Version: 0.15.0 Release: %autorelease Summary: Colorize paths using the LS_COLORS environment variable @@ -13,10 +13,10 @@ License: MIT OR Apache-2.0 URL: https://crates.io/crates/lscolors Source: %{crates_source} # Manually created patch for downstream crate metadata changes -# * turn on stripping, needed for debug packages +# * turn off stripping, needed for debug packages Patch: lscolors-fix-metadata.diff -BuildRequires: rust-packaging >= 21 +BuildRequires: rust-packaging >= 23 %global _description %{expand: Colorize paths using the LS_COLORS environment variable.} @@ -25,12 +25,17 @@ Colorize paths using the LS_COLORS environment variable.} %package -n %{crate} Summary: %{summary} +# MIT +# MIT OR Apache-2.0 +License: MIT AND (MIT OR Apache-2.0) +# LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE-APACHE %license LICENSE-MIT +%license LICENSE.dependencies %doc README.md %{_bindir}/lscolors @@ -106,6 +111,8 @@ use the "nu-ansi-term" feature of the "%{crate}" crate. %build %cargo_build -f nu-ansi-term +%{cargo_license_summary -f nu-ansi-term} +%{cargo_license -f nu-ansi-term} > LICENSE.dependencies %install %cargo_install -f nu-ansi-term diff --git a/sources b/sources index 698f845..7deaeae 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (lscolors-0.14.0.crate) = e94a0744ca1d0220a67a6771bccee5acbc4477a5fffb76c9c28859dcec1df8482775f86ff38890c85060c0885fd50c786ce3c0e37a706a0159659f4d5d2effd2 +SHA512 (lscolors-0.15.0.crate) = 230c2e4e60ec678ba6240849b5b302d862e8f3f25017a9ccee7cd8d57d88ee629b2673f9f5f0c1e27384fd662aee6e132123f043173888470f4e299a4cf64d82