diff --git a/.gitignore b/.gitignore index 6977189..f977ba4 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ /crossterm-0.20.0.crate /crossterm-0.22.1.crate /crossterm-0.25.0.crate +/crossterm-0.26.1.crate diff --git a/crossterm-fix-metadata-auto.diff b/crossterm-fix-metadata-auto.diff index a289d3d..8c2c2e1 100644 --- a/crossterm-fix-metadata-auto.diff +++ b/crossterm-fix-metadata-auto.diff @@ -1,6 +1,6 @@ ---- crossterm-0.25.0/Cargo.toml 1970-01-01T00:00:01+00:00 -+++ crossterm-0.25.0/Cargo.toml 1970-01-01T00:00:01+00:00 -@@ -106,12 +106,3 @@ +--- crossterm-0.26.1/Cargo.toml 1970-01-01T00:00:01+00:00 ++++ crossterm-0.26.1/Cargo.toml 2023-05-19T00:57:20.593988+00:00 +@@ -110,12 +110,3 @@ version = "0.2.3" features = ["support-v0_8"] diff --git a/rust-crossterm.spec b/rust-crossterm.spec index b235f01..faf9d14 100644 --- a/rust-crossterm.spec +++ b/rust-crossterm.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 23 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate crossterm Name: rust-crossterm -Version: 0.25.0 +Version: 0.26.1 Release: %autorelease Summary: Crossplatform terminal library for manipulating terminals @@ -18,7 +18,7 @@ Patch: crossterm-fix-metadata-auto.diff BuildRequires: rust-packaging >= 21 %global _description %{expand: -Crossplatform terminal library for manipulating terminals.} +A crossplatform terminal library for manipulating terminals.} %description %{_description} @@ -73,6 +73,18 @@ use the "event-stream" feature of the "%{crate}" crate. %files -n %{name}+event-stream-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+filedescriptor-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+filedescriptor-devel %{_description} + +This package contains library source intended for building other packages which +use the "filedescriptor" feature of the "%{crate}" crate. + +%files -n %{name}+filedescriptor-devel +%ghost %{crate_instdir}/Cargo.toml + %package -n %{name}+futures-core-devel Summary: %{summary} BuildArch: noarch @@ -97,6 +109,18 @@ use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+use-dev-tty-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+use-dev-tty-devel %{_description} + +This package contains library source intended for building other packages which +use the "use-dev-tty" feature of the "%{crate}" crate. + +%files -n %{name}+use-dev-tty-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index aaf4a97..4142c5a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (crossterm-0.25.0.crate) = fdf2b5b4bdcbc8c7dc4e8c5e0cdf68cacdb97886b52087dde1f1be9b869c00965c0cf9db64b700801b0d1274b913703ade66a92d47aa8da604121693b8701201 +SHA512 (crossterm-0.26.1.crate) = 598431aee3067c071cc2561def7055f15f5bb91c70246f975d6227bb385fe8b1aa6b59096c465a92e09c8a934bd2a6d45790edc453d5c820a96b8fae1f66e81b