Update to version 0.11.1; Fixes RHBZ#2031431

epel9
Fabio Valentini 3 years ago
parent 43eec1abcc
commit 2da128012d
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

1
.gitignore vendored

@ -2,3 +2,4 @@
/*.src.rpm
/mockall-0.10.2.crate
/mockall-0.11.1.crate

@ -1,13 +1,14 @@
--- mockall-0.10.2/Cargo.toml 1970-01-01T00:00:01+00:00
+++ mockall-0.10.2/Cargo.toml 2021-08-27T14:41:03.779150+00:00
@@ -44,10 +44,6 @@
replace = "{{date}}"
--- mockall-0.11.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ mockall-0.11.1/Cargo.toml 2022-07-15T08:40:14.244752+00:00
@@ -54,11 +54,6 @@
search = "ReleaseDate"
replace = "{{date}}"
-[[example]]
-name = "serde"
-crate-type = ["lib"]
-path = "examples/serde.rs"
-
[dependencies.cfg-if]
version = "1.0"

@ -1,11 +1,11 @@
# Generated by rust2rpm 18
# Generated by rust2rpm 21
%bcond_without check
%global debug_package %{nil}
%global crate mockall
Name: rust-%{crate}
Version: 0.10.2
Version: 0.11.1
Release: %autorelease
Summary: Powerful mock object library for Rust
@ -18,11 +18,8 @@ Source: %{crates_source}
Patch0: mockall-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: rust-packaging >= 21
%global _description %{expand:
Powerful mock object library for Rust.}
@ -35,13 +32,14 @@ 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}/README.md
%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@ -49,11 +47,11 @@ 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

@ -1 +1 @@
SHA512 (mockall-0.10.2.crate) = 7613d35f9ca12a895c00167f43385b19f7f045ce59b44157f72ad2a4dd5ed106b5c2f3fd03bc362c09f5f88b3929f61c0611d9c52b13cd039834b98c32b409f4
SHA512 (mockall-0.11.1.crate) = 18f421d03378331634d2bba55d9fb18ff4a9a3cb20d910b56679a5fbcbcc05da9f7da2f768113437a06ad7e829447dd7ec61d896ba550399053a0169888b285d

Loading…
Cancel
Save