Update to version 0.5.0; Fixes RHBZ#2112706

epel9 imports/e9/rust-ghash-0.5.0-1.el9
David Michael 2 years ago
parent b280114024
commit 84133b698f

@ -1,11 +0,0 @@
--- ghash-0.4.4/Cargo.toml 1970-01-01T00:00:01+00:00
+++ ghash-0.4.4/Cargo.toml 2021-09-29T16:02:31.940725+00:00
@@ -29,7 +29,7 @@
version = "0.5.1"
[dependencies.zeroize]
-version = ">=1, <1.4"
+version = "1"
optional = true
default-features = false
[dev-dependencies.hex-literal]

@ -1,32 +1,24 @@
# Generated by rust2rpm 18 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate ghash %global crate ghash
Name: rust-%{crate} Name: rust-ghash
Version: 0.4.4 Version: 0.5.0
Release: %autorelease Release: %autorelease
Summary: Universal hash over GF(2^128) useful for the AES-GCM cipher Summary: Universal hash over GF(2^128) useful for the AES-GCM cipher
# 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/ghash URL: https://crates.io/crates/ghash
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata
# * relax zeroize dependency
Patch0: ghash-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:
Universal hash over GF(2^128) useful for constructing a Message Authentication Universal hash over GF(2^128) useful for constructing a Message
Code (MAC), as in the AES-GCM authenticated encryption cipher.} Authentication Code (MAC), as in the AES-GCM authenticated encryption
cipher.}
%description %{_description} %description %{_description}
@ -36,13 +28,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 +44,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 +56,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 +68,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 (ghash-0.4.4.crate) = b18c8a1e4ad2aeaac586381fb14746f7556a44985b64f00e8ac82ad586a91487b1b3ac37f910b7cffb8ccc65e2b05fa589025d855a63c78bfc39157bef7a2d18 SHA512 (ghash-0.5.0.crate) = 82a380882e051ba574a8159133a4c9e9f5e229780075f4dcdfa38acf47a5632831a08f9cf35b78d8f73d6d7381b8be9454b2f069171849795170844fe67458dd

Loading…
Cancel
Save