|
|
|
@ -6,14 +6,14 @@
|
|
|
|
|
%global crate serde_bytes
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.10.4
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Version: 0.10.5
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Optimized handling of `&[u8]` and `Vec<u8>` for Serde
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
|
License: MIT or ASL 2.0
|
|
|
|
|
URL: https://crates.io/crates/serde_bytes
|
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
@ -22,7 +22,7 @@ BuildRequires: (crate(serde) >= 1.0.0 with crate(serde) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(serde/alloc) >= 1.0.0 with crate(serde/alloc) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(serde/std) >= 1.0.0 with crate(serde/std) < 2.0.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(bincode/default) >= 0.8.0 with crate(bincode/default) < 0.9.0)
|
|
|
|
|
BuildRequires: (crate(bincode/default) >= 1.0.0 with crate(bincode/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(serde_derive/default) >= 1.0.0 with crate(serde_derive/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(serde_test/default) >= 1.0.0 with crate(serde_test/default) < 2.0.0)
|
|
|
|
|
%endif
|
|
|
|
@ -83,7 +83,7 @@ which use "std" feature of "%{crate}" crate.
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
@ -98,6 +98,9 @@ which use "std" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Feb 26 2019 Josh Stone <jistone@redhat.com> - 0.10.5-1
|
|
|
|
|
- Update to 0.10.5
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.4-7
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|