## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 27 # * tests can only be run in-tree %bcond check 0 %global debug_package %{nil} %global crate blake3 Name: rust-blake3 Version: 1.6.1 Release: %autorelease Summary: BLAKE3 hash function License: Apache-2.0 OR Apache-2.0 WITH LLVM-exception 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_A2 %license %{crate_instdir}/LICENSE_A2LLVM %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 rm LICENSE_CC0 %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 Feb 28 2025 Benjamin A. Beasley - 1.6.1-1 - Update to version 1.6.1; Fixes RHBZ#2348852 * Tue Feb 18 2025 Benjamin A. Beasley - 1.6.0-1 - Update to version 1.6.0; Fixes RHBZ#2346204 * Sun Jan 19 2025 Fedora Release Engineering - 1.5.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Wed Nov 27 2024 Benjamin A. Beasley - 1.5.5-1 - Update to version 1.5.5; Fixes RHBZ#2329087 * Sun Sep 22 2024 Benjamin A. Beasley - 1.5.4-2 - Add missing crate source for 1.5.4 * Sun Sep 22 2024 Benjamin A. Beasley - 1.5.4-1 - Update to 1.5.4; Fixes RHBZ#2306017 * Fri Aug 09 2024 Fabio Valentini - 1.5.3-1 - Update to version 1.5.3; Fixes RHBZ#2297809 * Fri Jul 19 2024 Fedora Release Engineering - 1.5.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu Apr 25 2024 Fabio Valentini - 1.5.1-1 - Update to version 1.5.1; Fixes RHBZ#2269132 * 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