|
|
@ -6,12 +6,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.7.2
|
|
|
|
Version: 0.7.2
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: YAML support for Serde
|
|
|
|
Summary: YAML support for Serde
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
URL: https://crates.io/crates/serde_yaml
|
|
|
|
URL: https://crates.io/crates/serde_yaml
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * Bump version-sync to 0.5, https://github.com/dtolnay/serde-yaml/pull/82
|
|
|
|
|
|
|
|
Patch0: serde_yaml-0.7.2-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
@ -25,7 +28,7 @@ BuildRequires: ((crate(yaml-rust) >= 0.3.5 with crate(yaml-rust) < 0.4.0) with
|
|
|
|
# [dev-dependencies]
|
|
|
|
# [dev-dependencies]
|
|
|
|
BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
|
|
|
|
BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
|
|
|
|
BuildRequires: (crate(unindent) >= 0.1.0 with crate(unindent) < 0.2.0)
|
|
|
|
BuildRequires: (crate(unindent) >= 0.1.0 with crate(unindent) < 0.2.0)
|
|
|
|
BuildRequires: (crate(version-sync) >= 0.4.0 with crate(version-sync) < 0.5.0)
|
|
|
|
BuildRequires: (crate(version-sync) >= 0.5.0 with crate(version-sync) < 0.6.0)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -63,6 +66,9 @@ which use %{crate} from crates.io.
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/travis.sh
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/travis.sh
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Nov 20 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.2-2
|
|
|
|
|
|
|
|
- Bump version-sync to 0.5
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Nov 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.2-1
|
|
|
|
* Wed Nov 15 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.7.2-1
|
|
|
|
- Update to 0.7.2
|
|
|
|
- Update to 0.7.2
|
|
|
|
|
|
|
|
|
|
|
|