|
|
@ -6,7 +6,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.9.0
|
|
|
|
Version: 0.9.0
|
|
|
|
Release: 2%{?dist}
|
|
|
|
Release: 3%{?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
|
|
|
@ -16,6 +16,7 @@ Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{
|
|
|
|
# * XXX: hyphenation is optional and brings a lot of legacy
|
|
|
|
# * XXX: hyphenation is optional and brings a lot of legacy
|
|
|
|
# * Bump lipsum to 0.4, https://github.com/mgeisler/textwrap/commit/5c20fdef54644e1050ddc4f8a98e0bccc48513b5
|
|
|
|
# * Bump lipsum to 0.4, https://github.com/mgeisler/textwrap/commit/5c20fdef54644e1050ddc4f8a98e0bccc48513b5
|
|
|
|
# * Bump version-sync to 0.5, https://github.com/mgeisler/textwrap/commit/7160be3cb39c8503a433f6703efbdf66ece108e3
|
|
|
|
# * Bump version-sync to 0.5, https://github.com/mgeisler/textwrap/commit/7160be3cb39c8503a433f6703efbdf66ece108e3
|
|
|
|
|
|
|
|
# * Bump rand to 0.4, https://github.com/mgeisler/textwrap/pull/120
|
|
|
|
Patch0: textwrap-0.9.0-fix-metadata.diff
|
|
|
|
Patch0: textwrap-0.9.0-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
@ -27,7 +28,7 @@ BuildRequires: (crate(unicode-width) >= 0.1.3 with crate(unicode-width) < 0.2.0
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
# [dev-dependencies]
|
|
|
|
# [dev-dependencies]
|
|
|
|
BuildRequires: (crate(lipsum) >= 0.4.0 with crate(lipsum) < 0.5.0)
|
|
|
|
BuildRequires: (crate(lipsum) >= 0.4.0 with crate(lipsum) < 0.5.0)
|
|
|
|
BuildRequires: (crate(rand) >= 0.3.0 with crate(rand) < 0.4.0)
|
|
|
|
BuildRequires: (crate(rand) >= 0.4.0 with crate(rand) < 0.5.0)
|
|
|
|
BuildRequires: (crate(version-sync) >= 0.5.0 with crate(version-sync) < 0.6.0)
|
|
|
|
BuildRequires: (crate(version-sync) >= 0.5.0 with crate(version-sync) < 0.6.0)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
@ -70,6 +71,9 @@ which use %{crate} from crates.io.
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Jan 01 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-3
|
|
|
|
|
|
|
|
- Bump rand to 0.4
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 20 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-2
|
|
|
|
* Mon Nov 20 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-2
|
|
|
|
- Bump version-sync to 0.5
|
|
|
|
- Bump version-sync to 0.5
|
|
|
|
|
|
|
|
|
|
|
|