Update to version 0.1.2; Fixes RHBZ#2112536

epel9
Fabio Valentini 2 years ago
parent 6fca0038f2
commit 19e4159974
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -1 +1,2 @@
/keccak-0.1.0.crate /keccak-0.1.0.crate
/keccak-0.1.2.crate

@ -1,28 +1,25 @@
# Generated by rust2rpm 13 # Generated by rust2rpm 22
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate keccak %global crate keccak
Name: rust-%{crate} Name: rust-keccak
Version: 0.1.0 Version: 0.1.2
Release: %autorelease Release: %autorelease
Summary: Keccak-f sponge function Summary: Pure Rust implementation of the Keccak sponge function
# Upstream license specification: CC0-1.0 License: Apache-2.0 OR MIT
License: CC0
URL: https://crates.io/crates/keccak URL: https://crates.io/crates/keccak
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging >= 21
%global _description %{expand: %global _description %{expand:
Keccak-f sponge function.} Pure Rust implementation of the Keccak sponge function including the keccak-f
and keccak-p variants.}
%description %{_description} %description %{_description}
@ -32,11 +29,15 @@ BuildArch: noarch
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%{cargo_registry}/%{crate}-%{version_no_tilde}/ %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 %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -44,11 +45,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{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}+no_unroll-devel %package -n %{name}+no_unroll-devel
Summary: %{summary} Summary: %{summary}
@ -56,11 +57,23 @@ BuildArch: noarch
%description -n %{name}+no_unroll-devel %{_description} %description -n %{name}+no_unroll-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "no_unroll" feature of "%{crate}" crate. use the "no_unroll" feature of the "%{crate}" crate.
%files -n %{name}+no_unroll-devel %files -n %{name}+no_unroll-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+simd-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+simd-devel %{_description}
This package contains library source intended for building other packages which
use the "simd" feature of the "%{crate}" crate.
%files -n %{name}+simd-devel
%ghost %{crate_instdir}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1

@ -1 +1 @@
SHA512 (keccak-0.1.0.crate) = 5514a50d52979ed616290309cb27d17fd1521ee89ff51131fc2cd2ab38bae2a22f00749b8de2ab75420d557c7400b4f59a9bddaa532efffb22a5fed5fbcdf65d SHA512 (keccak-0.1.2.crate) = 65b308152fa19c8991f1bfc65b38cf4f922be38abd905fb75acba1c3b751310e9e91a7f8d5ebc25c875a2773c4197961fb1e188d13756933d470507aab53439d

Loading…
Cancel
Save