Files
b3sum/b3sum.spec
OBS User smolsheep b3c4192791 - Update to version 1.8.1:
* [CMake] Fix transitive dependencies for TBB when libblake3 is
    built with BLAKE3_USE_TBB=1
- Updates from version 1.8.0:
  * The Rust crate now provides the blake3::hazmat module, which
    replaces the undocumented and now deprecated blake3::guts
    module. This is intended for advanced use cases like Bao and
    Iroh, which need to manipulate chunk and subtree "chaining
    values" directly.
- Updates from version 1.7.0:
  * The C implementation has gained multithreading support, based
    on Intel's oneTBB library. This works similarly to the
    Rayon-based multithreading used in the Rust implementation. See
    c/README.md for details.
  * Added b3sum --tag, which changes the output format. This is for
    compatibility with GNU checksum tools (which use the same flag)
    and BSD checksum tools (which use the output format this flag
    turns on).
- Updates from version 1.6.1:
  * Remove mmap from the default features list. It was added
    accidentally in v1.6.0, last week. This is technically a
    backwards-incompatible change, but I would rather not tag
    v2.0.0 for a build-time bugfix with a simple workaround.
- Updates from version 1.6.0:
  * Add Hash::from_slice.

OBS-URL: https://build.opensuse.org/package/show/security:privacy/b3sum?expand=0&rev=12
2025-04-05 01:32:12 +00:00

53 lines
1.4 KiB
RPMSpec

#
# spec file for package b3sum
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: b3sum
Version: 1.8.1
Release: 0
Summary: A multithreaded rust implementation of BLAKE3
License: Apache-2.0 OR CC0-1.0
URL: https://github.com/BLAKE3-team/BLAKE3
Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
BuildRequires: cargo-packaging
%description
The official Rust implementation of the BLAKE3 cryptographic hash
function. It uses multithreading by default, making it an order of
magnitude faster than e.g. sha256sum on typical desktop hardware.
%prep
%autosetup -a1 -n %{name}-%{version}/b3sum
mv ../LICENSE_* .
%build
%{cargo_build}
%check
%{cargo_test}
%install
%{cargo_install}
%files
%license LICENSE_A2 LICENSE_A2LLVM LICENSE_CC0
%{_bindir}/%{name}
%changelog