Update to version 2.1.0; Fixes RHBZ#2003345

epel9
Fabio Valentini 3 years ago
parent 7c03b6fc32
commit 282c4b0035
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -2,3 +2,4 @@
/*.src.rpm /*.src.rpm
/similar-1.3.0.crate /similar-1.3.0.crate
/similar-2.1.0.crate

@ -1,4 +1,4 @@
# Generated by rust2rpm 18 # Generated by rust2rpm 20
# * resolve circular dependency with insta # * resolve circular dependency with insta
%bcond_with check %bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
@ -6,7 +6,7 @@
%global crate similar %global crate similar
Name: rust-%{crate} Name: rust-%{crate}
Version: 1.3.0 Version: 2.1.0
Release: %autorelease Release: %autorelease
Summary: Diff library for Rust Summary: Diff library for Rust
@ -16,9 +16,6 @@ URL: https://crates.io/crates/similar
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
@ -33,12 +30,12 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE %license LICENSE
%doc README.md CHANGELOG.md %doc CHANGELOG.md README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
@ -47,8 +44,8 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -59,8 +56,8 @@ BuildArch: noarch
%description -n %{name}+bstr-devel %{_description} %description -n %{name}+bstr-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "bstr" feature of "%{crate}" crate. use the "bstr" feature of the "%{crate}" crate.
%files -n %{name}+bstr-devel %files -n %{name}+bstr-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -71,8 +68,8 @@ BuildArch: noarch
%description -n %{name}+bytes-devel %{_description} %description -n %{name}+bytes-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "bytes" feature of "%{crate}" crate. use the "bytes" feature of the "%{crate}" crate.
%files -n %{name}+bytes-devel %files -n %{name}+bytes-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -83,20 +80,32 @@ BuildArch: noarch
%description -n %{name}+inline-devel %{_description} %description -n %{name}+inline-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "inline" feature of "%{crate}" crate. use the "inline" feature of the "%{crate}" crate.
%files -n %{name}+inline-devel %files -n %{name}+inline-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %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 %package -n %{name}+text-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+text-devel %{_description} %description -n %{name}+text-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "text" feature of "%{crate}" crate. use the "text" feature of the "%{crate}" crate.
%files -n %{name}+text-devel %files -n %{name}+text-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -107,8 +116,8 @@ BuildArch: noarch
%description -n %{name}+unicode-devel %{_description} %description -n %{name}+unicode-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "unicode" feature of "%{crate}" crate. use the "unicode" feature of the "%{crate}" crate.
%files -n %{name}+unicode-devel %files -n %{name}+unicode-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -119,8 +128,8 @@ BuildArch: noarch
%description -n %{name}+unicode-segmentation-devel %{_description} %description -n %{name}+unicode-segmentation-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "unicode-segmentation" feature of "%{crate}" crate. use the "unicode-segmentation" feature of the "%{crate}" crate.
%files -n %{name}+unicode-segmentation-devel %files -n %{name}+unicode-segmentation-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml

@ -1 +1 @@
SHA512 (similar-1.3.0.crate) = b1dac43732b05955af980df887e77f3b9429e8890f8bb85ea1ae91853f109c0e02ce5fba73d33219030e153da22cfa597aa96240cbb6cc543ba57881b9fa7948 SHA512 (similar-2.1.0.crate) = 5e19ea40e22fef17b08651ddcbe7cc2a9763c5ed104a1f3bb7a288e061df56f56248b5e82f65e697defccbe9ca4d338752cecceb2d0f3e7712fe7318ba299604

Loading…
Cancel
Save