From 628333b9f86e51fd692bfd382223e5c6f92c27c1 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 12 Dec 2020 20:54:57 +0100 Subject: [PATCH] remove features with missing dependencies (fst) --- .rust2rpm.conf | 4 ++++ rust-regex-automata.spec | 31 +++++-------------------------- 2 files changed, 9 insertions(+), 26 deletions(-) create mode 100644 .rust2rpm.conf diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..629ace8 --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,4 @@ +[DEFAULT] +unwanted-features = + fst + transducer diff --git a/rust-regex-automata.spec b/rust-regex-automata.spec index 0ebd9cd..0159a5c 100644 --- a/rust-regex-automata.spec +++ b/rust-regex-automata.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 16 %bcond_without check %global debug_package %{nil} @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.1.9 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Automata construction and matching using regular expressions # Upstream license specification: Unlicense/MIT @@ -55,18 +55,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}+fst-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+fst-devel %{_description} - -This package contains library source intended for building other packages -which use "fst" feature of "%{crate}" crate. - -%files -n %{name}+fst-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+regex-syntax-devel Summary: %{summary} BuildArch: noarch @@ -91,18 +79,6 @@ which use "std" feature of "%{crate}" crate. %files -n %{name}+std-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+transducer-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+transducer-devel %{_description} - -This package contains library source intended for building other packages -which use "transducer" feature of "%{crate}" crate. - -%files -n %{name}+transducer-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -122,6 +98,9 @@ which use "transducer" feature of "%{crate}" crate. %endif %changelog +* Sat Dec 12 2020 Fabio Valentini - 0.1.9-3 +- Remove features with missing dependencies (fst). + * Wed Jul 29 2020 Fedora Release Engineering - 0.1.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild