Update to version 0.6.0; Fixes RHBZ#2112718

epel9
David Michael 2 years ago
parent 20a8899b4d
commit af222c5aa0

@ -1,11 +0,0 @@
--- polyval-0.5.3/Cargo.toml 1970-01-01T00:00:01+00:00
+++ polyval-0.5.3/Cargo.toml 2021-09-29T15:52:18.650609+00:00
@@ -35,7 +35,7 @@
default-features = false
[dependencies.zeroize]
-version = ">=1, <1.4"
+version = "1"
optional = true
default-features = false
[dev-dependencies.hex-literal]

@ -1,32 +1,23 @@
# Generated by rust2rpm 18 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate polyval %global crate polyval
Name: rust-%{crate} Name: rust-polyval
Version: 0.5.3 Version: 0.6.0
Release: %autorelease Release: %autorelease
Summary: GHASH-like universal hash over GF(2^128) Summary: GHASH-like universal hash over GF(2^128)
# Upstream license specification: Apache-2.0 OR MIT License: Apache-2.0 OR MIT
License: ASL 2.0 or MIT
URL: https://crates.io/crates/polyval URL: https://crates.io/crates/polyval
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata
# * relax zeroize dependency
Patch0: polyval-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
GHASH-like universal hash over GF(2^128) useful for constructing a Message POLYVAL is a GHASH-like universal hash over GF(2^128) useful for
Authentication Code (MAC).} constructing a Message Authentication Code (MAC).}
%description %{_description} %description %{_description}
@ -36,13 +27,15 @@ 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-APACHE LICENSE-MIT %license %{crate_instdir}/LICENSE-APACHE
%doc README.md CHANGELOG.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -50,35 +43,11 @@ 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 %{crate_instdir}/Cargo.toml
%package -n %{name}+armv8-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+armv8-devel %{_description}
This package contains library source intended for building other packages
which use "armv8" feature of "%{crate}" crate.
%files -n %{name}+armv8-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+force-soft-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+force-soft-devel %{_description}
This package contains library source intended for building other packages
which use "force-soft" feature of "%{crate}" crate.
%files -n %{name}+force-soft-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -86,11 +55,11 @@ 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 %{crate_instdir}/Cargo.toml
%package -n %{name}+zeroize-devel %package -n %{name}+zeroize-devel
Summary: %{summary} Summary: %{summary}
@ -98,11 +67,11 @@ BuildArch: noarch
%description -n %{name}+zeroize-devel %{_description} %description -n %{name}+zeroize-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 "zeroize" feature of "%{crate}" crate. use the "zeroize" feature of the "%{crate}" crate.
%files -n %{name}+zeroize-devel %files -n %{name}+zeroize-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (polyval-0.5.3.crate) = 88a4f6c144836acbf99829d89a4bed4c02e7ee61d3cffc71604e6185f0bcb79270ddbbd67df6d1c4c586e54c846933234b8bedc1919c6720f664fe1f20291566 SHA512 (polyval-0.6.0.crate) = 88c32735b19ae20615e0a278549bf8d5c57f9eb93675230d96bb5870e32a06c26fccac1808d347d06bd95a3c80ccdc6ad7385993e3fbbdd01a20d1073b8a361c

Loading…
Cancel
Save