diff --git a/.gitignore b/.gitignore index 81f810f..90e940e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -/yansi-0.5.1.crate +/yansi-1.0.1.crate diff --git a/rust-yansi.spec b/rust-yansi.spec index 78b4751..b6e0531 100644 --- a/rust-yansi.spec +++ b/rust-yansi.spec @@ -1,20 +1,19 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate yansi Name: rust-yansi -Version: 0.5.1 +Version: 1.0.1 Release: %autorelease Summary: Dead simple ANSI terminal color painting library -# Upstream license specification: MIT/Apache-2.0 License: MIT OR Apache-2.0 URL: https://crates.io/crates/yansi Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A dead simple ANSI terminal color painting library.} @@ -48,6 +47,78 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+detect-env-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+detect-env-devel %{_description} + +This package contains library source intended for building other packages which +use the "detect-env" feature of the "%{crate}" crate. + +%files -n %{name}+detect-env-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+detect-tty-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+detect-tty-devel %{_description} + +This package contains library source intended for building other packages which +use the "detect-tty" feature of the "%{crate}" crate. + +%files -n %{name}+detect-tty-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+hyperlink-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+hyperlink-devel %{_description} + +This package contains library source intended for building other packages which +use the "hyperlink" feature of the "%{crate}" crate. + +%files -n %{name}+hyperlink-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+is-terminal-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+is-terminal-devel %{_description} + +This package contains library source intended for building other packages which +use the "is-terminal" feature of the "%{crate}" crate. + +%files -n %{name}+is-terminal-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages which +use the "std" feature of the "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{crate_instdir}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..a8b5857 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,2 @@ +[features] +hide = ["_nightly"] diff --git a/sources b/sources index b04c31a..678ec9c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (yansi-0.5.1.crate) = 7b33005a066cc612408a65df6533e8718d1de43efc0fd57416a19dc2b811497570e6e18f100fb26073565e395e711518c27de7d644ae64777713f1a102eb16d2 +SHA512 (yansi-1.0.1.crate) = 182c8c6c60a30a727d8f8b90bbf0527d91fa8ae9d8eb20e5414614b43ee6dc532f4b19241adbfb9299cb0004b39fe627036269b60b0c3860d9e1ea4413aca541