From 1f32f4e22e31ae532dfead09e0c0961d0747d0cb Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sun, 20 Feb 2022 13:51:23 +0100 Subject: [PATCH] Update to version 0.4.2; Fixes RHBZ#2052855 --- .gitignore | 1 + rust-cipher.spec | 77 ++++++++++++++++++++++++++++++++++++++---------- sources | 2 +- 3 files changed, 63 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 3226936..bac588d 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /cipher-0.2.5.crate /cipher-0.3.0.crate +/cipher-0.4.2.crate diff --git a/rust-cipher.spec b/rust-cipher.spec index 356658d..ecf7739 100644 --- a/rust-cipher.spec +++ b/rust-cipher.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate cipher Name: rust-%{crate} -Version: 0.3.0 +Version: 0.4.2 Release: %autorelease Summary: Traits for describing block ciphers and stream ciphers @@ -15,9 +15,6 @@ URL: https://crates.io/crates/cipher Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -32,12 +29,12 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel %license LICENSE-APACHE LICENSE-MIT -%doc README.md CHANGELOG.md +%doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -46,48 +43,96 @@ 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. +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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+alloc-devel %{_description} + +This package contains library source intended for building other packages which +use the "alloc" feature of the "%{crate}" crate. + +%files -n %{name}+alloc-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+blobby-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+blobby-devel %{_description} -This package contains library source intended for building other packages -which use "blobby" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "blobby" feature of the "%{crate}" crate. %files -n %{name}+blobby-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+block-padding-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+block-padding-devel %{_description} + +This package contains library source intended for building other packages which +use the "block-padding" feature of the "%{crate}" crate. + +%files -n %{name}+block-padding-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %package -n %{name}+dev-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dev-devel %{_description} -This package contains library source intended for building other packages -which use "dev" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "dev" feature of the "%{crate}" crate. %files -n %{name}+dev-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+rand_core-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+rand_core-devel %{_description} + +This package contains library source intended for building other packages which +use the "rand_core" feature of the "%{crate}" crate. + +%files -n %{name}+rand_core-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. +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 %{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 the "zeroize" feature of the "%{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 diff --git a/sources b/sources index fed6b6c..4625776 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cipher-0.3.0.crate) = 8f0094c7786160730825cff21ca838f52801783f1f4f66755b0771595963b8b99fc926265ff502c66b94a2e6703d592d42bbed96ebf8d3a690bd5e731f0f5c4f +SHA512 (cipher-0.4.2.crate) = 410a4a8473c0cb43c087e6c6bda6e3aa55b0c1a8eca10b3266c023943f7ce8dfd1661c1eb4ae9e9f473d393dbb2311bc38e741e41cf4f25d94a2782ca32d9258