|
|
@ -6,7 +6,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Name: rust-%{crate}
|
|
|
|
Version: 0.9.0
|
|
|
|
Version: 0.9.0
|
|
|
|
Release: 1%{?dist}
|
|
|
|
Release: 2%{?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
|
|
|
@ -14,7 +14,8 @@ URL: https://crates.io/crates/textwrap
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
Source0: https://crates.io/api/v1/crates/%{crate}/%{version}/download#/%{crate}-%{version}.crate
|
|
|
|
# Initial patched metadata
|
|
|
|
# Initial patched metadata
|
|
|
|
# * XXX: hyphenation is optional and brings a lot of legacy
|
|
|
|
# * XXX: hyphenation is optional and brings a lot of legacy
|
|
|
|
# * Bump version-sync, 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
|
|
|
|
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
|
|
|
|
# [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.3.0 with crate(rand) < 0.4.0)
|
|
|
|
BuildRequires: (crate(version-sync) >= 0.4.0 with crate(version-sync) < 0.5.0)
|
|
|
|
BuildRequires: (crate(version-sync) >= 0.5.0 with crate(version-sync) < 0.6.0)
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
%description
|
|
|
@ -69,6 +70,9 @@ which use %{crate} from crates.io.
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Mon Nov 20 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-2
|
|
|
|
|
|
|
|
- Bump version-sync to 0.5
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Nov 09 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-1
|
|
|
|
* Thu Nov 09 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.9.0-1
|
|
|
|
- Update to 0.9.0
|
|
|
|
- Update to 0.9.0
|
|
|
|
|
|
|
|
|
|
|
|