|
|
@ -1,12 +1,12 @@
|
|
|
|
# Generated by rust2rpm 16
|
|
|
|
# Generated by rust2rpm 18
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
|
|
|
|
|
|
|
|
%global crate bat
|
|
|
|
%global crate bat
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.17.1
|
|
|
|
Version: 0.18.3
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: cat(1) clone with wings
|
|
|
|
Summary: Cat(1) clone with wings
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
@ -14,8 +14,10 @@ URL: https://crates.io/crates/bat
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
# Initial patched metadata
|
|
|
|
# * Switch to path-absolutize, https://github.com/sharkdp/bat/pull/1025
|
|
|
|
# * Switch to path-absolutize, https://github.com/sharkdp/bat/pull/1025
|
|
|
|
|
|
|
|
# * Bump assert_cmd to 2.0.0
|
|
|
|
|
|
|
|
# * Bump nix to 0.22.0
|
|
|
|
Patch0: bat-fix-metadata.diff
|
|
|
|
Patch0: bat-fix-metadata.diff
|
|
|
|
Patch0001: 0001-Siwtch-to-path-absolutize.patch
|
|
|
|
Patch0001: 0001-Switch-to-path-absolutize.patch
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
@ -48,7 +50,7 @@ License: ASL 2.0 and BSD and CC0 and LGPLv3+ and MIT
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{crate}
|
|
|
|
%files -n %{crate}
|
|
|
|
%license LICENSE-MIT LICENSE-APACHE
|
|
|
|
%license LICENSE-MIT LICENSE-APACHE
|
|
|
|
%doc README.md
|
|
|
|
%doc doc README.md CONTRIBUTING.md CHANGELOG.md
|
|
|
|
%{_bindir}/bat
|
|
|
|
%{_bindir}/bat
|
|
|
|
%{_mandir}/man1/bat.1*
|
|
|
|
%{_mandir}/man1/bat.1*
|
|
|
|
%dir %{_datadir}/fish
|
|
|
|
%dir %{_datadir}/fish
|
|
|
@ -67,7 +69,7 @@ which use "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%license LICENSE-MIT LICENSE-APACHE
|
|
|
|
%license LICENSE-MIT LICENSE-APACHE
|
|
|
|
%doc README.md
|
|
|
|
%doc doc README.md CONTRIBUTING.md CHANGELOG.md
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
%package -n %{name}+default-devel
|
|
|
@ -118,16 +120,16 @@ which use "clap" feature of "%{crate}" crate.
|
|
|
|
%files -n %{name}+clap-devel
|
|
|
|
%files -n %{name}+clap-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+dirs-devel
|
|
|
|
%package -n %{name}+dirs-next-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+dirs-devel %{_description}
|
|
|
|
%description -n %{name}+dirs-next-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use "dirs" feature of "%{crate}" crate.
|
|
|
|
which use "dirs-next" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+dirs-devel
|
|
|
|
%files -n %{name}+dirs-next-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+git-devel
|
|
|
|
%package -n %{name}+git-devel
|
|
|
|