|
|
@ -5,8 +5,8 @@
|
|
|
|
%global crate csv
|
|
|
|
%global crate csv
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 1.0.0
|
|
|
|
Version: 1.0.1
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Fast CSV parsing with support for serde
|
|
|
|
Summary: Fast CSV parsing with support for serde
|
|
|
|
|
|
|
|
|
|
|
|
License: Unlicense or MIT
|
|
|
|
License: Unlicense or MIT
|
|
|
@ -18,11 +18,11 @@ ExclusiveArch: %{rust_arches}
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
# [dependencies]
|
|
|
|
# [dependencies]
|
|
|
|
BuildRequires: (crate(csv-core) >= 0.1.4 with crate(csv-core) < 0.2.0)
|
|
|
|
BuildRequires: (crate(csv-core) >= 0.1.4 with crate(csv-core) < 0.2.0)
|
|
|
|
BuildRequires: (crate(serde) >= 1.0.7 with crate(serde) < 2.0.0)
|
|
|
|
BuildRequires: (crate(serde) >= 1.0.55 with crate(serde) < 2.0.0)
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
# [dev-dependencies]
|
|
|
|
# [dev-dependencies]
|
|
|
|
BuildRequires: (crate(serde_bytes) >= 0.10.0 with crate(serde_bytes) < 0.11.0)
|
|
|
|
BuildRequires: (crate(serde_bytes) >= 0.10.4 with crate(serde_bytes) < 0.11.0)
|
|
|
|
BuildRequires: (crate(serde_derive) >= 1.0.0 with crate(serde_derive) < 2.0.0)
|
|
|
|
BuildRequires: (crate(serde_derive) >= 1.0.55 with crate(serde_derive) < 2.0.0)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -42,6 +42,9 @@ which use %{crate} from crates.io.
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# https://github.com/BurntSushi/rust-csv/pull/128
|
|
|
|
|
|
|
|
chmod -x benches/bench.rs
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
|
|
@ -60,6 +63,9 @@ which use %{crate} from crates.io.
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,ci,scripts}
|
|
|
|
%exclude %{cargo_registry}/%{crate}-%{version}/{appveyor.yml,ci,scripts}
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Thu Aug 30 2018 Josh Stone <jistone@redhat.com> - 1.0.1-1
|
|
|
|
|
|
|
|
- Update to 1.0.1
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
|
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|