initial import (seahash 3 compat package)

epel9
Fabio Valentini 4 years ago
parent 736233dfc4
commit 996b890b74
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

4
.gitignore vendored

@ -0,0 +1,4 @@
/results_*/
/*.src.rpm
/seahash-3.0.7.crate

@ -1,3 +0,0 @@
# rust-seahash3
The rust-seahash3 package

@ -0,0 +1,76 @@
# Generated by rust2rpm 17
%bcond_without check
%global debug_package %{nil}
%global crate seahash
Name: rust-%{crate}3
Version: 3.0.7
Release: 1%{?dist}
Summary: Blazingly fast, portable hash function with proven statistical guarantees
# Upstream license specification: MIT
# https://github.com/redox-os/tfs/pull/76
License: MIT
URL: https://crates.io/crates/seahash
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
Blazingly fast, portable hash function with proven statistical guarantees.}
%description %{_description}
%package devel
Summary: %{summary}
BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
%files devel
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%exclude %{cargo_registry}/%{crate}-%{version_no_tilde}/logo.png
%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 "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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
* Sat May 01 2021 Fabio Valentini <decathorpe@gmail.com> - 3.0.7-1
- Initial compat package for seahash 3

@ -0,0 +1 @@
SHA512 (seahash-3.0.7.crate) = 03e78c8669c2a20c223772f63df943b173598d8f4714a7bc399c97bd3ec091eda1b5f12dd11f821f45e5178927a4f7621911dc228f5ab5f52f28f9eed12d13c0
Loading…
Cancel
Save