diff --git a/.gitignore b/.gitignore index fc82c6a..33b4cac 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /sha-1-0.9.1.crate /sha-1-0.9.2.crate /sha-1-0.9.3.crate +/sha-1-0.9.4.crate diff --git a/rust-sha-1.spec b/rust-sha-1.spec index 9a61a81..3d52633 100644 --- a/rust-sha-1.spec +++ b/rust-sha-1.spec @@ -5,7 +5,7 @@ %global crate sha-1 Name: rust-%{crate} -Version: 0.9.3 +Version: 0.9.4 Release: 1%{?dist} Summary: SHA-1 hash function @@ -55,6 +55,18 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+compress-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+compress-devel %{_description} + +This package contains library source intended for building other packages +which use "compress" feature of "%{crate}" crate. + +%files -n %{name}+compress-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+force-soft-devel Summary: %{summary} BuildArch: noarch @@ -98,6 +110,10 @@ which use "std" feature of "%{crate}" crate. %endif %changelog +* Sat Feb 27 2021 Fabio Valentini - 0.9.4-1 +- Update to version 0.9.4. +- Fixes RHBZ#1929265 + * Mon Feb 15 2021 Fabio Valentini - 0.9.3-1 - Update to version 0.9.3. - Fixes RHBZ#1923135 diff --git a/sha-1-fix-metadata.diff b/sha-1-fix-metadata.diff index 0d55095..ca105fa 100644 --- a/sha-1-fix-metadata.diff +++ b/sha-1-fix-metadata.diff @@ -1,6 +1,6 @@ ---- sha-1-0.9.3/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ sha-1-0.9.3/Cargo.toml 2021-02-15T11:36:17.851842+00:00 -@@ -37,9 +37,6 @@ +--- sha-1-0.9.4/Cargo.toml 1970-01-01T00:00:00+00:00 ++++ sha-1-0.9.4/Cargo.toml 2021-02-27T18:30:21.499379+00:00 +@@ -40,9 +40,6 @@ [dependencies.opaque-debug] version = "0.3" @@ -10,17 +10,18 @@ [dev-dependencies.digest] version = "0.9" features = ["dev"] -@@ -48,13 +45,8 @@ +@@ -51,14 +48,9 @@ version = "0.2" [features] -asm = ["sha1-asm", "libc"] -asm-aarch64 = ["asm"] + compress = [] default = ["std"] force-soft = [] std = ["digest/std"] -[target."cfg(all(target_arch = \"aarch64\", target_os = \"linux\"))".dependencies.libc] --version = "0.2.84" +-version = "0.2.86" -optional = true [target."cfg(any(target_arch = \"x86\", target_arch = \"x86_64\"))".dependencies.cpuid-bool] version = "0.1" diff --git a/sources b/sources index 8ee42ac..235b17f 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (sha-1-0.9.3.crate) = a51cf63a0b29f92980093e6a388b979b6650fd72589b535c5916b77039d72062a2ff236777a58980c33f37551626e9dd7e7fcd6f60e0884a4292500bc3c5545f +SHA512 (sha-1-0.9.4.crate) = f815f6a8f046cd51b33c0d91c7fe36997490e9ebf6e0c1fdf58efec18560d3aec665b4edaa9d2b702b2aab4667ac17891c620d17d24f8e26657d825ddef24ff4