Update to version 0.10.1; Fixes RHBZ#2149045

epel9
Fabio Valentini 2 years ago
parent 648cab07cf
commit 88fde868f4
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -8,3 +8,4 @@
/sha-1-0.9.7.crate
/sha-1-0.9.8.crate
/sha-1-0.10.0.crate
/sha-1-0.10.1.crate

@ -1,22 +1,19 @@
# Generated by rust2rpm 20
# Generated by rust2rpm 23
%bcond_without check
%global debug_package %{nil}
%global crate sha-1
Name: rust-%{crate}
Version: 0.10.0
Name: rust-sha-1
Version: 0.10.1
Release: %autorelease
Summary: SHA-1 hash function
# Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/sha-1
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
SHA-1 hash function.}
@ -26,6 +23,8 @@ SHA-1 hash function.}
%package devel
Summary: %{summary}
BuildArch: noarch
# This crate is deprecated! Use the sha1 crate instead.
Provides: deprecated()
%description devel %{_description}
@ -33,9 +32,11 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE-APACHE LICENSE-MIT
%doc CHANGELOG.md README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -47,7 +48,7 @@ This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+compress-devel
Summary: %{summary}
@ -59,7 +60,7 @@ This package contains library source intended for building other packages which
use the "compress" feature of the "%{crate}" crate.
%files -n %{name}+compress-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+force-soft-devel
Summary: %{summary}
@ -71,7 +72,19 @@ This package contains library source intended for building other packages which
use the "force-soft" feature of the "%{crate}" crate.
%files -n %{name}+force-soft-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+oid-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+oid-devel %{_description}
This package contains library source intended for building other packages which
use the "oid" feature of the "%{crate}" crate.
%files -n %{name}+oid-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel
Summary: %{summary}
@ -83,7 +96,7 @@ This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (sha-1-0.10.0.crate) = 5f202e74a5323ccd12bb2fa57f6357eb8d12d5702fe9fda745aaed70725a5c9c78dd6f8aa734b350948fe8155cb36d8bbfe16615f0335f0502827ad26ea387ac
SHA512 (sha-1-0.10.1.crate) = 325e98435b79b88ff6e835e665ccc8c386a0ba9ea17c7b05e8ff42f0f5d70589ed2e874dc4ab60b45c7f7d67a896ad051dfddc6efd90bab7f3c165f9f964e8c2

Loading…
Cancel
Save