|
|
@ -5,16 +5,14 @@
|
|
|
|
%global crate byteorder
|
|
|
|
%global crate byteorder
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 1.3.1
|
|
|
|
Version: 1.3.2
|
|
|
|
Release: 4%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Library for reading/writing numbers in big-endian and little-endian
|
|
|
|
Summary: Library for reading/writing numbers in big-endian and little-endian
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Unlicense OR MIT
|
|
|
|
# Upstream license specification: Unlicense OR MIT
|
|
|
|
License: Unlicense or MIT
|
|
|
|
License: Unlicense or MIT
|
|
|
|
URL: https://crates.io/crates/byteorder
|
|
|
|
URL: https://crates.io/crates/byteorder
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# https://github.com/BurntSushi/byteorder/commit/c25f0f9db85c3de547053db8a36e208930c836e0
|
|
|
|
|
|
|
|
Patch0001: 0001-doc-fix-overflowing-literals-in-doc-tests.patch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
@ -24,6 +22,7 @@ BuildArch: noarch
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
%if ! %{__cargo_skip_build}
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
|
|
|
|
BuildRequires: (crate(doc-comment/default) >= 0.3.0 with crate(doc-comment/default) < 0.4.0)
|
|
|
|
BuildRequires: (crate(quickcheck) >= 0.8.0 with crate(quickcheck) < 0.9.0)
|
|
|
|
BuildRequires: (crate(quickcheck) >= 0.8.0 with crate(quickcheck) < 0.9.0)
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0)
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -100,6 +99,9 @@ which use "std" feature of "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Jun 09 17:01:45 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3.2-1
|
|
|
|
|
|
|
|
- Update to 1.3.2
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Jun 09 12:28:17 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3.1-4
|
|
|
|
* Sun Jun 09 12:28:17 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.3.1-4
|
|
|
|
- Fix skip_build
|
|
|
|
- Fix skip_build
|
|
|
|
|
|
|
|
|
|
|
|