Revert "Update to version 1.2.0; Fixes RHBZ#2283619"

This reverts commit c4555fdee6.

Version 1.2.0 was yanked from crates.io due to multiple issues.
epel10
Fabio Valentini 8 months ago
parent c4555fdee6
commit f83431b7ba
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -1,3 +1,2 @@
/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-1.2.0.crate

@ -1,23 +1,23 @@
# Generated by rust2rpm 26 # Generated by rust2rpm 24
%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.2.0 Version: 1.1.0
Release: %autorelease Release: %autorelease
Summary: Speedy, non-cryptographic hashing algorithm used by rustc and Firefox Summary: Speed, non-cryptographic hash used in 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: cargo-rpm-macros >= 24 BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
A speedy, non-cryptographic hashing algorithm used by rustc and Firefox.} Speed, non-cryptographic hash used in rustc.}
%description %{_description} %description %{_description}
@ -49,18 +49,6 @@ 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
@ -74,7 +62,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} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires %generate_buildrequires

@ -1 +1 @@
SHA512 (rustc-hash-1.2.0.crate) = 27145b121666bc28a6676ea016fbb7e42f3f094b83a6c2ebf616174403a9697a1278dce5ef1eee0657b4c0377abbc2e87cb7d46f17a1e88cb3545e753bcb2739 SHA512 (rustc-hash-1.1.0.crate) = 84e673ea9b046f7b989d47f2c4505557fbd5de991e6fc9f56a03605d40e0b4ba5427cd566954890153cc033ccbec6c984306634571935bfe0d4cdfbe56f39544

Loading…
Cancel
Save