No need for such branch
This commit is contained in:
parent
e97cc93e3c
commit
eaf808d951
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,2 +0,0 @@
|
||||
/bat-0.9.0.crate
|
||||
/bat-0.10.0.crate
|
1
dead.package
Normal file
1
dead.package
Normal file
@ -0,0 +1 @@
|
||||
No need for such branch
|
@ -1,84 +0,0 @@
|
||||
# Generated by rust2rpm
|
||||
# * assert_cmd is not packaged
|
||||
%bcond_with check
|
||||
|
||||
%global crate bat
|
||||
|
||||
Name: rust-%{crate}
|
||||
Version: 0.10.0
|
||||
Release: 1%{?dist}
|
||||
Summary: cat(1) clone with wings
|
||||
|
||||
# Upstream license specification: MIT/Apache-2.0
|
||||
License: MIT or ASL 2.0
|
||||
URL: https://crates.io/crates/bat
|
||||
Source: %{crates_source}
|
||||
|
||||
ExclusiveArch: %{rust_arches}
|
||||
|
||||
BuildRequires: rust-packaging
|
||||
BuildRequires: (crate(ansi_colours/default) >= 1.0.0 with crate(ansi_colours/default) < 2.0.0)
|
||||
BuildRequires: (crate(ansi_term/default) >= 0.11.0 with crate(ansi_term/default) < 0.12.0)
|
||||
BuildRequires: (crate(atty/default) >= 0.2.2 with crate(atty/default) < 0.3.0)
|
||||
BuildRequires: (crate(clap/color) >= 2.32.0 with crate(clap/color) < 3.0.0)
|
||||
BuildRequires: (crate(clap/default) >= 2.32.0 with crate(clap/default) < 3.0.0)
|
||||
BuildRequires: (crate(clap/suggestions) >= 2.32.0 with crate(clap/suggestions) < 3.0.0)
|
||||
BuildRequires: (crate(clap/wrap_help) >= 2.32.0 with crate(clap/wrap_help) < 3.0.0)
|
||||
BuildRequires: (crate(console/default) >= 0.7.0 with crate(console/default) < 0.8.0)
|
||||
BuildRequires: (crate(content_inspector/default) >= 0.2.4 with crate(content_inspector/default) < 0.3.0)
|
||||
BuildRequires: (crate(dirs/default) >= 1.0.0 with crate(dirs/default) < 2.0.0)
|
||||
BuildRequires: (crate(encoding/default) >= 0.2.0 with crate(encoding/default) < 0.3.0)
|
||||
BuildRequires: (crate(error-chain) >= 0.12.0 with crate(error-chain) < 0.13.0)
|
||||
BuildRequires: (crate(git2) >= 0.8.0 with crate(git2) < 0.9.0)
|
||||
BuildRequires: (crate(lazy_static/default) >= 1.2.0 with crate(lazy_static/default) < 2.0.0)
|
||||
BuildRequires: (crate(shell-words/default) >= 0.1.0 with crate(shell-words/default) < 0.2.0)
|
||||
BuildRequires: (crate(syntect/dump-create) >= 3.0.2 with crate(syntect/dump-create) < 4.0.0)
|
||||
BuildRequires: (crate(syntect/dump-load) >= 3.0.2 with crate(syntect/dump-load) < 4.0.0)
|
||||
BuildRequires: (crate(syntect/parsing) >= 3.0.2 with crate(syntect/parsing) < 4.0.0)
|
||||
BuildRequires: (crate(syntect/yaml-load) >= 3.0.2 with crate(syntect/yaml-load) < 4.0.0)
|
||||
BuildRequires: (crate(wild/default) >= 2.0.0 with crate(wild/default) < 3.0.0)
|
||||
%if %{with check}
|
||||
BuildRequires: (crate(assert_cmd/default) >= 0.11.0 with crate(assert_cmd/default) < 0.12.0)
|
||||
BuildRequires: (crate(escargot/default) >= 0.4.0 with crate(escargot/default) < 0.5.0)
|
||||
BuildRequires: (crate(tempdir/default) >= 0.3.0 with crate(tempdir/default) < 0.4.0)
|
||||
%endif
|
||||
|
||||
%global _description \
|
||||
A cat(1) clone with wings.
|
||||
|
||||
%description %{_description}
|
||||
|
||||
%package -n %{crate}
|
||||
Summary: %{summary}
|
||||
|
||||
%description -n %{crate}
|
||||
%{summary}.
|
||||
|
||||
%files -n %{crate}
|
||||
%license LICENSE-MIT LICENSE-APACHE
|
||||
%doc README.md
|
||||
%{_bindir}/bat
|
||||
%{_mandir}/man1/bat.1*
|
||||
|
||||
%prep
|
||||
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
||||
%cargo_prep
|
||||
|
||||
%build
|
||||
%cargo_build
|
||||
|
||||
%install
|
||||
%cargo_install
|
||||
%{__install} -Dpm0644 -t %{buildroot}%{_mandir}/man1 doc/bat.1
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
%cargo_test
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Sun Feb 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.0-1
|
||||
- Update to 0.10.0
|
||||
|
||||
* Tue Dec 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-1
|
||||
- Initial package
|
Loading…
Reference in New Issue
Block a user