Update to 2.0.0 (close RHBZ#2292871)

epel10
Benjamin A. Beasley 7 months ago
parent f83431b7ba
commit 86b085717d

1
.gitignore vendored

@ -1,2 +1,3 @@
/rustc-hash-1.0.1.crate /rustc-hash-1.0.1.crate
/rustc-hash-1.1.0.crate /rustc-hash-1.1.0.crate
/rustc-hash-2.0.0.crate

@ -1,23 +1,23 @@
# Generated by rust2rpm 24 # Generated by rust2rpm 26
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate rustc-hash %global crate rustc-hash
Name: rust-rustc-hash Name: rust-rustc-hash
Version: 1.1.0 Version: 2.0.0
Release: %autorelease Release: %autorelease
Summary: Speed, non-cryptographic hash used in rustc Summary: Speedy, non-cryptographic hashing algorithm used by rustc
# Upstream license specification: Apache-2.0/MIT # Upstream license specification: Apache-2.0/MIT
License: Apache-2.0 OR MIT License: Apache-2.0 OR MIT
URL: https://crates.io/crates/rustc-hash URL: https://crates.io/crates/rustc-hash
Source: %{crates_source} Source: %{crates_source}
BuildRequires: rust-packaging >= 21 BuildRequires: cargo-rpm-macros >= 24
%global _description %{expand: %global _description %{expand:
Speed, non-cryptographic hash used in rustc.} A speedy, non-cryptographic hashing algorithm used by rustc.}
%description %{_description} %description %{_description}
@ -33,6 +33,7 @@ use the "%{crate}" crate.
%files devel %files devel
%license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT %license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/CODE_OF_CONDUCT.md %doc %{crate_instdir}/CODE_OF_CONDUCT.md
%doc %{crate_instdir}/README.md %doc %{crate_instdir}/README.md
%{crate_instdir}/ %{crate_instdir}/
@ -49,6 +50,18 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rand-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+rand-devel %{_description}
This package contains library source intended for building other packages which
use the "rand" feature of the "%{crate}" crate.
%files -n %{name}+rand-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
BuildArch: noarch BuildArch: noarch
@ -62,7 +75,7 @@ use the "std" feature of the "%{crate}" crate.
%ghost %{crate_instdir}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -0,0 +1,4 @@
[features]
hide = [
"nightly",
]

@ -1 +1 @@
SHA512 (rustc-hash-1.1.0.crate) = 84e673ea9b046f7b989d47f2c4505557fbd5de991e6fc9f56a03605d40e0b4ba5427cd566954890153cc033ccbec6c984306634571935bfe0d4cdfbe56f39544 SHA512 (rustc-hash-2.0.0.crate) = 996ad683db2e6839ee28fdc4a31293aecce7baefaf6051220a633a00beddef1be41aef0995d7501e5b92dbc85350ced920bc980d05f5ba235e9a5d1a13464339

Loading…
Cancel
Save