From 62b630a440ca15bcaeaa326c12ecd0a86a0ea916 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Wed, 5 Oct 2022 12:27:28 +0200 Subject: [PATCH] Update to version 0.9.2; Fixes RHBZ#2131122 --- .gitignore | 1 + rust-ctr.spec | 29 +++++++++++++++-------------- sources | 2 +- 3 files changed, 17 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 52c8758..416aaa1 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /ctr-0.7.0.crate /ctr-0.8.0.crate /ctr-0.9.1.crate +/ctr-0.9.2.crate diff --git a/rust-ctr.spec b/rust-ctr.spec index 3b7dc93..7e6c9cf 100644 --- a/rust-ctr.spec +++ b/rust-ctr.spec @@ -1,23 +1,22 @@ -# Generated by rust2rpm 20 +# Generated by rust2rpm 22 # * missing dev-dependencies: kuznyechik, magma %bcond_with check %global debug_package %{nil} %global crate ctr -Name: rust-%{crate} -Version: 0.9.1 +Name: rust-ctr +Version: 0.9.2 Release: %autorelease Summary: CTR block modes of operation -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/ctr Source: %{crates_source} ExclusiveArch: %{rust_arches} -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: CTR block modes of operation.} @@ -34,9 +33,11 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license LICENSE-APACHE LICENSE-MIT -%doc CHANGELOG.md README.md -%{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 Summary: %{summary} @@ -48,7 +49,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+alloc-devel Summary: %{summary} @@ -60,7 +61,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+block-padding-devel Summary: %{summary} @@ -72,7 +73,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} @@ -84,7 +85,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+zeroize-devel Summary: %{summary} @@ -96,7 +97,7 @@ 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 +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index ac24e92..921dfbf 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ctr-0.9.1.crate) = 96c46ad09d6be2af8e926da6df16063b5a64129bf191eec63db2f290abb64b4476c73c6796b1d0ceaedb070421ce74f41b63e5c22c4a6ae040a686f85295c59e +SHA512 (ctr-0.9.2.crate) = 6a027f4e3881e51e3dbcb89348c961a2086bb63e70652c49107f49b7d021e31f74ec8c6ae91fd1605928f93f5ffa27889f257c166669e18508995168f17b46a5