diff --git a/.gitignore b/.gitignore index a0e5187..b607888 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ /*.src.rpm /similar-1.3.0.crate +/similar-2.1.0.crate diff --git a/rust-similar.spec b/rust-similar.spec index fa3f088..b070735 100644 --- a/rust-similar.spec +++ b/rust-similar.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 # * resolve circular dependency with insta %bcond_with check %global debug_package %{nil} @@ -6,7 +6,7 @@ %global crate similar Name: rust-%{crate} -Version: 1.3.0 +Version: 2.1.0 Release: %autorelease Summary: Diff library for Rust @@ -16,9 +16,6 @@ URL: https://crates.io/crates/similar 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 README.md CHANGELOG.md +%doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -47,8 +44,8 @@ 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 @@ -59,8 +56,8 @@ BuildArch: noarch %description -n %{name}+bstr-devel %{_description} -This package contains library source intended for building other packages -which use "bstr" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "bstr" feature of the "%{crate}" crate. %files -n %{name}+bstr-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -71,8 +68,8 @@ BuildArch: noarch %description -n %{name}+bytes-devel %{_description} -This package contains library source intended for building other packages -which use "bytes" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "bytes" feature of the "%{crate}" crate. %files -n %{name}+bytes-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -83,20 +80,32 @@ BuildArch: noarch %description -n %{name}+inline-devel %{_description} -This package contains library source intended for building other packages -which use "inline" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "inline" feature of the "%{crate}" crate. %files -n %{name}+inline-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+serde-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+serde-devel %{_description} + +This package contains library source intended for building other packages which +use the "serde" feature of the "%{crate}" crate. + +%files -n %{name}+serde-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+text-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+text-devel %{_description} -This package contains library source intended for building other packages -which use "text" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "text" feature of the "%{crate}" crate. %files -n %{name}+text-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -107,8 +116,8 @@ BuildArch: noarch %description -n %{name}+unicode-devel %{_description} -This package contains library source intended for building other packages -which use "unicode" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "unicode" feature of the "%{crate}" crate. %files -n %{name}+unicode-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -119,8 +128,8 @@ BuildArch: noarch %description -n %{name}+unicode-segmentation-devel %{_description} -This package contains library source intended for building other packages -which use "unicode-segmentation" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "unicode-segmentation" feature of the "%{crate}" crate. %files -n %{name}+unicode-segmentation-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml diff --git a/sources b/sources index 9ab78b5..74a4145 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (similar-1.3.0.crate) = b1dac43732b05955af980df887e77f3b9429e8890f8bb85ea1ae91853f109c0e02ce5fba73d33219030e153da22cfa597aa96240cbb6cc543ba57881b9fa7948 +SHA512 (similar-2.1.0.crate) = 5e19ea40e22fef17b08651ddcbe7cc2a9763c5ed104a1f3bb7a288e061df56f56248b5e82f65e697defccbe9ca4d338752cecceb2d0f3e7712fe7318ba299604