Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 0340eb66ca
commit 9132f836e1
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,14 +1,16 @@
# Generated by rust2rpm-9-1.fc31
# Generated by rust2rpm 10
# * https://github.com/rust-lang-nursery/error-chain/issues/242
%bcond_with check
%global debug_package %{nil}
# https://github.com/rust-lang-nursery/error-chain/issues/267
%global __cargo_is_bin() false
%global crate error-chain
Name: rust-%{crate}
Version: 0.12.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Error boilerplate library
# Upstream license specification: MIT/Apache-2.0
@ -17,13 +19,14 @@ URL: https://crates.io/crates/error-chain
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
BuildRequires: (crate(backtrace/default) >= 0.3.3 with crate(backtrace/default) < 0.4.0)
BuildRequires: (crate(version_check/default) >= 0.1.5 with crate(version_check/default) < 0.2.0)
%global _description \
Yet another error boilerplate library.
%global _description %{expand:
Yet another error boilerplate library.}
%description %{_description}
@ -81,6 +84,9 @@ which use "example_generated" feature of "%{crate}" crate.
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep
%generate_buildrequires
%cargo_generate_buildrequires
%build
%cargo_build
@ -89,11 +95,13 @@ which use "example_generated" feature of "%{crate}" crate.
%if %{with check}
%check
# https://github.com/rust-lang-nursery/error-chain/issues/242
%cargo_test || :
%cargo_test
%endif
%changelog
* Fri Jun 21 20:11:52 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.1-2
- Regenerate
* Sun May 12 11:15:44 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.1-1
- Update to 0.12.1

Loading…
Cancel
Save