From 977bebcc89ad8b0f7453a9382cf2ff9368326dcb Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Wed, 22 Feb 2023 21:06:28 -0600 Subject: [PATCH] Update to 0.19.0 Signed-off-by: Michel Alexandre Salim --- .gitignore | 1 + rust-tui.spec | 28 +++++++++++++--------------- sources | 2 +- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/.gitignore b/.gitignore index ab7681d..5e3d2a2 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /tui-0.14.0.crate /tui-0.15.0.crate /tui-0.17.0.crate +/tui-0.19.0.crate diff --git a/rust-tui.spec b/rust-tui.spec index e44b316..e55f390 100644 --- a/rust-tui.spec +++ b/rust-tui.spec @@ -1,25 +1,22 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate tui -Name: rust-%{crate} -Version: 0.17.0 +Name: rust-tui +Version: 0.19.0 Release: %autorelease Summary: Library to build rich terminal user interfaces or dashboards -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/tui Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Library to build rich terminal user interfaces or dashboards.} +A library to build rich terminal user interfaces or dashboards.} %description %{_description} @@ -33,9 +30,10 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE -%doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,7 +45,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+crossterm-devel Summary: %{summary} @@ -59,7 +57,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} @@ -71,7 +69,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+termion-devel Summary: %{summary} @@ -83,7 +81,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 61c6334..97b1a05 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tui-0.17.0.crate) = 3f923ea3320ba4d5e28fb511f4dac6d903e8b80ab1a7bea0c6a8eb5223f036026893442ec15f423b8c9f866a76cde0c97a1389285be9af667a7ad35b94dd3a97 +SHA512 (tui-0.19.0.crate) = b90497d06181ca74ad0a976ed57bfd6e6495e6fc96651ee96fe9e326ebf773b6627d87cae07aec26d17800a4274624ad3e835a86c37258c51077c86e667078a8