diff --git a/.gitignore b/.gitignore index c7e5ac0..52c8758 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ /ctr-0.6.0.crate /ctr-0.7.0.crate /ctr-0.8.0.crate +/ctr-0.9.1.crate diff --git a/rust-ctr.spec b/rust-ctr.spec index f241350..3b7dc93 100644 --- a/rust-ctr.spec +++ b/rust-ctr.spec @@ -1,14 +1,14 @@ -# Generated by rust2rpm 18 -# * resolve circular dependency with aes +# Generated by rust2rpm 20 +# * missing dev-dependencies: kuznyechik, magma %bcond_with check %global debug_package %{nil} %global crate ctr Name: rust-%{crate} -Version: 0.8.0 +Version: 0.9.1 Release: %autorelease -Summary: CTR block mode of operation +Summary: CTR block modes of operation # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 @@ -16,14 +16,11 @@ URL: https://crates.io/crates/ctr Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging %global _description %{expand: -CTR block mode of operation.} +CTR block modes of operation.} %description %{_description} @@ -33,12 +30,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 @@ -47,12 +44,60 @@ 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}+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}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +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 143ff1f..ac24e92 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (ctr-0.8.0.crate) = 26f4925cb50c72263cb939a4dcc7750f8fd50e3a2785fe86ae01f0d6c76d2842f4b8c35e67cf4df51cb9a72601065b0338f2311acbc2c8d0402b53444a7532cb +SHA512 (ctr-0.9.1.crate) = 96c46ad09d6be2af8e926da6df16063b5a64129bf191eec63db2f290abb64b4476c73c6796b1d0ceaedb070421ce74f41b63e5c22c4a6ae040a686f85295c59e