|
|
|
@ -1,21 +1,18 @@
|
|
|
|
|
# Generated by rust2rpm 10
|
|
|
|
|
# Generated by rust2rpm 15
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate textwrap
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.11.0
|
|
|
|
|
Release: 7%{?dist}
|
|
|
|
|
Summary: Small library for word wrapping, indenting, and dedenting strings
|
|
|
|
|
Version: 0.12.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Library for word wrapping, indenting, and dedenting strings
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT
|
|
|
|
|
License: MIT
|
|
|
|
|
URL: https://crates.io/crates/textwrap
|
|
|
|
|
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}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
@ -25,8 +22,7 @@ BuildArch: noarch
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
|
Small library for word wrapping, indenting, and dedenting strings.
|
|
|
|
|
|
|
|
|
|
Library for word wrapping, indenting, and dedenting strings.
|
|
|
|
|
You can use it to format strings (such as help and error messages) for display
|
|
|
|
|
in commandline applications. It is designed to be efficient and handle Unicode
|
|
|
|
|
characters correctly.}
|
|
|
|
@ -45,7 +41,7 @@ which use "%{crate}" crate.
|
|
|
|
|
%files devel
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%doc README.md
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version}/
|
|
|
|
|
%{cargo_registry}/%{crate}-%{version_no_tilde}/
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+default-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -57,7 +53,7 @@ This package contains library source intended for building other packages
|
|
|
|
|
which use "default" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+hyphenation-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
@ -69,19 +65,19 @@ 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
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+term_size-devel
|
|
|
|
|
%package -n %{name}+terminal_size-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+term_size-devel %{_description}
|
|
|
|
|
%description -n %{name}+terminal_size-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages
|
|
|
|
|
which use "term_size" feature of "%{crate}" crate.
|
|
|
|
|
which use "terminal_size" feature of "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+term_size-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version}/Cargo.toml
|
|
|
|
|
%files -n %{name}+terminal_size-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
@ -102,6 +98,9 @@ which use "term_size" feature of "%{crate}" crate.
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Sat Aug 29 19:37:04 CEST 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 0.12.1-1
|
|
|
|
|
- Update to 0.12.1
|
|
|
|
|
|
|
|
|
|
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-7
|
|
|
|
|
- Second attempt - Rebuilt for
|
|
|
|
|
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|