diff --git a/.gitignore b/.gitignore index dcb0a5b..2ea4c22 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ /rustc-hash-1.0.1.crate /rustc-hash-1.1.0.crate -/rustc-hash-1.2.0.crate diff --git a/rust-rustc-hash.spec b/rust-rustc-hash.spec index 1a2beb4..6f51947 100644 --- a/rust-rustc-hash.spec +++ b/rust-rustc-hash.spec @@ -1,23 +1,23 @@ -# Generated by rust2rpm 26 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate rustc-hash Name: rust-rustc-hash -Version: 1.2.0 +Version: 1.1.0 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 License: Apache-2.0 OR MIT URL: https://crates.io/crates/rustc-hash Source: %{crates_source} -BuildRequires: cargo-rpm-macros >= 24 +BuildRequires: rust-packaging >= 21 %global _description %{expand: -A speedy, non-cryptographic hashing algorithm used by rustc and Firefox.} +Speed, non-cryptographic hash used in rustc.} %description %{_description} @@ -49,18 +49,6 @@ use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %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 Summary: %{summary} BuildArch: noarch @@ -74,7 +62,7 @@ use the "std" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version} -p1 +%autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires diff --git a/sources b/sources index 8b1e15a..f96ed5d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rustc-hash-1.2.0.crate) = 27145b121666bc28a6676ea016fbb7e42f3f094b83a6c2ebf616174403a9697a1278dce5ef1eee0657b4c0377abbc2e87cb7d46f17a1e88cb3545e753bcb2739 +SHA512 (rustc-hash-1.1.0.crate) = 84e673ea9b046f7b989d47f2c4505557fbd5de991e6fc9f56a03605d40e0b4ba5427cd566954890153cc033ccbec6c984306634571935bfe0d4cdfbe56f39544