|
|
@ -6,19 +6,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.3.24
|
|
|
|
Version: 0.3.24
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Summary: Generic serialization/deserialization support
|
|
|
|
Summary: Generic serialization/deserialization support
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
URL: https://crates.io/crates/rustc-serialize
|
|
|
|
URL: https://crates.io/crates/rustc-serialize
|
|
|
|
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 rand to 0.4
|
|
|
|
|
|
|
|
Patch0: rustc-serialize-0.3.24-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
# [dev-dependencies]
|
|
|
|
# [dev-dependencies]
|
|
|
|
BuildRequires: (crate(rand) >= 0.3.0 with crate(rand) < 0.4.0)
|
|
|
|
BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -58,6 +61,9 @@ which use %{crate} from crates.io.
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/appveyor.yml
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Jan 01 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.24-3
|
|
|
|
|
|
|
|
- Bump rand to 0.4
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Nov 05 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.24-2
|
|
|
|
* Sun Nov 05 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.3.24-2
|
|
|
|
- Exclude unneeded files
|
|
|
|
- Exclude unneeded files
|
|
|
|
|
|
|
|
|
|
|
|