|
|
@ -7,20 +7,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.10.0
|
|
|
|
Version: 0.10.0
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Release: 6%{?dist}
|
|
|
|
Summary: Small library for word wrapping, indenting, and dedenting strings
|
|
|
|
Summary: Small library for word wrapping, indenting, and dedenting strings
|
|
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
License: MIT
|
|
|
|
URL: https://crates.io/crates/textwrap
|
|
|
|
URL: https://crates.io/crates/textwrap
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Initial patched metadata
|
|
|
|
|
|
|
|
# * XXX: hyphenation is optional and brings a lot of legacy
|
|
|
|
|
|
|
|
Patch0: textwrap-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
BuildRequires: (crate(term_size/default) >= 0.3.0 with crate(term_size/default) < 0.4.0)
|
|
|
|
|
|
|
|
BuildRequires: (crate(unicode-width/default) >= 0.1.3 with crate(unicode-width/default) < 0.2.0)
|
|
|
|
BuildRequires: (crate(unicode-width/default) >= 0.1.3 with crate(unicode-width/default) < 0.2.0)
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
BuildRequires: (crate(lipsum/default) >= 0.5.0 with crate(lipsum/default) < 0.6.0)
|
|
|
|
BuildRequires: (crate(lipsum/default) >= 0.5.0 with crate(lipsum/default) < 0.6.0)
|
|
|
@ -77,7 +73,7 @@ which use "term_size" 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
|
|
|
@ -92,6 +88,9 @@ which use "term_size" feature of "%{crate}" crate.
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.0-6
|
|
|
|
|
|
|
|
- Do not pull optional dependencies
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-5
|
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
|
|