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