From e4c75b1929cd3e3b654327584c62b3799598a7c5 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 28 Nov 2020 15:51:39 +0100 Subject: [PATCH] remove features with missing dependencies (fancy-regex) --- .rust2rpm.conf | 5 +++++ rust-syntect.spec | 41 ++++------------------------------------- 2 files changed, 9 insertions(+), 37 deletions(-) create mode 100644 .rust2rpm.conf diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..7fbeaa5 --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,5 @@ +[DEFAULT] +unwanted-features = + default-fancy + fancy-regex + regex-fancy diff --git a/rust-syntect.spec b/rust-syntect.spec index 83a7a8c..dc810ce 100644 --- a/rust-syntect.spec +++ b/rust-syntect.spec @@ -7,7 +7,7 @@ Name: rust-%{crate} Version: 4.4.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library for high quality syntax highlighting and code intelligence # Upstream license specification: MIT @@ -78,18 +78,6 @@ which use "bincode" feature of "%{crate}" crate. %files -n %{name}+bincode-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+default-fancy-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+default-fancy-devel %{_description} - -This package contains library source intended for building other packages -which use "default-fancy" feature of "%{crate}" crate. - -%files -n %{name}+default-fancy-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+default-onig-devel Summary: %{summary} BuildArch: noarch @@ -150,18 +138,6 @@ which use "dump-load-rs" feature of "%{crate}" crate. %files -n %{name}+dump-load-rs-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+fancy-regex-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+fancy-regex-devel %{_description} - -This package contains library source intended for building other packages -which use "fancy-regex" feature of "%{crate}" crate. - -%files -n %{name}+fancy-regex-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+flate2-devel Summary: %{summary} BuildArch: noarch @@ -234,18 +210,6 @@ which use "parsing" feature of "%{crate}" crate. %files -n %{name}+parsing-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+regex-fancy-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+regex-fancy-devel %{_description} - -This package contains library source intended for building other packages -which use "regex-fancy" feature of "%{crate}" crate. - -%files -n %{name}+regex-fancy-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+regex-onig-devel Summary: %{summary} BuildArch: noarch @@ -313,6 +277,9 @@ which use "yaml-rust" feature of "%{crate}" crate. %endif %changelog +* Sat Nov 28 2020 Fabio Valentini - 4.4.0-2 +- Remove features with missing dependencies (fancy-regex). + * Wed Aug 26 2020 Josh Stone - 4.4.0-1 - Update to 4.4.0