From d72f1d307da2c9519dba5114e87886cf1575a869 Mon Sep 17 00:00:00 2001 From: MSVSphere Packaging Team Date: Fri, 20 Dec 2024 16:32:18 +0300 Subject: [PATCH] import rust-password-hash-0.5.0-4.el10 --- .gitignore | 1 + .rust-password-hash.metadata | 1 + SPECS/rust-password-hash.spec | 160 ++++++++++++++++++++++++++++++++++ 3 files changed, 162 insertions(+) create mode 100644 .gitignore create mode 100644 .rust-password-hash.metadata create mode 100644 SPECS/rust-password-hash.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8d11cee --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/password-hash-0.5.0.crate diff --git a/.rust-password-hash.metadata b/.rust-password-hash.metadata new file mode 100644 index 0000000..a12d65c --- /dev/null +++ b/.rust-password-hash.metadata @@ -0,0 +1 @@ +936f86dad191c1448a617efbd05a694e95fa731f SOURCES/password-hash-0.5.0.crate diff --git a/SPECS/rust-password-hash.spec b/SPECS/rust-password-hash.spec new file mode 100644 index 0000000..83d5f3f --- /dev/null +++ b/SPECS/rust-password-hash.spec @@ -0,0 +1,160 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.7.2) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 4; + 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 24 +%bcond_without check +%global debug_package %{nil} + +%global crate password-hash + +Name: rust-password-hash +Version: 0.5.0 +Release: %autorelease +Summary: Traits which describe the functionality of password hashing algorithms + +License: MIT OR Apache-2.0 +URL: https://crates.io/crates/password-hash +Source: %{crates_source} + +BuildRequires: rust-packaging >= 21 + +%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).} + +%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-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.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}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+getrandom-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+getrandom-devel %{_description} + +This package contains library source intended for building other packages which +use the "getrandom" feature of the "%{crate}" crate. + +%files -n %{name}+getrandom-devel +%ghost %{crate_instdir}/Cargo.toml + +%package -n %{name}+rand_core-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rand_core-devel %{_description} + +This package contains library source intended for building other packages which +use the "rand_core" feature of the "%{crate}" crate. + +%files -n %{name}+rand_core-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 + +%prep +%autosetup -n %{crate}-%{version_no_tilde} -p1 +%cargo_prep + +%generate_buildrequires +%cargo_generate_buildrequires + +%build +%cargo_build + +%install +%cargo_install + +%if %{with check} +%check +%cargo_test +%endif + +%changelog +* Fri Dec 20 2024 MSVSphere Packaging Team - 0.5.0-4 +- Rebuilt for MSVSphere 10 + +## START: Generated by rpmautospec +* Sat Jul 20 2024 Fedora Release Engineering - 0.5.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Fri Jan 26 2024 Fedora Release Engineering - 0.5.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jul 21 2023 Fedora Release Engineering - 0.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Jun 03 2023 Fabio Valentini - 0.5.0-1 +- Update to version 0.5.0; Fixes RHBZ#2062470 + +* Mon Apr 17 2023 Fabio Valentini - 0.4.2-1 +- Update to version 0.4.2 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.3.2-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.3.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Fri Jan 21 2022 Fedora Release Engineering - 0.3.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Wed Jan 05 2022 Fabio Valentini - 0.3.2-1 +- Initial import (#2031925) +## END: Generated by rpmautospec