Update to 0.4.0

Signed-off-by: Igor Raits <ignatenkobrain@fedoraproject.org>
epel9
Igor Raits 5 years ago
parent 4df9b04394
commit fcce3df7b3
No known key found for this signature in database
GPG Key ID: 115D5AB89C5C1E1E

1
.gitignore vendored

@ -1,2 +1,3 @@
/block-modes-0.3.2.crate /block-modes-0.3.2.crate
/block-modes-0.3.3.crate /block-modes-0.3.3.crate
/block-modes-0.4.0.crate

@ -1,34 +1,28 @@
# Generated by rust2rpm # Generated by rust2rpm 15
%bcond_with check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
%global crate block-modes %global crate block-modes
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.3.3 Version: 0.4.0
Release: 3%{?dist} Release: 1%{?dist}
Summary: Block cipher modes of operation Summary: Block cipher modes of operation
# Upstream license specification: MIT OR Apache-2.0 # Upstream license specification: MIT OR Apache-2.0
License: MIT or ASL 2.0 License: MIT or ASL 2.0
URL: https://crates.io/crates/block-modes URL: https://crates.io/crates/block-modes
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata
# * Update hex-literal to 0.2, https://github.com/RustCrypto/block-ciphers/pull/45
Patch0: block-modes-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
BuildRequires: (crate(block-cipher-trait/default) >= 0.6.0 with crate(block-cipher-trait/default) < 0.7.0)
BuildRequires: (crate(block-padding/default) >= 0.1.0 with crate(block-padding/default) < 0.2.0)
%if %{with check}
BuildRequires: (crate(aes-soft/default) >= 0.3.0 with crate(aes-soft/default) < 0.4.0)
BuildRequires: (crate(hex-literal/default) >= 0.2.0 with crate(hex-literal/default) < 0.3.0)
%endif
%global _description \ %global _description %{expand:
Block cipher modes of operation. Block cipher modes of operation.}
%description %{_description} %description %{_description}
@ -43,7 +37,8 @@ which use "%{crate}" crate.
%files devel %files devel
%license LICENSE-APACHE LICENSE-MIT %license LICENSE-APACHE LICENSE-MIT
%{cargo_registry}/%{crate}-%{version}/ %doc README.md CHANGELOG.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/
%package -n %{name}+default-devel %package -n %{name}+default-devel
Summary: %{summary} Summary: %{summary}
@ -55,7 +50,19 @@ This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate. which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %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 "alloc" feature of "%{crate}" crate.
%files -n %{name}+alloc-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%package -n %{name}+std-devel %package -n %{name}+std-devel
Summary: %{summary} Summary: %{summary}
@ -67,12 +74,15 @@ This package contains library source intended for building other packages
which use "std" feature of "%{crate}" crate. which use "std" feature of "%{crate}" crate.
%files -n %{name}+std-devel %files -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
%prep %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build %build
%cargo_build %cargo_build
@ -85,6 +95,9 @@ which use "std" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Wed Jun 24 08:02:49 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.4.0-1
- Update to 0.4.0
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3-3 * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

@ -1 +1 @@
SHA512 (block-modes-0.3.3.crate) = 7a24506a559eb9d35b77935c23e4cfd160f988ee71d1c8f8d7c6e7d0b5533ade5d8121ef76bc08786ad7232f2ba50276983a44c8825468c3ff322fedff56b656 SHA512 (block-modes-0.4.0.crate) = 41256e858c43b1dcee3be51538f3c3fd951c677ef112295f6c6dbaf125809cc07ddf1c7c8798df7d65eb682a4080b7d1bfdafd932ca273094a8ebfc068ca50e7

Loading…
Cancel
Save