|
|
|
@ -6,8 +6,8 @@
|
|
|
|
|
%global crate textwrap
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.10.0
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
Version: 0.11.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Small library for word wrapping, indenting, and dedenting strings
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
@ -19,9 +19,10 @@ ExclusiveArch: %{rust_arches}
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
BuildRequires: (crate(unicode-width/default) >= 0.1.3 with crate(unicode-width/default) < 0.2.0)
|
|
|
|
|
%if %{with check}
|
|
|
|
|
BuildRequires: (crate(lipsum/default) >= 0.5.0 with crate(lipsum/default) < 0.6.0)
|
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.4.0 with crate(rand/default) < 0.5.0)
|
|
|
|
|
BuildRequires: (crate(version-sync/default) >= 0.5.0 with crate(version-sync/default) < 0.6.0)
|
|
|
|
|
BuildRequires: (crate(lipsum/default) >= 0.6.0 with crate(lipsum/default) < 0.7.0)
|
|
|
|
|
BuildRequires: (crate(rand/default) >= 0.6.0 with crate(rand/default) < 0.7.0)
|
|
|
|
|
BuildRequires: (crate(rand_xorshift/default) >= 0.1.0 with crate(rand_xorshift/default) < 0.2.0)
|
|
|
|
|
BuildRequires: (crate(version-sync/default) >= 0.6.0 with crate(version-sync/default) < 0.7.0)
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%global _description \
|
|
|
|
@ -60,6 +61,18 @@ which use "default" feature of "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+hyphenation-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+hyphenation-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "hyphenation" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+hyphenation-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+term_size-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
@ -88,6 +101,9 @@ which use "term_size" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Apr 05 09:07:43 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.0-1
|
|
|
|
|
- Update to 0.11.0
|
|
|
|
|
|
|
|
|
|
* Sun Mar 10 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.10.0-6
|
|
|
|
|
- Do not pull optional dependencies
|
|
|
|
|
|
|
|
|
|