|
|
|
@ -1,13 +1,12 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
# * Tests are run in infrastructure
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate either
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 1.5.2
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Enum `Either` is a general purpose sum type with two cases
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
@ -16,12 +15,15 @@ URL: https://crates.io/crates/either
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
The enum `Either` with variants `Left` and `Right` is a general purpose sum\
|
|
|
|
|
type with two cases.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Enum `Either` with variants `Left` and `Right` is a general purpose sum type
|
|
|
|
|
with two cases.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -79,6 +81,9 @@ which use "use_std" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -91,6 +96,9 @@ which use "use_std" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Wed Jun 19 23:16:16 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5.2-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Tue Apr 02 2019 Josh Stone <jistone@redhat.com> - 1.5.2-1
|
|
|
|
|
- Update to 1.5.2
|
|
|
|
|
|
|
|
|
|