public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rust-password-hash] rawhide: Update to version 0.6.1; Fixes RHBZ#2445936
@ 2026-06-23  5:51 Benjamin A. Beasley
  0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-06-23  5:51 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rust-password-hash
Branch : rawhide
Commit : 6f6c0294efc04201112e5618fcd07c7043d2083e
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date   : 2026-06-22T10:14:38+01:00
Stats  : +34/-17 in 5 file(s)
URL    : https://src.fedoraproject.org/rpms/rust-password-hash/c/6f6c0294efc04201112e5618fcd07c7043d2083e?branch=rawhide

Log:
Update to version 0.6.1; Fixes RHBZ#2445936

---
diff --git a/.gitignore b/.gitignore
index 765ed71..8e7a4e8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
 /password-hash-0.3.2.crate
 /password-hash-0.4.2.crate
 /password-hash-0.5.0.crate
+/password-hash-0.6.1.crate

diff --git a/rust-password-hash.rpmlintrc b/rust-password-hash.rpmlintrc
new file mode 100644
index 0000000..77a06ca
--- /dev/null
+++ b/rust-password-hash.rpmlintrc
@@ -0,0 +1,2 @@
+# Not a real spelling error:
+addFilter(r" spelling-error \('([Aa]lloc)',")

diff --git a/rust-password-hash.spec b/rust-password-hash.spec
index 169331e..1de07ac 100644
--- a/rust-password-hash.spec
+++ b/rust-password-hash.spec
@@ -1,11 +1,11 @@
-# Generated by rust2rpm 24
-%bcond_without check
+# Generated by rust2rpm 28
+%bcond check 1
 %global debug_package %{nil}
 
 %global crate password-hash
 
 Name:           rust-password-hash
-Version:        0.5.0
+Version:        0.6.1
 Release:        %autorelease
 Summary:        Traits which describe the functionality of password hashing algorithms
 
@@ -13,12 +13,13 @@ License:        MIT OR Apache-2.0
 URL:            https://crates.io/crates/password-hash
 Source:         %{crates_source}
 
-BuildRequires:  rust-packaging >= 21
+BuildRequires:  cargo-rpm-macros >= 24
 
 %global _description %{expand:
 Traits which describe the functionality of password hashing algorithms,
-as well as a `no_std`-friendly implementation of the PHC string format
-(a well-defined subset of the Modular Crypt Format a.k.a. MCF).}
+with optional support for a `no_std`/`no_alloc`-friendly implementation
+of the PHC string format, as well as generic support for other formats
+(e.g. Modular Crypt Format).}
 
 %description %{_description}
 
@@ -35,7 +36,6 @@ use the "%{crate}" crate.
 %license %{crate_instdir}/LICENSE-APACHE
 %license %{crate_instdir}/LICENSE-MIT
 %doc %{crate_instdir}/CHANGELOG.md
-%doc %{crate_instdir}/README.md
 %{crate_instdir}/
 
 %package     -n %{name}+default-devel
@@ -74,32 +74,32 @@ use the "getrandom" feature of the "%{crate}" crate.
 %files       -n %{name}+getrandom-devel
 %ghost %{crate_instdir}/Cargo.toml
 
-%package     -n %{name}+rand_core-devel
+%package     -n %{name}+phc-devel
 Summary:        %{summary}
 BuildArch:      noarch
 
-%description -n %{name}+rand_core-devel %{_description}
+%description -n %{name}+phc-devel %{_description}
 
 This package contains library source intended for building other packages which
-use the "rand_core" feature of the "%{crate}" crate.
+use the "phc" feature of the "%{crate}" crate.
 
-%files       -n %{name}+rand_core-devel
+%files       -n %{name}+phc-devel
 %ghost %{crate_instdir}/Cargo.toml
 
-%package     -n %{name}+std-devel
+%package     -n %{name}+rand_core-devel
 Summary:        %{summary}
 BuildArch:      noarch
 
-%description -n %{name}+std-devel %{_description}
+%description -n %{name}+rand_core-devel %{_description}
 
 This package contains library source intended for building other packages which
-use the "std" feature of the "%{crate}" crate.
+use the "rand_core" feature of the "%{crate}" crate.
 
-%files       -n %{name}+std-devel
+%files       -n %{name}+rand_core-devel
 %ghost %{crate_instdir}/Cargo.toml
 
 %prep
-%autosetup -n %{crate}-%{version_no_tilde} -p1
+%autosetup -n %{crate}-%{version} -p1
 %cargo_prep
 
 %generate_buildrequires

diff --git a/rust2rpm.toml b/rust2rpm.toml
new file mode 100644
index 0000000..c13c84c
--- /dev/null
+++ b/rust2rpm.toml
@@ -0,0 +1,14 @@
+[package]
+# Upstream:
+#   Traits which describe the functionality of password hashing algorithms,
+#   with optional support for a `no_std`/`no_alloc`-friendly implementation of
+#   the PHC string format, as well as generic support for other formats (e.g.
+#   Modular Crypt Format)
+summary = "Traits which describe the functionality of password hashing algorithms"
+doc-files.exclude = [
+    # This file is included as a documentation string in the library, so
+    # compilation fails if it is not present. It therefore must not be marked
+    # as documentation, because packages should be equally useful when their
+    # documentation is not installed.
+    "README.md",
+]

diff --git a/sources b/sources
index 211adc2..bca80d7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (password-hash-0.5.0.crate) = 4393d9b2ba9158e8dc5192f2f88ff8a26e02b2b18268aa28b7456c7622c06a005fc2230883b89c1dbc1cebc06570d4f569801ab6275cbd14ec4a073c2c63763e
+SHA512 (password-hash-0.6.1.crate) = 9559913e3b03f466037f54d2684b31f18e8f30416964c1f6696d26b10a2ea10a46c63f2451b50246dbbfdf88696c24a1943b6735097380ec89a4dacf2a6984fa

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-23  5:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-23  5:51 [rpms/rust-password-hash] rawhide: Update to version 0.6.1; Fixes RHBZ#2445936 Benjamin A. Beasley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox