From 57b96cd40e98535024b0ff3c42a8217b91c2aeec Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Thu, 16 Feb 2023 16:52:48 -0600 Subject: [PATCH] Update to 3.5.0 Signed-off-by: Michel Alexandre Salim --- .gitignore | 2 +- rust-owo-colors.spec | 26 ++++++++++++++++---------- sources | 3 +-- 3 files changed, 18 insertions(+), 13 deletions(-) diff --git a/.gitignore b/.gitignore index 7790292..658a22c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ /owo-colors-3.3.0.crate -/owo-colors-LICENSE +/owo-colors-3.5.0.crate diff --git a/rust-owo-colors.spec b/rust-owo-colors.spec index 4035aa9..458e1d8 100644 --- a/rust-owo-colors.spec +++ b/rust-owo-colors.spec @@ -1,22 +1,17 @@ -# Generated by rust2rpm 21 +# Generated by rust2rpm 23 %bcond_without check %global debug_package %{nil} %global crate owo-colors -Name: rust-%{crate} -Version: 3.3.0 +Name: rust-owo-colors +Version: 3.5.0 Release: %autorelease Summary: Zero-allocation terminal colors that'll make people go owo -# Upstream license specification: MIT License: MIT URL: https://crates.io/crates/owo-colors Source: %{crates_source} -# https://github.com/jam1garner/owo-colors/issues/52 -Source1: https://raw.githubusercontent.com/michel-slm/owo-colors/add-license/LICENSE#/%{crate}-LICENSE - -ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21 @@ -35,7 +30,7 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE +%license %{crate_instdir}/LICENSE %doc %{crate_instdir}/README.md %{crate_instdir}/ @@ -51,6 +46,18 @@ 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}+supports-color-devel Summary: %{summary} BuildArch: noarch @@ -78,7 +85,6 @@ use the "supports-colors" feature of the "%{crate}" crate. %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep -cp -p %{SOURCE1} LICENSE %generate_buildrequires %cargo_generate_buildrequires diff --git a/sources b/sources index 4664cd0..8a9d9ea 100644 --- a/sources +++ b/sources @@ -1,2 +1 @@ -SHA512 (owo-colors-3.3.0.crate) = 177b23fe7c665da52b489f274d013b3d52cf126af6cf185cd842658ac3dbf1bcbe9a9b341870e3f7ad978270fb78cb302f7e7a28e83be84105e76b6d357234fe -SHA512 (owo-colors-LICENSE) = 7eaf3cd0cde8d8d58c7eab5c11207d3b790f9322353fb04aa74d50b350670ce79cb33d41541fd745134abbc52378fce3ce763de5fa7f8a11ef81480c2213779b +SHA512 (owo-colors-3.5.0.crate) = 1718f03d9f3296ffe3145161e038ebdb8dc40b69c0e2cb80a51866b519cf857b6573aedb7704895401e10cea11ca422a384c3594b8762be29eaa90908e24f7aa