Update to version 0.3.0; Fixes RHBZ#2031421

epel9
Fabio Valentini 3 years ago
parent 253b382ed8
commit c19056e6be
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -4,3 +4,4 @@
/mockall_double-0.2.0.crate
/LICENSE-APACHE
/LICENSE-MIT
/mockall_double-0.3.0.crate

@ -1,11 +1,11 @@
# Generated by rust2rpm 18
# Generated by rust2rpm 21
%bcond_without check
%global debug_package %{nil}
%global crate mockall_double
Name: rust-%{crate}
Version: 0.2.0
Version: 0.3.0
Release: %autorelease
Summary: Test double adapter for Mockall
@ -13,16 +13,10 @@ Summary: Test double adapter for Mockall
License: MIT or ASL 2.0
URL: https://crates.io/crates/mockall_double
Source: %{crates_source}
# https://github.com/asomers/mockall/issues/328
Source1: https://github.com/asomers/mockall/raw/mockall_double-v0.2.0/LICENSE-APACHE
Source2: https://github.com/asomers/mockall/raw/mockall_double-v0.2.0/LICENSE-MIT
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Test double adapter for Mockall.}
@ -35,13 +29,15 @@ 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-MIT LICENSE-APACHE
%doc 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}
@ -49,16 +45,15 @@ 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
%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
cp %{SOURCE1} %{SOURCE2} .
%generate_buildrequires
%cargo_generate_buildrequires

@ -1,3 +1 @@
SHA512 (mockall_double-0.2.0.crate) = ecc21b427393f7165031247613479fc993afd2ce5784ec627b50c3664cea0cd2899c19d1de4591a62efb1f7f308e9fe6e365ae03d7009f5fcd891b5c3badee74
SHA512 (LICENSE-APACHE) = 175a88be0fdec82e81809921d4e03113c369534f7c1de0594438af5b0c596f26cb713ae0de52de682dbbf725a88340d051631577e10b0092c17b9b04465de3c8
SHA512 (LICENSE-MIT) = e70db24309be386c1782fc311fbfcbc00555418fcfbae26ef5aab7292f0a4a506952f4146f738337b51af766add80930e396102d071051a072b55ad093e9bd91
SHA512 (mockall_double-0.3.0.crate) = b49fd1c23200ebe426b386cf38a4f45cfc78a0893dd1c4a17a3d04158773538ea351b8974292933404913f61ad96f30c049c09b5762f0ade84628d03f4e42ba4

Loading…
Cancel
Save