Update to version 0.10.3; Fixes RHBZ#2030012

epel9
Fabio Valentini 3 years ago
parent d7fc27f892
commit 568ea64e82
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -1,3 +1,4 @@
/digest-0.8.0.crate /digest-0.8.0.crate
/digest-0.8.1.crate /digest-0.8.1.crate
/digest-0.9.0.crate /digest-0.9.0.crate
/digest-0.10.3.crate

@ -0,0 +1,11 @@
--- digest-0.10.3/Cargo.toml 1970-01-01T00:00:01+00:00
+++ digest-0.10.3/Cargo.toml 2022-02-16T15:49:23.908751+00:00
@@ -36,7 +36,7 @@
version = "0.1.3"
[dependencies.subtle]
-version = "=2.4"
+version = "2.4"
optional = true
default-features = false

@ -1,11 +1,11 @@
# Generated by rust2rpm 15 # Generated by rust2rpm 20
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate digest %global crate digest
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.9.0 Version: 0.10.3
Release: %autorelease Release: %autorelease
Summary: Traits for cryptographic hash functions Summary: Traits for cryptographic hash functions
@ -13,11 +13,11 @@ Summary: Traits for cryptographic hash functions
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/digest URL: https://crates.io/crates/digest
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata
# * relax subtle dependency
Patch0: digest-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
@ -32,12 +32,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-MIT LICENSE-APACHE %license LICENSE-APACHE LICENSE-MIT
%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
@ -46,8 +46,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
@ -58,8 +58,8 @@ BuildArch: noarch
%description -n %{name}+alloc-devel %{_description} %description -n %{name}+alloc-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 "alloc" feature of "%{crate}" crate. use the "alloc" feature of the "%{crate}" crate.
%files -n %{name}+alloc-devel %files -n %{name}+alloc-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -70,36 +70,96 @@ BuildArch: noarch
%description -n %{name}+blobby-devel %{_description} %description -n %{name}+blobby-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 "blobby" feature of "%{crate}" crate. use the "blobby" feature of the "%{crate}" crate.
%files -n %{name}+blobby-devel %files -n %{name}+blobby-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+block-buffer-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+block-buffer-devel %{_description}
This package contains library source intended for building other packages which
use the "block-buffer" feature of the "%{crate}" crate.
%files -n %{name}+block-buffer-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+core-api-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+core-api-devel %{_description}
This package contains library source intended for building other packages which
use the "core-api" feature of the "%{crate}" crate.
%files -n %{name}+core-api-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+dev-devel %package -n %{name}+dev-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+dev-devel %{_description} %description -n %{name}+dev-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 "dev" feature of "%{crate}" crate. use the "dev" feature of the "%{crate}" crate.
%files -n %{name}+dev-devel %files -n %{name}+dev-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+mac-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+mac-devel %{_description}
This package contains library source intended for building other packages which
use the "mac" feature of the "%{crate}" crate.
%files -n %{name}+mac-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+rand_core-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rand_core-devel %{_description}
This package contains library source intended for building other packages which
use the "rand_core" feature of the "%{crate}" crate.
%files -n %{name}+rand_core-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
%description -n %{name}+std-devel %{_description} %description -n %{name}+std-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 "std" feature of "%{crate}" crate. use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+subtle-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+subtle-devel %{_description}
This package contains library source intended for building other packages which
use the "subtle" feature of the "%{crate}" crate.
%files -n %{name}+subtle-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep

@ -1 +1 @@
SHA512 (digest-0.9.0.crate) = 8637a322c429f51ecb0fa4c3b58fabef01368c1a093492fad65f48eeeec2366fd1b7876e6e47723e089ec5ce11f881bfe4dcebdc605811252b797db027746a45 SHA512 (digest-0.10.3.crate) = bfc9b24e4a6e3df91669a36f8ddcdcfb643e22b3102a200d56bbe88d94e8f1f1e52f5ac29f06253913fbd977b149a3e775c95175b93950340946152f6525803e

Loading…
Cancel
Save