diff --git a/.gitignore b/.gitignore index f5709f2..cd40988 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /sha-1-0.8.1.crate /sha-1-0.8.2.crate +/sha-1-0.9.0.crate diff --git a/rust-sha-1.spec b/rust-sha-1.spec index 4f5cab8..409d43f 100644 --- a/rust-sha-1.spec +++ b/rust-sha-1.spec @@ -1,22 +1,18 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 15 %bcond_without check %global debug_package %{nil} %global crate sha-1 Name: rust-%{crate} -Version: 0.8.2 -Release: 2%{?dist} +Version: 0.9.0 +Release: 1%{?dist} Summary: SHA-1 hash function # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/sha-1 Source: %{crates_source} -# Initial patched metadata -# * Update hex-literal to 0.2, https://github.com/RustCrypto/hashes/pull/85 -# * Remove unstable asm features -Patch0: sha-1-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -55,6 +51,54 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+asm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+asm-devel %{_description} + +This package contains library source intended for building other packages +which use "asm" feature of "%{crate}" crate. + +%files -n %{name}+asm-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+asm-aarch64-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+asm-aarch64-devel %{_description} + +This package contains library source intended for building other packages +which use "asm-aarch64" feature of "%{crate}" crate. + +%files -n %{name}+asm-aarch64-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+libc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+libc-devel %{_description} + +This package contains library source intended for building other packages +which use "libc" feature of "%{crate}" crate. + +%files -n %{name}+libc-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + +%package -n %{name}+sha1-asm-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+sha1-asm-devel %{_description} + +This package contains library source intended for building other packages +which use "sha1-asm" feature of "%{crate}" crate. + +%files -n %{name}+sha1-asm-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch @@ -86,6 +130,9 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Sun Jun 21 17:15:34 CEST 2020 Igor Raits - 0.9.0-1 +- Update to 0.9.0 + * Thu Jan 30 2020 Fedora Release Engineering - 0.8.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sha-1-fix-metadata.diff b/sha-1-fix-metadata.diff deleted file mode 100644 index 0794256..0000000 --- a/sha-1-fix-metadata.diff +++ /dev/null @@ -1,30 +0,0 @@ ---- sha-1-0.8.2/Cargo.toml 2020-01-06T02:54:55+00:00 -+++ sha-1-0.8.2/Cargo.toml 2020-01-07T18:04:23.871480+00:00 -@@ -32,26 +32,17 @@ - [dependencies.fake-simd] - version = "0.1" - --[dependencies.libc] --version = "0.2" --optional = true -- - [dependencies.opaque-debug] - version = "0.2" - --[dependencies.sha1-asm] --version = "0.4" --optional = true - [dev-dependencies.digest] - version = "0.8" - features = ["dev"] - - [dev-dependencies.hex-literal] --version = "0.1" -+version = "0.2" - - [features] --asm = ["sha1-asm"] --asm-aarch64 = ["asm", "libc"] - default = ["std"] - std = ["digest/std"] - [badges.travis-ci] diff --git a/sources b/sources index 6fbcda4..d07b60b 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sha-1-0.8.2.crate) = 65ddb7bd8f0157d134e70f7c6d6abf7aea198cb97da17b418a265642c5930b8cbd9c8e0b97b557102787cc842cddc93213d669345c2aaac6a1e7146765b2d5cd +SHA512 (sha-1-0.9.0.crate) = 87de77e6c8d9fda610fb8fe0ecf226992cfe2793379cdaa40fc6956c5c6d55e345bf7740a71dcb8c7bc330f81c48858aeba87edb8bf77ae5226f613cce6deea7