|
|
@ -6,19 +6,21 @@
|
|
|
|
%global crate csv
|
|
|
|
%global crate csv
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 1.0.5
|
|
|
|
Version: 1.0.6
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: Fast CSV parsing with support for serde
|
|
|
|
Summary: Fast CSV parsing with support for serde
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: Unlicense/MIT
|
|
|
|
# Upstream license specification: Unlicense/MIT
|
|
|
|
License: Unlicense or MIT
|
|
|
|
License: Unlicense or MIT
|
|
|
|
URL: https://crates.io/crates/csv
|
|
|
|
URL: https://crates.io/crates/csv
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: (crate(csv-core/default) >= 0.1.4 with crate(csv-core/default) < 0.2.0)
|
|
|
|
BuildRequires: (crate(csv-core/default) >= 0.1.4 with crate(csv-core/default) < 0.2.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(itoa/default) >= 0.4.3 with crate(itoa/default) < 0.5.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(ryu/default) >= 0.2.7 with crate(ryu/default) < 0.3.0)
|
|
|
|
BuildRequires: (crate(serde/default) >= 1.0.55 with crate(serde/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(serde/default) >= 1.0.55 with crate(serde/default) < 2.0.0)
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
BuildRequires: (crate(serde_bytes/default) >= 0.10.4 with crate(serde_bytes/default) < 0.11.0)
|
|
|
|
BuildRequires: (crate(serde_bytes/default) >= 0.10.4 with crate(serde_bytes/default) < 0.11.0)
|
|
|
@ -57,7 +59,7 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
@ -72,6 +74,9 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Apr 05 2019 Josh Stone <jistone@redhat.com> - 1.0.6-1
|
|
|
|
|
|
|
|
- Update to 1.0.6
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-2
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|