diff --git a/.gitignore b/.gitignore index a0e26da..6e54667 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /ansi_colours-1.0.2.crate /ansi_colours-1.0.3.crate /ansi_colours-1.0.4.crate +/ansi_colours-1.1.1.crate diff --git a/rust-ansi_colours.spec b/rust-ansi_colours.spec index a72b0ba..4eb2fae 100644 --- a/rust-ansi_colours.spec +++ b/rust-ansi_colours.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 18 -# * empfindung is not packaged yet +# Generated by rust2rpm 20 +# * missing dev-dependency: empfindung %bcond_with check %global debug_package %{nil} %global crate ansi_colours Name: rust-%{crate} -Version: 1.0.4 +Version: 1.1.1 Release: %autorelease Summary: True-colour ↔ ANSI terminal palette converter @@ -16,9 +16,6 @@ URL: https://crates.io/crates/ansi_colours Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -33,12 +30,12 @@ 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 %license LICENSE -%doc examples README.md +%doc README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -47,12 +44,24 @@ 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 +%package -n %{name}+rgb-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rgb-devel %{_description} + +This package contains library source intended for building other packages which +use the "rgb" feature of the "%{crate}" crate. + +%files -n %{name}+rgb-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep diff --git a/sources b/sources index 3055462..395b392 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ansi_colours-1.0.4.crate) = 36eef5c4c84f7f8bf3adb65eca5d7d2da48190c127cd76b78b7bb035cf98afbf2534b82bb293cc1e472eaeb08d541fe28a87b99ebd53dbae8a50026898b043b3 +SHA512 (ansi_colours-1.1.1.crate) = eee698867adee7e4fe5d14885f91f9d71aa58db06d795dd0f03a8d4c99f6f39dcb11d3871dd2b8f019c443fbdd880888df1e0869202cbb8bde79fe20d60c1c57