|
|
|
@ -8,13 +8,13 @@
|
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
|
@ -22,11 +22,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.}
|
|
|
|
@ -100,6 +97,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
|
|
|
|
@ -113,29 +122,32 @@ 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
|
|
|
|
|
* 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
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
|
- Update to 0.15.0
|
|
|
|
|
|
|
|
|
|