Update to version 0.16.0; Fixes RHBZ#2252150

epel9 imports/e9/rust-lscolors-0.16.0-1.el9
Fabio Valentini 1 year ago
parent d49f3dfcd1
commit 4c338e2fe9
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -6,3 +6,4 @@
/lscolors-0.13.0.crate
/lscolors-0.14.0.crate
/lscolors-0.15.0.crate
/lscolors-0.16.0.crate

@ -1,3 +0,0 @@
# rust-lscolors
The rust-lscolors package

@ -1,10 +0,0 @@
--- 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
codegen-units = 1
-strip = true
[[bin]]
name = "lscolors"

@ -1,10 +1,10 @@
# Generated by rust2rpm 24
# Generated by rust2rpm 25
%bcond_without check
%global crate lscolors
Name: rust-lscolors
Version: 0.15.0
Version: 0.16.0
Release: %autorelease
Summary: Colorize paths using the LS_COLORS environment variable
@ -12,11 +12,8 @@ Summary: Colorize paths using the LS_COLORS environment variable
License: MIT OR Apache-2.0
URL: https://crates.io/crates/lscolors
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * turn off stripping, needed for debug packages
Patch: lscolors-fix-metadata.diff
BuildRequires: rust-packaging >= 23
BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand:
Colorize paths using the LS_COLORS environment variable.}
@ -90,6 +87,18 @@ use the "crossterm" feature of the "%{crate}" crate.
%files -n %{name}+crossterm-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+gnu_legacy-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+gnu_legacy-devel %{_description}
This package contains library source intended for building other packages which
use the "gnu_legacy" feature of the "%{crate}" crate.
%files -n %{name}+gnu_legacy-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+nu-ansi-term-devel
Summary: %{summary}
BuildArch: noarch
@ -103,23 +112,23 @@ use the "nu-ansi-term" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%autosetup -n %{crate}-%{version} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires -f nu-ansi-term
%cargo_generate_buildrequires
%build
%cargo_build -f nu-ansi-term
%{cargo_license_summary -f nu-ansi-term}
%{cargo_license -f nu-ansi-term} > LICENSE.dependencies
%cargo_build
%{cargo_license_summary}
%{cargo_license} > LICENSE.dependencies
%install
%cargo_install -f nu-ansi-term
%cargo_install
%if %{with check}
%check
%cargo_test -f nu-ansi-term
%cargo_test
%endif
%changelog

@ -1 +1 @@
SHA512 (lscolors-0.15.0.crate) = 230c2e4e60ec678ba6240849b5b302d862e8f3f25017a9ccee7cd8d57d88ee629b2673f9f5f0c1e27384fd662aee6e132123f043173888470f4e299a4cf64d82
SHA512 (lscolors-0.16.0.crate) = 3b6f65e5cdad090fb05b278d4f5cc3d3219dcaa5413dcdb20ca4f673842906c09c71fab4dfe23a3669a9a3781af0d08a793e1626900a078e7e776286c676195a

Loading…
Cancel
Save