diff --git a/README.md b/README.md deleted file mode 100644 index dc10d54..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-crosstermion - -The rust-crosstermion package diff --git a/rust-crosstermion.spec b/rust-crosstermion.spec index b6e4add..6bf70bb 100644 --- a/rust-crosstermion.spec +++ b/rust-crosstermion.spec @@ -1,26 +1,23 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate crosstermion -Name: rust-%{crate} +Name: rust-crosstermion Version: 0.9.0 Release: %autorelease Summary: Unification of crossterm and termion behind a common facade for use with feature flags -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/crosstermion Source: %{crates_source} -ExclusiveArch: %{rust_arches} - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Unification of crossterm and termion behind a common facade for use with -feature flags.} +The unification of crossterm and termion behind a common facade for use +with feature flags.} %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.md -%doc CHANGELOG.md README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE.md +%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 %package -n %{name}+ansi_term-devel Summary: %{summary} @@ -60,7 +58,7 @@ This package contains library source intended for building other packages which use the "ansi_term" feature of the "%{crate}" crate. %files -n %{name}+ansi_term-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-channel-devel Summary: %{summary} @@ -72,7 +70,7 @@ This package contains library source intended for building other packages which use the "async-channel" feature of the "%{crate}" crate. %files -n %{name}+async-channel-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+color-devel Summary: %{summary} @@ -84,7 +82,7 @@ This package contains library source intended for building other packages which use the "color" feature of the "%{crate}" crate. %files -n %{name}+color-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+crossterm-devel Summary: %{summary} @@ -96,7 +94,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}+futures-channel-devel Summary: %{summary} @@ -108,7 +106,7 @@ This package contains library source intended for building other packages which use the "futures-channel" feature of the "%{crate}" crate. %files -n %{name}+futures-channel-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-core-devel Summary: %{summary} @@ -120,7 +118,7 @@ This package contains library source intended for building other packages which use the "futures-core" feature of the "%{crate}" crate. %files -n %{name}+futures-core-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+futures-lite-devel Summary: %{summary} @@ -132,7 +130,7 @@ This package contains library source intended for building other packages which use the "futures-lite" feature of the "%{crate}" crate. %files -n %{name}+futures-lite-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+input-async-devel Summary: %{summary} @@ -144,7 +142,7 @@ This package contains library source intended for building other packages which use the "input-async" feature of the "%{crate}" crate. %files -n %{name}+input-async-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+input-async-crossterm-devel Summary: %{summary} @@ -156,7 +154,7 @@ This package contains library source intended for building other packages which use the "input-async-crossterm" feature of the "%{crate}" crate. %files -n %{name}+input-async-crossterm-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+termion-devel Summary: %{summary} @@ -168,7 +166,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 %package -n %{name}+tui-devel Summary: %{summary} @@ -180,7 +178,7 @@ This package contains library source intended for building other packages which use the "tui" feature of the "%{crate}" crate. %files -n %{name}+tui-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tui-crossterm-devel Summary: %{summary} @@ -192,7 +190,7 @@ This package contains library source intended for building other packages which use the "tui-crossterm" feature of the "%{crate}" crate. %files -n %{name}+tui-crossterm-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tui-crossterm-backend-devel Summary: %{summary} @@ -204,7 +202,7 @@ This package contains library source intended for building other packages which use the "tui-crossterm-backend" feature of the "%{crate}" crate. %files -n %{name}+tui-crossterm-backend-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tui-react-devel Summary: %{summary} @@ -216,7 +214,7 @@ This package contains library source intended for building other packages which use the "tui-react" feature of the "%{crate}" crate. %files -n %{name}+tui-react-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tui-react-crossterm-devel Summary: %{summary} @@ -228,7 +226,7 @@ This package contains library source intended for building other packages which use the "tui-react-crossterm" feature of the "%{crate}" crate. %files -n %{name}+tui-react-crossterm-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tui-react-termion-devel Summary: %{summary} @@ -240,7 +238,7 @@ This package contains library source intended for building other packages which use the "tui-react-termion" feature of the "%{crate}" crate. %files -n %{name}+tui-react-termion-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tui-termion-devel Summary: %{summary} @@ -252,7 +250,7 @@ This package contains library source intended for building other packages which use the "tui-termion" feature of the "%{crate}" crate. %files -n %{name}+tui-termion-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tui-termion-backend-devel Summary: %{summary} @@ -264,7 +262,7 @@ This package contains library source intended for building other packages which use the "tui-termion-backend" feature of the "%{crate}" crate. %files -n %{name}+tui-termion-backend-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1