Update to version 0.4.2

epel9
Fabio Valentini 2 years ago
parent 93227c7539
commit b3ccffc63b
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -2,3 +2,4 @@
/*.src.rpm /*.src.rpm
/password-hash-0.3.2.crate /password-hash-0.3.2.crate
/password-hash-0.4.2.crate

@ -1,20 +0,0 @@
--- password-hash-0.3.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ password-hash-0.3.2/Cargo.toml 2021-12-13T17:22:30.987558+00:00
@@ -25,7 +25,7 @@
all-features = true
rustc-args = ["--cfg", "docsrs"]
[dependencies.base64ct]
-version = ">=1, <1.1.0"
+version = "1"
[dependencies.rand_core]
version = "0.6"
@@ -33,7 +33,7 @@
default-features = false
[dependencies.subtle]
-version = ">=2, <2.5"
+version = "2"
default-features = false
[features]

@ -1,30 +1,24 @@
# Generated by rust2rpm 20 # Generated by rust2rpm 24
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate password-hash %global crate password-hash
Name: rust-%{crate} Name: rust-password-hash
Version: 0.3.2 Version: 0.4.2
Release: %autorelease Release: %autorelease
Summary: Traits which describe password hashing algorithms Summary: Traits which describe the functionality of password hashing algorithms, as well as a no_std-friendly implementation of the PHC string format
# Upstream license specification: MIT OR Apache-2.0 License: MIT OR Apache-2.0
License: MIT or ASL 2.0
URL: https://crates.io/crates/password-hash URL: https://crates.io/crates/password-hash
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata
# * relax base64ct and subtle dependencies (MSRV is irrelevant in Fedora)
Patch0: password-hash-fix-metadata.diff
ExclusiveArch: %{rust_arches} BuildRequires: rust-packaging >= 21
BuildRequires: rust-packaging
%global _description %{expand: %global _description %{expand:
Traits which describe the functionality of password hashing algorithms, as well Traits which describe the functionality of password hashing algorithms,
as a `no_std`-friendly implementation of the PHC string format (a well-defined as well as a `no_std`-friendly implementation of the PHC string format
subset of the Modular Crypt Format a.k.a. MCF).} (a well-defined subset of the Modular Crypt Format a.k.a. MCF).}
%description %{_description} %description %{_description}
@ -38,9 +32,11 @@ This package contains library source intended for building other packages which
use the "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE-APACHE LICENSE-MIT %license %{crate_instdir}/LICENSE-APACHE
%doc CHANGELOG.md README.md %license %{crate_instdir}/LICENSE-MIT
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -52,7 +48,7 @@ This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+alloc-devel %package -n %{name}+alloc-devel
Summary: %{summary} Summary: %{summary}
@ -64,7 +60,7 @@ This package contains library source intended for building other packages which
use the "alloc" feature of the "%{crate}" crate. use the "alloc" feature of the "%{crate}" crate.
%files -n %{name}+alloc-devel %files -n %{name}+alloc-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+rand_core-devel %package -n %{name}+rand_core-devel
Summary: %{summary} Summary: %{summary}
@ -76,7 +72,7 @@ This package contains library source intended for building other packages which
use the "rand_core" feature of the "%{crate}" crate. use the "rand_core" feature of the "%{crate}" crate.
%files -n %{name}+rand_core-devel %files -n %{name}+rand_core-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -88,7 +84,7 @@ This package contains library source intended for building other packages which
use the "std" feature of the "%{crate}" crate. use the "std" feature of the "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (password-hash-0.3.2.crate) = 157cf50896c28d5a73670fe2ea9e00ceb10acd3d2c9abb13b86f0b16d3fd8c56767d5732cb997b52702432b0c25d4591d1263e24c312d0fef25a328ea0dd940d SHA512 (password-hash-0.4.2.crate) = f6b7da81fa172ed37229894c426965182be1a445ccaba4351b91ce43ff1ab8cacd205b321721df49dd43ba17dc6a77e9b7cccc3a0c396572aa7ad642af44926d

Loading…
Cancel
Save