import rust-lscolors-0.16.0-1.el9

i9ce changed/i9ce/rust-lscolors-0.16.0-1.el9
MSVSphere Packaging Team 1 year ago
parent 4478b8862b
commit 9a749e62ee

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/lscolors-0.16.0.crate

@ -0,0 +1 @@
a3a30954460afd35f9642a45e210d4ed12f3abd6 SOURCES/lscolors-0.16.0.crate

Binary file not shown.

@ -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"

@ -8,13 +8,13 @@
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec ## END: Set by rpmautospec
# Generated by rust2rpm 24 # Generated by rust2rpm 25
%bcond_without check %bcond_without check
%global crate lscolors %global crate lscolors
Name: rust-lscolors Name: rust-lscolors
Version: 0.15.0 Version: 0.16.0
Release: %autorelease Release: %autorelease
Summary: Colorize paths using the LS_COLORS environment variable Summary: Colorize paths using the LS_COLORS environment variable
@ -22,11 +22,8 @@ Summary: Colorize paths using the LS_COLORS environment variable
License: MIT OR Apache-2.0 License: MIT OR Apache-2.0
URL: https://crates.io/crates/lscolors URL: https://crates.io/crates/lscolors
Source: %{crates_source} 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: %global _description %{expand:
Colorize paths using the LS_COLORS environment variable.} Colorize paths using the LS_COLORS environment variable.}
@ -100,6 +97,18 @@ use the "crossterm" feature of the "%{crate}" crate.
%files -n %{name}+crossterm-devel %files -n %{name}+crossterm-devel
%ghost %{crate_instdir}/Cargo.toml %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 %package -n %{name}+nu-ansi-term-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -113,29 +122,32 @@ use the "nu-ansi-term" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires
%cargo_generate_buildrequires -f nu-ansi-term %cargo_generate_buildrequires
%build %build
%cargo_build -f nu-ansi-term %cargo_build
%{cargo_license_summary -f nu-ansi-term} %{cargo_license_summary}
%{cargo_license -f nu-ansi-term} > LICENSE.dependencies %{cargo_license} > LICENSE.dependencies
%install %install
%cargo_install -f nu-ansi-term %cargo_install
%if %{with check} %if %{with check}
%check %check
%cargo_test -f nu-ansi-term %cargo_test
%endif %endif
%changelog %changelog
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.15.0-1 * Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.16.0-1
- Rebuilt for MSVSphere 9.3 - Rebuilt for MSVSphere 9.3
* Sat Jan 06 2024 Fabio Valentini <decathorpe@gmail.com> - 0.16.0-1
- Update to version 0.16.0; Fixes RHBZ#2252150
* Fri Oct 27 2023 Michel Lind <salimma@fedoraproject.org> - 0.15.0-1 * Fri Oct 27 2023 Michel Lind <salimma@fedoraproject.org> - 0.15.0-1
- Update to 0.15.0 - Update to 0.15.0

Loading…
Cancel
Save