diff --git a/.gitignore b/.gitignore index 720b1fb..02ff82d 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /cursive-0.16.3.crate +/cursive-0.20.0.crate diff --git a/rust-cursive.spec b/rust-cursive.spec index c8faacc..eda673f 100644 --- a/rust-cursive.spec +++ b/rust-cursive.spec @@ -1,28 +1,19 @@ -# Generated by rust2rpm 16 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate cursive -Name: rust-%{crate} -Version: 0.16.3 +Name: rust-cursive +Version: 0.20.0 Release: %autorelease Summary: TUI (Text User Interface) library focused on ease-of-use -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/cursive Source: %{crates_source} -# Initial patched metadata -# * Bump ahash to 0.7.2 -Patch0: cursive-fix-metadata.diff -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: TUI (Text User Interface) library focused on ease-of-use.} @@ -35,11 +26,13 @@ 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 -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +# FIXME: no license files detected +%doc %{crate_instdir}/Readme.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,11 +40,23 @@ 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 +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+ansi-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+ansi-devel %{_description} + +This package contains library source intended for building other packages which +use the "ansi" feature of the "%{crate}" crate. + +%files -n %{name}+ansi-devel +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+crossterm-devel Summary: %{summary} @@ -59,11 +64,11 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+crossterm-backend-devel Summary: %{summary} @@ -71,11 +76,23 @@ BuildArch: noarch %description -n %{name}+crossterm-backend-devel %{_description} -This package contains library source intended for building other packages -which use "crossterm-backend" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "crossterm-backend" feature of the "%{crate}" crate. %files -n %{name}+crossterm-backend-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+doc-cfg-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+doc-cfg-devel %{_description} + +This package contains library source intended for building other packages which +use the "doc-cfg" feature of the "%{crate}" crate. + +%files -n %{name}+doc-cfg-devel +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+maplit-devel Summary: %{summary} @@ -83,11 +100,11 @@ BuildArch: noarch %description -n %{name}+maplit-devel %{_description} -This package contains library source intended for building other packages -which use "maplit" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "maplit" feature of the "%{crate}" crate. %files -n %{name}+maplit-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+markdown-devel Summary: %{summary} @@ -95,11 +112,11 @@ BuildArch: noarch %description -n %{name}+markdown-devel %{_description} -This package contains library source intended for building other packages -which use "markdown" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "markdown" feature of the "%{crate}" crate. %files -n %{name}+markdown-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ncurses-devel Summary: %{summary} @@ -107,11 +124,11 @@ BuildArch: noarch %description -n %{name}+ncurses-devel %{_description} -This package contains library source intended for building other packages -which use "ncurses" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "ncurses" feature of the "%{crate}" crate. %files -n %{name}+ncurses-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ncurses-backend-devel Summary: %{summary} @@ -119,11 +136,11 @@ BuildArch: noarch %description -n %{name}+ncurses-backend-devel %{_description} -This package contains library source intended for building other packages -which use "ncurses-backend" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "ncurses-backend" feature of the "%{crate}" crate. %files -n %{name}+ncurses-backend-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pancurses-devel Summary: %{summary} @@ -131,11 +148,11 @@ BuildArch: noarch %description -n %{name}+pancurses-devel %{_description} -This package contains library source intended for building other packages -which use "pancurses" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "pancurses" feature of the "%{crate}" crate. %files -n %{name}+pancurses-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pancurses-backend-devel Summary: %{summary} @@ -143,11 +160,11 @@ BuildArch: noarch %description -n %{name}+pancurses-backend-devel %{_description} -This package contains library source intended for building other packages -which use "pancurses-backend" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "pancurses-backend" feature of the "%{crate}" crate. %files -n %{name}+pancurses-backend-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+term_size-devel Summary: %{summary} @@ -155,11 +172,11 @@ BuildArch: noarch %description -n %{name}+term_size-devel %{_description} -This package contains library source intended for building other packages -which use "term_size" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "term_size" feature of the "%{crate}" crate. %files -n %{name}+term_size-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+termion-devel Summary: %{summary} @@ -167,11 +184,11 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+termion-backend-devel Summary: %{summary} @@ -179,11 +196,11 @@ BuildArch: noarch %description -n %{name}+termion-backend-devel %{_description} -This package contains library source intended for building other packages -which use "termion-backend" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "termion-backend" feature of the "%{crate}" crate. %files -n %{name}+termion-backend-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+toml-devel Summary: %{summary} @@ -191,11 +208,11 @@ BuildArch: noarch %description -n %{name}+toml-devel %{_description} -This package contains library source intended for building other packages -which use "toml" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "toml" feature of the "%{crate}" crate. %files -n %{name}+toml-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable_scroll-devel Summary: %{summary} @@ -203,11 +220,11 @@ BuildArch: noarch %description -n %{name}+unstable_scroll-devel %{_description} -This package contains library source intended for building other packages -which use "unstable_scroll" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "unstable_scroll" feature of the "%{crate}" crate. %files -n %{name}+unstable_scroll-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 similarity index 100% rename from .rust2rpm.conf rename to rust2rpm.conf diff --git a/sources b/sources index 2e5fda9..5ac80b7 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cursive-0.16.3.crate) = ba70f3bdc96886c031c854218332bc275e0a72a092f51857fa52dda166db9b03aabbdbb9a320f895772f059ddaa03f38cb510b2750f04c1ace091bd79aa7dc46 +SHA512 (cursive-0.20.0.crate) = 3a4d9a29daf882eafce2b33d3147d546e53f21afcae3c79a2d5030b3ef647a28041fd76cef0b82763b62418ac66c6337632ed1cea342796c33eeac62ef4a712f