drop unused hyphenation feature (missing dependencies)

epel9
Fabio Valentini 3 years ago
parent 9cd371d463
commit 4704f5f4bf
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -1,4 +1,4 @@
# Generated by rust2rpm 15
# Generated by rust2rpm 20
%bcond_with check
%global debug_package %{nil}
@ -6,18 +6,18 @@
Name: rust-%{crate}0.11
Version: 0.11.0
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Small 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
# * drop unused hyphenation feature (missing dependencies)
Patch0: textwrap-fix-metadata.diff
ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging
@ -35,8 +35,8 @@ BuildArch: noarch
%description devel %{_description}
This package contains library source intended for building other packages
which use "%{crate}" crate.
This package contains library source intended for building other packages which
use the "%{crate}" crate.
%files devel
%license LICENSE
@ -49,32 +49,20 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages
which use "default" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/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_no_tilde}/Cargo.toml
%package -n %{name}+term_size-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+term_size-devel %{_description}
This package contains library source intended for building other packages
which use "term_size" feature of "%{crate}" crate.
This package contains library source intended for building other packages which
use the "term_size" feature of the "%{crate}" crate.
%files -n %{name}+term_size-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
@ -98,6 +86,9 @@ which use "term_size" feature of "%{crate}" crate.
%endif
%changelog
* Tue Jan 25 2022 Fabio Valentini <decathorpe@gmail.com> - 0.11.0-5
- Drop unused hyphenation feature (missing dependencies).
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

@ -0,0 +1,13 @@
--- textwrap-0.11.0/Cargo.toml 1970-01-01T00:00:00+00:00
+++ textwrap-0.11.0/Cargo.toml 2022-01-25T21:28:46.598508+00:00
@@ -24,10 +24,6 @@
repository = "https://github.com/mgeisler/textwrap"
[package.metadata.docs.rs]
all-features = true
-[dependencies.hyphenation]
-version = "0.7.1"
-features = ["embed_all"]
-optional = true
[dependencies.term_size]
version = "0.3.0"
Loading…
Cancel
Save