|
|
@ -1,12 +1,12 @@
|
|
|
|
# Generated by rust2rpm
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
%bcond_with check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate tendril
|
|
|
|
%global crate tendril
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.4.1
|
|
|
|
Version: 0.4.1
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Summary: Compact buffer/string type for zero-copy parsing
|
|
|
|
Summary: Compact buffer/string type for zero-copy parsing
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
@ -15,17 +15,14 @@ URL: https://crates.io/crates/tendril
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: (crate(futf/default) >= 0.1.1 with crate(futf/default) < 0.2.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(mac/default) >= 0.1.0 with crate(mac/default) < 0.2.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(utf-8/default) >= 0.7.0 with crate(utf-8/default) < 0.8.0)
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.4.0 with crate(rand/default) < 0.5.0)
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
%global _description %{expand:
|
|
|
|
Compact buffer/string type for zero-copy parsing.
|
|
|
|
Compact buffer/string type for zero-copy parsing.}
|
|
|
|
|
|
|
|
|
|
|
|
%description %{_description}
|
|
|
|
%description %{_description}
|
|
|
|
|
|
|
|
|
|
|
@ -95,6 +92,9 @@ which use "encoding_rs" feature of "%{crate}" crate.
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
%cargo_build
|
|
|
|
|
|
|
|
|
|
|
@ -107,5 +107,8 @@ which use "encoding_rs" feature of "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Jun 23 10:27:28 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.1-2
|
|
|
|
|
|
|
|
- Regenerate
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 11 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.1-1
|
|
|
|
* Mon Mar 11 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.4.1-1
|
|
|
|
- Initial package
|
|
|
|
- Initial package
|
|
|
|