From 0c1c31562ddb99df867fa987c087a3b0f652bcc2 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 28 Nov 2020 15:09:33 +0100 Subject: [PATCH] remove features with missing dependencies (hyphenation) --- .rust2rpm.conf | 3 +++ rust-textwrap.spec | 17 ++++------------- 2 files changed, 7 insertions(+), 13 deletions(-) create mode 100644 .rust2rpm.conf diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..7ccae68 --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,3 @@ +[DEFAULT] +unwanted-features = + hyphenation diff --git a/rust-textwrap.spec b/rust-textwrap.spec index 9dfe9ae..e6d8acb 100644 --- a/rust-textwrap.spec +++ b/rust-textwrap.spec @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.12.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library for word wrapping, indenting, and dedenting strings # Upstream license specification: MIT @@ -58,18 +58,6 @@ which use "default" feature of "%{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}+terminal_size-devel Summary: %{summary} BuildArch: noarch @@ -101,6 +89,9 @@ which use "terminal_size" feature of "%{crate}" crate. %endif %changelog +* Sat Nov 28 2020 Fabio Valentini - 0.12.1-3 +- Remove features with missing dependencies (hyphenation). + * Tue Oct 20 2020 Fabio Valentini - 0.12.1-2 - Bump to lipsum 0.7.