From f2f0636c3f918dca4d26d284c9514975c7d07688 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 20 Nov 2020 20:24:31 +0100 Subject: [PATCH] remove features with broken dependencies --- .rust2rpm.conf | 4 ++++ grep-searcher-fix-metadata.diff | 11 ----------- rust-grep-searcher.spec | 31 +++++-------------------------- 3 files changed, 9 insertions(+), 37 deletions(-) create mode 100644 .rust2rpm.conf delete mode 100644 grep-searcher-fix-metadata.diff diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..cae7951 --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,4 @@ +[DEFAULT] +unwanted-features = + avx-accel + simd-accel diff --git a/grep-searcher-fix-metadata.diff b/grep-searcher-fix-metadata.diff deleted file mode 100644 index c137137..0000000 --- a/grep-searcher-fix-metadata.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- grep-searcher-0.1.6/Cargo.toml 1970-01-01T00:00:00+00:00 -+++ grep-searcher-0.1.6/Cargo.toml 2019-09-13T15:38:24.907034+00:00 -@@ -27,7 +27,7 @@ - default-features = false - - [dependencies.bytecount] --version = "0.5" -+version = "0.6" - - [dependencies.encoding_rs] - version = "0.8.14" diff --git a/rust-grep-searcher.spec b/rust-grep-searcher.spec index b619974..2c009b5 100644 --- a/rust-grep-searcher.spec +++ b/rust-grep-searcher.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.7 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Fast line oriented regex searching as a library # Upstream license specification: Unlicense/MIT @@ -52,30 +52,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}+avx-accel-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+avx-accel-devel %{_description} - -This package contains library source intended for building other packages -which use "avx-accel" feature of "%{crate}" crate. - -%files -n %{name}+avx-accel-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+simd-accel-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+simd-accel-devel %{_description} - -This package contains library source intended for building other packages -which use "simd-accel" feature of "%{crate}" crate. - -%files -n %{name}+simd-accel-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -95,6 +71,9 @@ which use "simd-accel" feature of "%{crate}" crate. %endif %changelog +* Fri Nov 20 2020 Fabio Valentini - 0.1.7-3 +- Remove features with broken dependencies. + * Wed Jul 29 2020 Fedora Release Engineering - 0.1.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild