|
|
|
@ -1,30 +1,31 @@
|
|
|
|
|
# Generated by rust2rpm
|
|
|
|
|
# * Tests are run in infrastructure
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate yaml-rust
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.4.3
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: YAML 1.2 parser for rust
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
|
URL: https://crates.io/crates/yaml-rust
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
# * Update quickcheck to 0.8, https://github.com/chyh1990/yaml-rust/pull/131
|
|
|
|
|
Patch0: yaml-rust-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(linked-hash-map/default) >= 0.0.9 with crate(linked-hash-map/default) < 0.6.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(quickcheck/default) >= 0.7.0 with crate(quickcheck/default) < 0.8.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
|
The missing YAML 1.2 parser for rust.
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Missing YAML 1.2 parser for rust.}
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
@ -60,6 +61,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
chmod -x tests/specs/cpp2rust.rb
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -72,6 +76,9 @@ chmod -x tests/specs/cpp2rust.rb
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 20 09:25:38 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.3-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Thu Mar 07 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.3-1
|
|
|
|
|
- Update to 0.4.3
|
|
|
|
|
|
|
|
|
|