diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..335588c --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,4 @@ +[DEFAULT] +unwanted-features = + clippy + rocket diff --git a/rust-multipart.spec b/rust-multipart.spec index 1b634a9..206e836 100644 --- a/rust-multipart.spec +++ b/rust-multipart.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 16 %bcond_without check %global crate multipart Name: rust-%{crate} Version: 0.17.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Backend-agnostic extension for HTTP libraries # Upstream license specification: MIT OR Apache-2.0 @@ -14,7 +14,7 @@ URL: https://crates.io/crates/multipart Source: %{crates_source} # Initial patched metadata # - Bump twoway to 0.2 -# - Bump en_logger to 0.7.0 +# - Bump env_logger to 0.7.0 Patch0: multipart-fix-metadata.diff ExclusiveArch: %{rust_arches} @@ -104,18 +104,6 @@ which use "client" feature of "%{crate}" crate. %files -n %{name}+client-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+clippy-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+clippy-devel %{_description} - -This package contains library source intended for building other packages -which use "clippy" feature of "%{crate}" crate. - -%files -n %{name}+clippy-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+httparse-devel Summary: %{summary} BuildArch: noarch @@ -212,18 +200,6 @@ which use "quick-error" feature of "%{crate}" crate. %files -n %{name}+quick-error-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+rocket-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+rocket-devel %{_description} - -This package contains library source intended for building other packages -which use "rocket" feature of "%{crate}" crate. - -%files -n %{name}+rocket-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+safemem-devel Summary: %{summary} BuildArch: noarch @@ -288,13 +264,15 @@ sed -i 's/\r$//' fuzz_server.sh %install %cargo_install - %if %{with check} %check %cargo_test %endif %changelog +* Fri Dec 11 2020 Fabio Valentini - 0.17.0-2 +- Remove features with missing dependencies (clippy, rocket). + * Mon Sep 21 2020 Fabio Valentini - 0.17.0-1 - Update to version 0.17.0.