From 900276ce39570656b233afbfd36e83e9d0b08d1f Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Thu, 25 May 2023 20:06:10 +0200 Subject: [PATCH] Regenerate with rust2rpm v24 --- rust-tiny-keccak.spec | 68 ++++++++++++++++++++----------------------- rust2rpm.conf | 2 ++ 2 files changed, 33 insertions(+), 37 deletions(-) create mode 100644 rust2rpm.conf diff --git a/rust-tiny-keccak.spec b/rust-tiny-keccak.spec index 259aede..1edd514 100644 --- a/rust-tiny-keccak.spec +++ b/rust-tiny-keccak.spec @@ -1,28 +1,22 @@ -# Generated by rust2rpm 19 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate tiny-keccak -Name: rust-%{crate} +Name: rust-tiny-keccak Version: 2.0.2 Release: %autorelease Summary: Implementation of Keccak derived functions -# Upstream license specification: CC0-1.0 -License: CC0 +License: CC0-1.0 URL: https://crates.io/crates/tiny-keccak Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Implementation of Keccak derived functions.} +An implementation of Keccak derived functions.} %description %{_description} @@ -33,12 +27,12 @@ BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which -use "%{crate}" crate. +use the "%{crate}" crate. %files devel -%license LICENSE -%doc README.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,10 +41,10 @@ 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. +use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+cshake-devel Summary: %{summary} @@ -59,10 +53,10 @@ BuildArch: noarch %description -n %{name}+cshake-devel %{_description} This package contains library source intended for building other packages which -use "the cshake" feature of the "%{crate}" crate. +use the "cshake" feature of the "%{crate}" crate. %files -n %{name}+cshake-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+fips202-devel Summary: %{summary} @@ -71,10 +65,10 @@ BuildArch: noarch %description -n %{name}+fips202-devel %{_description} This package contains library source intended for building other packages which -use "the fips202" feature of the "%{crate}" crate. +use the "fips202" feature of the "%{crate}" crate. %files -n %{name}+fips202-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+k12-devel Summary: %{summary} @@ -83,10 +77,10 @@ BuildArch: noarch %description -n %{name}+k12-devel %{_description} This package contains library source intended for building other packages which -use "the k12" feature of the "%{crate}" crate. +use the "k12" feature of the "%{crate}" crate. %files -n %{name}+k12-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+keccak-devel Summary: %{summary} @@ -95,10 +89,10 @@ BuildArch: noarch %description -n %{name}+keccak-devel %{_description} This package contains library source intended for building other packages which -use "the keccak" feature of the "%{crate}" crate. +use the "keccak" feature of the "%{crate}" crate. %files -n %{name}+keccak-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+kmac-devel Summary: %{summary} @@ -107,10 +101,10 @@ BuildArch: noarch %description -n %{name}+kmac-devel %{_description} This package contains library source intended for building other packages which -use "the kmac" feature of the "%{crate}" crate. +use the "kmac" feature of the "%{crate}" crate. %files -n %{name}+kmac-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+parallel_hash-devel Summary: %{summary} @@ -119,10 +113,10 @@ BuildArch: noarch %description -n %{name}+parallel_hash-devel %{_description} This package contains library source intended for building other packages which -use "the parallel_hash" feature of the "%{crate}" crate. +use the "parallel_hash" feature of the "%{crate}" crate. %files -n %{name}+parallel_hash-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sha3-devel Summary: %{summary} @@ -131,10 +125,10 @@ BuildArch: noarch %description -n %{name}+sha3-devel %{_description} This package contains library source intended for building other packages which -use "the sha3" feature of the "%{crate}" crate. +use the "sha3" feature of the "%{crate}" crate. %files -n %{name}+sha3-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+shake-devel Summary: %{summary} @@ -143,10 +137,10 @@ BuildArch: noarch %description -n %{name}+shake-devel %{_description} This package contains library source intended for building other packages which -use "the shake" feature of the "%{crate}" crate. +use the "shake" feature of the "%{crate}" crate. %files -n %{name}+shake-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sp800-devel Summary: %{summary} @@ -155,10 +149,10 @@ BuildArch: noarch %description -n %{name}+sp800-devel %{_description} This package contains library source intended for building other packages which -use "the sp800" feature of the "%{crate}" crate. +use the "sp800" feature of the "%{crate}" crate. %files -n %{name}+sp800-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tuple_hash-devel Summary: %{summary} @@ -167,10 +161,10 @@ BuildArch: noarch %description -n %{name}+tuple_hash-devel %{_description} This package contains library source intended for building other packages which -use "the tuple_hash" feature of the "%{crate}" crate. +use the "tuple_hash" feature of the "%{crate}" crate. %files -n %{name}+tuple_hash-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/rust2rpm.conf b/rust2rpm.conf new file mode 100644 index 0000000..f626714 --- /dev/null +++ b/rust2rpm.conf @@ -0,0 +1,2 @@ +[DEFAULT] +all-features = true