Update to 0.6.0

This commit is contained in:
Josh Stone 2019-11-22 16:57:38 -08:00
parent 205982ba5e
commit 1ebd9be722
3 changed files with 45 additions and 16 deletions

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
/hexyl-0.4.0.crate
/hexyl-0.5.0.crate
/hexyl-0.5.1.crate
/hexyl-0.6.0.crate

View File

@ -1,12 +1,11 @@
# Generated by rust2rpm
# Generated by rust2rpm-9-1.fc30
# Generated by rust2rpm 10
%bcond_without check
%global crate hexyl
Name: rust-%{crate}
Version: 0.5.1
Release: 2%{?dist}
Version: 0.6.0
Release: 1%{?dist}
Summary: A command-line hex viewer
# Upstream license specification: MIT/Apache-2.0
@ -15,23 +14,20 @@ URL: https://crates.io/crates/hexyl
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: (crate(ansi_term/default) >= 0.11.0 with crate(ansi_term/default) < 0.12.0)
BuildRequires: (crate(atty/default) >= 0.2.0 with crate(atty/default) < 0.3.0)
BuildRequires: (crate(clap/color) >= 2.0.0 with crate(clap/color) < 3.0.0)
BuildRequires: (crate(clap/default) >= 2.0.0 with crate(clap/default) < 3.0.0)
BuildRequires: (crate(clap/suggestions) >= 2.0.0 with crate(clap/suggestions) < 3.0.0)
BuildRequires: (crate(clap/wrap_help) >= 2.0.0 with crate(clap/wrap_help) < 3.0.0)
BuildRequires: (crate(ctrlc/default) >= 3.1.0 with crate(ctrlc/default) < 4.0.0)
%global _description \
`hexyl` is a simple hex viewer for the terminal. It uses a colored output to\
distinguish different categories of bytes (NUL bytes, printable ASCII\
characters, ASCII whitespace characters, other ASCII characters and non-ASCII).
%global _description %{expand:
`hexyl` is a simple hex viewer for the terminal. It uses a colored output to
distinguish different categories of bytes (NUL bytes, printable ASCII
characters, ASCII whitespace characters, other ASCII characters and non-ASCII).}
%description %{_description}
%if ! %{__cargo_skip_build}
%package -n %{crate}
Summary: %{summary}
@ -41,11 +37,40 @@ Summary: %{summary}
%license LICENSE-APACHE LICENSE-MIT
%doc README.md
%{_bindir}/hexyl
%endif
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%doc README.md
%{cargo_registry}/%{crate}-%{version}/
%package -n %{name}+default-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
@ -58,6 +83,9 @@ Summary: %{summary}
%endif
%changelog
* Sat Nov 23 2019 Josh Stone <jistone@redhat.com> - 0.6.0-1
- Update to 0.6.0
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (hexyl-0.5.1.crate) = bcc04b1a87eac49acd07273b7d8171425e8d1e0cdcc473c7949bd933186a27f238221a7ddc44ed45d4a997d2834ff4d6fb91afe302d738f9cc1d67437b9730ec
SHA512 (hexyl-0.6.0.crate) = 7c1089e212856fdb17f557842523f85d473b7aa565b500938bca64389d6413bc0f1abce429e003fa9748f1a1669682a9b6fd26933d3d00c8e061edf3bc50ef42