|
|
@ -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
|
|
|
|
%bcond_with check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# https://github.com/rust-lang-nursery/error-chain/issues/267
|
|
|
|
%global __cargo_is_bin() false
|
|
|
|
%global __cargo_is_bin() false
|
|
|
|
|
|
|
|
|
|
|
|
%global crate error-chain
|
|
|
|
%global crate error-chain
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.12.1
|
|
|
|
Version: 0.12.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Error boilerplate library
|
|
|
|
Summary: Error boilerplate library
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
@ -17,13 +19,14 @@ URL: https://crates.io/crates/error-chain
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
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 \
|
|
|
|
%global _description %{expand:
|
|
|
|
Yet another error boilerplate library.
|
|
|
|
Yet another error boilerplate library.}
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
@ -81,6 +84,9 @@ which use "example_generated" feature of "%{crate}" crate.
|
|
|
|
%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
|
|
|
|
|
|
|
|
|
|
|
@ -89,11 +95,13 @@ which use "example_generated" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
# https://github.com/rust-lang-nursery/error-chain/issues/242
|
|
|
|
%cargo_test
|
|
|
|
%cargo_test || :
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%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
|
|
|
|
* Sun May 12 11:15:44 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.12.1-1
|
|
|
|
- Update to 0.12.1
|
|
|
|
- Update to 0.12.1
|
|
|
|
|
|
|
|
|
|
|
|