diff --git a/.gitignore b/.gitignore index 9789f9d..4115405 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /textwrap-0.9.0.crate /textwrap-0.10.0.crate +/textwrap-0.11.0.crate diff --git a/rust-textwrap.spec b/rust-textwrap.spec index 818cdd4..a3d0eec 100644 --- a/rust-textwrap.spec +++ b/rust-textwrap.spec @@ -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 - 0.11.0-1 +- Update to 0.11.0 + * Sun Mar 10 2019 Igor Gnatenko - 0.10.0-6 - Do not pull optional dependencies diff --git a/sources b/sources index 672299b..2045455 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (textwrap-0.10.0.crate) = cb50cc73f3f5ab704ef9e6d526b751f7e66de213fa534206e5b4e9da829f19aedda9f23f262f865fdb3247c703aeaa87f38099f6c575d1961ec923d62a9b2293 +SHA512 (textwrap-0.11.0.crate) = f5c0fe4f28ff1a3a0931e8e235b5157a45f67967985bcc752418c5ec3481fca44a8ae4800088889b37e8cd0533f53d3c456d5ffd19b767b3f83a87b49a2e209a