# Generated by rust2rpm 10 %bcond_without check %global debug_package %{nil} %global crate crypto-hash Name: rust-%{crate} Version: 0.3.4 Release: 7%{?dist} Summary: Wrapper for OS-level cryptographic hash functions # Upstream license specification: MIT License: MIT URL: https://crates.io/crates/crypto-hash Source: %{crates_source} # Initial patched metadata # * Bump hex to 0.4: https://github.com/malept/crypto-hash/pull/13 # * No windows/osx Patch0: crypto-hash-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} BuildArch: noarch %endif BuildRequires: rust-packaging %global _description %{expand: Wrapper for OS-level cryptographic hash functions.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use "%{crate}" crate. %files devel %license LICENSE %doc CONTRIBUTING.md NEWS.md README.md %{cargo_registry}/%{crate}-%{version}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Fri Jan 21 2022 Fedora Release Engineering - 0.3.4-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.3.4-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.3.4-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.3.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.3.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Dec 07 2019 Josh Stone - 0.3.4-2 - Bump hex to 0.4 * Sun Aug 18 11:31:21 CEST 2019 Igor Gnatenko - 0.3.4-1 - Update to 0.3.4 * Fri Jul 26 2019 Fedora Release Engineering - 0.3.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Mon Feb 11 2019 Igor Gnatenko - 0.3.3-3 - Run tests in infrastructure * Sat Feb 02 2019 Fedora Release Engineering - 0.3.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Jan 08 2019 Josh Stone - 0.3.3-1 - Update to 0.3.3 * Tue Nov 13 2018 Josh Stone - 0.3.1-3 - Adapt to new packaging * Sat Jul 14 2018 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Tue Mar 06 2018 Josh Stone - 0.3.1-1 - Update to 0.3.1 * Fri Feb 09 2018 Fedora Release Engineering - 0.3.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Fri Jan 12 2018 Igor Gnatenko - 0.3.0-1 - Initial package