initial import

epel9
Peter Robinson 4 years ago
parent 3f9ed95149
commit 61bd4e9477

1
.gitignore vendored

@ -0,0 +1 @@
/polyval-*.crate

@ -0,0 +1,11 @@
--- polyval-0.4.0/Cargo.toml 2020-06-06T15:27:27+00:00
+++ polyval-0.4.0/Cargo.toml 2020-09-11T17:14:32.880375+00:00
@@ -44,7 +44,7 @@
version = "0.1.1"
[dev-dependencies.hex-literal]
-version = "0.1"
+version = "0.2.1"
[features]
std = ["universal-hash/std"]

@ -0,0 +1,102 @@
# Generated by rust2rpm 13
%bcond_with check
%global debug_package %{nil}
%global crate polyval
Name: rust-%{crate}
Version: 0.4.0
Release: 1%{?dist}
Summary: GHASH-like universal hash over GF(2^128) useful for constructing a Message Authentication Code (MAC)
# Upstream license specification: Apache-2.0 OR MIT
License: ASL 2.0 or MIT
URL: https://crates.io/crates/polyval
Source: %{crates_source}
# Initial patched metadata
Patch0: polyval-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
%global _description %{expand:
GHASH-like universal hash over GF(2^128) useful for constructing a Message
Authentication Code (MAC).}
%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
%license LICENSE-APACHE LICENSE-MIT
%doc README.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%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
%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 "std" feature of "%{crate}" crate.
%files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+zeroize-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+zeroize-devel %{_description}
This package contains library source intended for building other packages
which use "zeroize" feature of "%{crate}" crate.
%files -n %{name}+zeroize-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
* Fri Sep 11 18:14:32 BST 2020 Peter Robinson <pbrobinson@gmail.com> - 0.4.0-1
- Initial package

@ -0,0 +1 @@
SHA512 (polyval-0.4.0.crate) = 4cb331e46d899686475af45dca79e5e14263f987d3ddce0936799220c6c0852611b11b86b143c1eb053901578a5e70be6dde12f349b437e1500989d72eb82a45
Loading…
Cancel
Save