|
|
|
@ -1,12 +1,12 @@
|
|
|
|
|
# Generated by rust2rpm 9
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate bincode
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 1.1.4
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: Binary serialization / deserialization strategy that uses Serde
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
@ -15,15 +15,11 @@ URL: https://crates.io/crates/bincode
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(autocfg/default) >= 0.1.2 with crate(autocfg/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(byteorder/default) >= 1.3.0 with crate(byteorder/default) < 2.0.0)
|
|
|
|
|
BuildRequires: (crate(serde/default) >= 1.0.63 with crate(serde/default) < 2.0.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(serde_bytes/default) >= 0.11.0 with crate(serde_bytes/default) < 0.12.0)
|
|
|
|
|
BuildRequires: (crate(serde_derive/default) >= 1.0.27 with crate(serde_derive/default) < 2.0.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Binary serialization / deserialization strategy that uses Serde for
|
|
|
|
@ -73,6 +69,9 @@ which use "i128" feature of "%{crate}" crate.
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
@ -85,6 +84,9 @@ which use "i128" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 20 16:43:28 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.4-2
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
* Wed May 15 08:17:16 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.4-1
|
|
|
|
|
- Update to 1.1.4
|
|
|
|
|
|
|
|
|
|