Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
epel9
Igor Gnatenko 6 years ago
parent 0776aa5c14
commit ee5b6cc28a
No known key found for this signature in database
GPG Key ID: 695714BD1BBC5F4C

@ -1,37 +1,44 @@
# Generated by rust2rpm # Generated by rust2rpm 9
# * Tests are run in infrastructure %bcond_without check
%bcond_with check
%global debug_package %{nil} %global debug_package %{nil}
%global crate textwrap %global crate textwrap
Name: rust-%{crate} Name: rust-%{crate}
Version: 0.11.0 Version: 0.11.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
# Upstream license specification: MIT
License: MIT License: MIT
URL: https://crates.io/crates/textwrap URL: https://crates.io/crates/textwrap
Source: %{crates_source} Source: %{crates_source}
# Initial patched metadata
# * Update version-sync to 0.8, https://github.com/mgeisler/textwrap/pull/159
Patch0: textwrap-fix-metadata.diff
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
%if ! %{__cargo_skip_build}
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.6.0 with crate(lipsum/default) < 0.7.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/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(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) BuildRequires: (crate(version-sync/default) >= 0.8.0 with crate(version-sync/default) < 0.9.0)
%endif
%endif %endif
%global _description \ %global _description %{expand:
Textwrap is a small library for word wrapping, indenting, and\ Small library for word wrapping, indenting, and dedenting strings.
dedenting strings.\
\ You can use it to format strings (such as help and error messages) for display
You can use it to format strings (such as help and error messages)\ in commandline applications. It is designed to be efficient and handle Unicode
for display in commandline applications. It is designed to be efficient\ characters correctly.}
and handle Unicode characters correctly.
%description %{_description} %description %{_description}
@ -101,6 +108,9 @@ which use "term_size" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Sun Jun 09 11:29:10 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.0-2
- Regenerate
* Fri Apr 05 09:07:43 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.0-1 * Fri Apr 05 09:07:43 CEST 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.11.0-1
- Update to 0.11.0 - Update to 0.11.0

@ -0,0 +1,11 @@
--- textwrap-0.11.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ textwrap-0.11.0/Cargo.toml 2019-06-09T09:31:20.567731+00:00
@@ -45,7 +45,7 @@
version = "0.1"
[dev-dependencies.version-sync]
-version = "0.6"
+version = "0.8"
[badges.appveyor]
repository = "mgeisler/textwrap"
Loading…
Cancel
Save