# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate hmac-sha512 Name: rust-hmac-sha512 Version: 1.1.5 Release: %autorelease Summary: Small, self-contained SHA512, HMAC-SHA512, SHA384 and HMAC-SHA384 implementation License: ISC URL: https://crates.io/crates/hmac-sha512 Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A small, self-contained SHA512, HMAC-SHA512, SHA384 and HMAC-SHA384 implementation.} %description %{_description} %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE %doc %{crate_instdir}/README.md %{crate_instdir}/ %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 the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+digest010-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+digest010-devel %{_description} This package contains library source intended for building other packages which use the "digest010" feature of the "%{crate}" crate. %files -n %{name}+digest010-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+digest09-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+digest09-devel %{_description} This package contains library source intended for building other packages which use the "digest09" feature of the "%{crate}" crate. %files -n %{name}+digest09-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+opt_size-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+opt_size-devel %{_description} This package contains library source intended for building other packages which use the "opt_size" feature of the "%{crate}" crate. %files -n %{name}+opt_size-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sha384-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha384-devel %{_description} This package contains library source intended for building other packages which use the "sha384" feature of the "%{crate}" crate. %files -n %{name}+sha384-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+traits-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+traits-devel %{_description} This package contains library source intended for building other packages which use the "traits" feature of the "%{crate}" crate. %files -n %{name}+traits-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+traits010-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+traits010-devel %{_description} This package contains library source intended for building other packages which use the "traits010" feature of the "%{crate}" crate. %files -n %{name}+traits010-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+traits09-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+traits09-devel %{_description} This package contains library source intended for building other packages which use the "traits09" feature of the "%{crate}" crate. %files -n %{name}+traits09-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog