## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 25 # * tests can only be run in-tree %bcond_with check %global debug_package %{nil} %global crate blake3 Name: rust-blake3 Version: 1.5.0 Release: %autorelease Summary: BLAKE3 hash function License: Apache-2.0 URL: https://crates.io/crates/blake3 Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * remove CC0-1.0 from license metadata (not acceptable for code in Fedora) Patch: blake3-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: The BLAKE3 hash function.} %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}/CONTRIBUTING.md %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}+digest-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+digest-devel %{_description} This package contains library source intended for building other packages which use the "digest" feature of the "%{crate}" crate. %files -n %{name}+digest-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mmap-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mmap-devel %{_description} This package contains library source intended for building other packages which use the "mmap" feature of the "%{crate}" crate. %files -n %{name}+mmap-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+neon-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+neon-devel %{_description} This package contains library source intended for building other packages which use the "neon" feature of the "%{crate}" crate. %files -n %{name}+neon-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+no_avx2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+no_avx2-devel %{_description} This package contains library source intended for building other packages which use the "no_avx2" feature of the "%{crate}" crate. %files -n %{name}+no_avx2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+no_avx512-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+no_avx512-devel %{_description} This package contains library source intended for building other packages which use the "no_avx512" feature of the "%{crate}" crate. %files -n %{name}+no_avx512-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+no_neon-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+no_neon-devel %{_description} This package contains library source intended for building other packages which use the "no_neon" feature of the "%{crate}" crate. %files -n %{name}+no_neon-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+no_sse2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+no_sse2-devel %{_description} This package contains library source intended for building other packages which use the "no_sse2" feature of the "%{crate}" crate. %files -n %{name}+no_sse2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+no_sse41-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+no_sse41-devel %{_description} This package contains library source intended for building other packages which use the "no_sse41" feature of the "%{crate}" crate. %files -n %{name}+no_sse41-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+prefer_intrinsics-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+prefer_intrinsics-devel %{_description} This package contains library source intended for building other packages which use the "prefer_intrinsics" feature of the "%{crate}" crate. %files -n %{name}+prefer_intrinsics-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pure-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pure-devel %{_description} This package contains library source intended for building other packages which use the "pure" feature of the "%{crate}" crate. %files -n %{name}+pure-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rayon-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rayon-devel %{_description} This package contains library source intended for building other packages which use the "rayon" feature of the "%{crate}" crate. %files -n %{name}+rayon-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-devel %{_description} 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 %{crate_instdir}/Cargo.toml %package -n %{name}+traits-preview-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+traits-preview-devel %{_description} This package contains library source intended for building other packages which use the "traits-preview" feature of the "%{crate}" crate. %files -n %{name}+traits-preview-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+zeroize-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+zeroize-devel %{_description} This package contains library source intended for building other packages which use the "zeroize" feature of the "%{crate}" crate. %files -n %{name}+zeroize-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 ## START: Generated by rpmautospec * Fri Jan 26 2024 Fedora Release Engineering - 1.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jan 19 2024 Fabio Valentini - 1.5.0-2 - Remove CC0-1.0 from license metadata (not acceptable for code in Fedora) * Sat Jan 06 2024 Michel Lind - 1.5.0-1 - Update to 1.5.0 * Fri Jul 21 2023 Fedora Release Engineering - 1.4.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jun 12 2023 Fabio Valentini - 1.4.0-1 - Update to version 1.4.0; Fixes RHBZ#2213652 * Wed May 10 2023 Peter Robinson - 1.3.3-1 - initial import ## END: Generated by rpmautospec