diff --git a/.gitignore b/.gitignore index c3eaf97..ab7681d 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /tui-0.13.0.crate /tui-0.14.0.crate /tui-0.15.0.crate +/tui-0.17.0.crate diff --git a/.rust2rpm.conf b/.rust2rpm.conf deleted file mode 100644 index e1c2abe..0000000 --- a/.rust2rpm.conf +++ /dev/null @@ -1,6 +0,0 @@ -[DEFAULT] -unwanted-features = - curses - easycurses - pancurses - rustbox diff --git a/rust-tui.spec b/rust-tui.spec index a8874f2..e44b316 100644 --- a/rust-tui.spec +++ b/rust-tui.spec @@ -1,12 +1,11 @@ -# Generated by rust2rpm 18 -# * argh ^0.1 is not packaged -%bcond_with check +# Generated by rust2rpm 20 +%bcond_without check %global debug_package %{nil} %global crate tui Name: rust-%{crate} -Version: 0.15.0 +Version: 0.17.0 Release: %autorelease Summary: Library to build rich terminal user interfaces or dashboards @@ -16,9 +15,6 @@ URL: https://crates.io/crates/tui Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -33,12 +29,12 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel %license LICENSE -%doc examples README.md CHANGELOG.md +%doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -47,8 +43,8 @@ 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. +This package contains library source intended for building other packages which +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -59,8 +55,8 @@ BuildArch: noarch %description -n %{name}+crossterm-devel %{_description} -This package contains library source intended for building other packages -which use "crossterm" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "crossterm" feature of the "%{crate}" crate. %files -n %{name}+crossterm-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -71,8 +67,8 @@ BuildArch: noarch %description -n %{name}+serde-devel %{_description} -This package contains library source intended for building other packages -which use "serde" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -83,8 +79,8 @@ BuildArch: noarch %description -n %{name}+termion-devel %{_description} -This package contains library source intended for building other packages -which use "termion" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "termion" feature of the "%{crate}" crate. %files -n %{name}+termion-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -104,7 +100,8 @@ which use "termion" feature of "%{crate}" crate. %if %{with 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 %changelog diff --git a/sources b/sources index d484264..61c6334 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tui-0.15.0.crate) = 2df5234f369d0ebb9724d63399a8c88a26dff878e7b618bd7697cc1e60a61098119c7f8845ed469486156c25998d8211d93fab8d9b5c10292cb637604adfd3b6 +SHA512 (tui-0.17.0.crate) = 3f923ea3320ba4d5e28fb511f4dac6d903e8b80ab1a7bea0c6a8eb5223f036026893442ec15f423b8c9f866a76cde0c97a1389285be9af667a7ad35b94dd3a97