|
|
@ -1,12 +1,11 @@
|
|
|
|
# Generated by rust2rpm 18
|
|
|
|
# Generated by rust2rpm 20
|
|
|
|
# * argh ^0.1 is not packaged
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_with check
|
|
|
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate tui
|
|
|
|
%global crate tui
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.15.0
|
|
|
|
Version: 0.17.0
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Library to build rich terminal user interfaces or dashboards
|
|
|
|
Summary: Library to build rich terminal user interfaces or dashboards
|
|
|
|
|
|
|
|
|
|
|
@ -16,9 +15,6 @@ URL: https://crates.io/crates/tui
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
|
|
|
@ -33,12 +29,12 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description devel %{_description}
|
|
|
|
%description devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%files devel
|
|
|
|
%license LICENSE
|
|
|
|
%license LICENSE
|
|
|
|
%doc examples README.md CHANGELOG.md
|
|
|
|
%doc CHANGELOG.md README.md
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
%package -n %{name}+default-devel
|
|
|
@ -47,8 +43,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
@ -59,8 +55,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+crossterm-devel %{_description}
|
|
|
|
%description -n %{name}+crossterm-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "crossterm" feature of "%{crate}" crate.
|
|
|
|
use the "crossterm" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+crossterm-devel
|
|
|
|
%files -n %{name}+crossterm-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
@ -71,8 +67,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+serde-devel %{_description}
|
|
|
|
%description -n %{name}+serde-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "serde" feature of "%{crate}" crate.
|
|
|
|
use the "serde" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+serde-devel
|
|
|
|
%files -n %{name}+serde-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
@ -83,8 +79,8 @@ BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+termion-devel %{_description}
|
|
|
|
%description -n %{name}+termion-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
which use "termion" feature of "%{crate}" crate.
|
|
|
|
use the "termion" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+termion-devel
|
|
|
|
%files -n %{name}+termion-devel
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
@ -104,7 +100,8 @@ which use "termion" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%cargo_test
|
|
|
|
# * skip tests that don't panic as expected in release mode
|
|
|
|
|
|
|
|
%cargo_test -- -- --skip panics_on_out_of_bounds --skip src/buffer.rs
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|