Update to version 0.3.2; Fixes RHBZ#2186972

epel9 imports/e9/rust-rand_hc-0.3.2-1.el9
Fabio Valentini 2 years ago
parent ecbdf90059
commit 93477d98d2
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -2,3 +2,4 @@
/rand_hc-0.2.0.crate /rand_hc-0.2.0.crate
/rand_hc-0.3.0.crate /rand_hc-0.3.0.crate
/rand_hc-0.3.1.crate /rand_hc-0.3.1.crate
/rand_hc-0.3.2.crate

@ -1,3 +0,0 @@
# rust-rand_hc
The rust-rand_hc package

@ -1,25 +1,19 @@
# Generated by rust2rpm 19 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate rand_hc %global crate rand_hc
Name: rust-%{crate} Name: rust-rand_hc
Version: 0.3.1 Version: 0.3.2
Release: %autorelease Release: %autorelease
Summary: HC128 random number generator Summary: HC128 random number generator
# Upstream license specification: MIT OR Apache-2.0 License: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/rand_hc URL: https://crates.io/crates/rand_hc
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
HC128 random number generator.} HC128 random number generator.}
@ -33,12 +27,15 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license COPYRIGHT LICENSE-APACHE LICENSE-MIT %license %{crate_instdir}/COPYRIGHT
%doc CHANGELOG.md README.md %license %{crate_instdir}/LICENSE-APACHE
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %license %{crate_instdir}/LICENSE-MIT
%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}
@ -47,10 +44,10 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages which This package contains library source intended for building other packages which
use "the default" feature of the "%{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
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (rand_hc-0.3.1.crate) = 582bb44b81c27e698eb57c6f06444b8a7c9d3f7ee73f4e14be8004c4bfd3bbfd9795c69f7294b5e87107e86b90fa3e91ad080964474af81c92705d356e43fbb5 SHA512 (rand_hc-0.3.2.crate) = d2be113e3c409d6e799253df0aceb2f58ea42a0b322cecbb374b14fbdc32230beb64175b1d1d073996abb80a83b118288edbdd1d111ee227da51d7e83fb58252

Loading…
Cancel
Save