diff --git a/.gitignore b/.gitignore index a342f29..9f3fe30 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /tui-react-0.14.0.crate /tui-react-0.15.0.crate /tui-react-0.17.0.crate +/tui-react-0.19.0.crate diff --git a/README.md b/README.md deleted file mode 100644 index 41d5e0a..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-tui-react - -The rust-tui-react package \ No newline at end of file diff --git a/rust-tui-react.spec b/rust-tui-react.spec index 3c14518..ba68438 100644 --- a/rust-tui-react.spec +++ b/rust-tui-react.spec @@ -1,26 +1,23 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate tui-react -Name: rust-%{crate} -Version: 0.17.0 +Name: rust-tui-react +Version: 0.19.0 Release: %autorelease Summary: TUI widgets using a react-like paradigm -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/tui-react Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -TUI widgets using a react-like paradigm, allowing mutable component state and -render properties.} +TUI widgets using a react-like paradigm, allowing mutable component +state and render properties.} %description %{_description} @@ -34,9 +31,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} @@ -48,7 +46,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/rust2rpm.conf b/rust2rpm.conf new file mode 100644 index 0000000..f96e86a --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,2 @@ +[DEFAULT] +summary = TUI widgets using a react-like paradigm diff --git a/sources b/sources index 5a7ccff..de98419 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tui-react-0.17.0.crate) = 24ecd7366092b30df23f6e62c9b65454a592db75e6337722bece5a055c9c564ba8977d6afe8c2738e94643cdebfcc3cd8de12dedff1c973523938291ae5c06f4 +SHA512 (tui-react-0.19.0.crate) = 034480dc81d2252e1f01fffd98be619629fe84fa6701e0b7135f02fe3958e41e844e5e23a1c58c70470934261a08bc6bb03679049468ea7e42f7afa6c15e7312