Initial import (scrypt 0.8 compat package)

epel9 imports/e9/rust-scrypt0.8-0.8.1-1.el9
Fabio Valentini 2 years ago
parent 1997a68865
commit 63086ac24c
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -0,0 +1 @@
/scrypt-0.8.1.crate

@ -1,3 +0,0 @@
# rust-scrypt0.8
The rust-scrypt0.8 package

@ -0,0 +1,106 @@
# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate scrypt
Name: rust-scrypt0.8
Version: 0.8.1
Release: %autorelease
Summary: Scrypt password-based key derivation function
License: MIT OR Apache-2.0
URL: https://crates.io/crates/scrypt
Source: %{crates_source}
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Scrypt password-based key derivation function.}
%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}+password-hash-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+password-hash-devel %{_description}
This package contains library source intended for building other packages which
use the "password-hash" feature of the "%{crate}" crate.
%files -n %{name}+password-hash-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+simple-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+simple-devel %{_description}
This package contains library source intended for building other packages which
use the "simple" feature of the "%{crate}" crate.
%files -n %{name}+simple-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
%autochangelog

@ -0,0 +1 @@
SHA512 (scrypt-0.8.1.crate) = a8ca957470080832ffdca76185e3a4154a139c577162c9e4f5c97cd5bb6377ac780391a3a2ffc0dedd1e3ae13f4ce1c9a031d924ad8178289c7a71c325a21f17
Loading…
Cancel
Save