## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## 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 28 %bcond check 1 %global debug_package %{nil} %global crate blake2b_simd Name: rust-blake2b_simd Version: 1.0.3 Release: %autorelease Summary: Pure Rust BLAKE2b implementation with dynamic SIMD License: MIT URL: https://crates.io/crates/blake2b_simd Source: %{crates_source} # * add missing license text: https://github.com/oconnor663/blake2_simd/pull/31 Source2: https://github.com/oconnor663/blake2_simd/raw/refs/tags/1.0.3/LICENSE # Manually created patch for downstream crate metadata changes # * Update constant_time_eq from 0.3.0 to 0.4.2: # https://github.com/oconnor663/blake2_simd/pull/34 Patch: blake2b_simd-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A pure Rust BLAKE2b implementation with dynamic SIMD.} %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}+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}+uninline_portable-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+uninline_portable-devel %{_description} This package contains library source intended for building other packages which use the "uninline_portable" feature of the "%{crate}" crate. %files -n %{name}+uninline_portable-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep cp -p %{SOURCE2} . %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Sat Jan 10 2026 Benjamin A. Beasley - 1.0.3-3 - Update constant_time_eq from 0.3.0 to 0.4.2 * Fri Jul 25 2025 Fedora Release Engineering - 1.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Tue Feb 18 2025 Fabio Valentini - 1.0.3-1 - Update to version 1.0.3; Fixes RHBZ#2343835 * Sun Jan 19 2025 Fedora Release Engineering - 1.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Fri Jul 19 2024 Fedora Release Engineering - 1.0.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jan 26 2024 Fedora Release Engineering - 1.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jan 06 2024 Michel Lind - 1.0.2-1 - Initial package ## END: Generated by rpmautospec