|
|
@ -6,8 +6,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 1.0.2
|
|
|
|
Version: 1.0.2
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?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
|
|
|
@ -17,27 +17,43 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
# [dependencies]
|
|
|
|
BuildRequires: (crate(csv-core/default) >= 0.1.4 with crate(csv-core/default) < 0.2.0)
|
|
|
|
BuildRequires: (crate(csv-core) >= 0.1.4 with crate(csv-core) < 0.2.0)
|
|
|
|
BuildRequires: (crate(serde/default) >= 1.0.55 with crate(serde/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(serde) >= 1.0.55 with crate(serde) < 2.0.0)
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
# [dev-dependencies]
|
|
|
|
BuildRequires: (crate(serde_bytes/default) >= 0.10.4 with crate(serde_bytes/default) < 0.11.0)
|
|
|
|
BuildRequires: (crate(serde_bytes) >= 0.10.4 with crate(serde_bytes) < 0.11.0)
|
|
|
|
BuildRequires: (crate(serde_derive/default) >= 1.0.55 with crate(serde_derive/default) < 2.0.0)
|
|
|
|
BuildRequires: (crate(serde_derive) >= 1.0.55 with crate(serde_derive) < 2.0.0)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%global _description \
|
|
|
|
%{summary}.
|
|
|
|
Fast CSV parsing with support for serde.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel %{_description}
|
|
|
|
Fast CSV parsing with support for serde.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
which use %{crate} from crates.io.
|
|
|
|
which use "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%license COPYING LICENSE-MIT UNLICENSE
|
|
|
|
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
@ -54,12 +70,10 @@ which use %{crate} from crates.io.
|
|
|
|
%cargo_test
|
|
|
|
%cargo_test
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
|
|
|
%license COPYING LICENSE-MIT UNLICENSE
|
|
|
|
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Nov 09 2018 Robert-André Mauchin <zebob.m@gmail.com> - 1.0.2-2
|
|
|
|
|
|
|
|
- Adapt to new packaging
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Sep 25 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.2-1
|
|
|
|
* Tue Sep 25 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.0.2-1
|
|
|
|
- Update to 1.0.2
|
|
|
|
- Update to 1.0.2
|
|
|
|
|
|
|
|
|
|
|
|