From 6147cbcb24dd828217f3e824118c9f32906c9cb4 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 11 Dec 2020 12:38:45 +0100 Subject: [PATCH] remove dependencies on compiler internals --- .rust2rpm.conf | 5 +++++ rust-rustc-demangle.spec | 43 +++++----------------------------------- 2 files changed, 10 insertions(+), 38 deletions(-) create mode 100644 .rust2rpm.conf diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..302578b --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,5 @@ +[DEFAULT] +unwanted-features = + compiler_builtins + core + rustc-dep-of-std diff --git a/rust-rustc-demangle.spec b/rust-rustc-demangle.spec index a6a1a41..c592d45 100644 --- a/rust-rustc-demangle.spec +++ b/rust-rustc-demangle.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.18 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Rust compiler symbol demangling # Upstream license specification: MIT/Apache-2.0 @@ -52,42 +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}+compiler_builtins-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+compiler_builtins-devel %{_description} - -This package contains library source intended for building other packages -which use "compiler_builtins" feature of "%{crate}" crate. - -%files -n %{name}+compiler_builtins-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+core-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+core-devel %{_description} - -This package contains library source intended for building other packages -which use "core" feature of "%{crate}" crate. - -%files -n %{name}+core-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - -%package -n %{name}+rustc-dep-of-std-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+rustc-dep-of-std-devel %{_description} - -This package contains library source intended for building other packages -which use "rustc-dep-of-std" feature of "%{crate}" crate. - -%files -n %{name}+rustc-dep-of-std-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -107,6 +71,9 @@ which use "rustc-dep-of-std" feature of "%{crate}" crate. %endif %changelog +* Fri Dec 11 2020 Fabio Valentini - 0.1.18-2 +- Remove dependencies on compiler internals. + * Sun Oct 25 2020 Fabio Valentini - 0.1.18-1 - Update to version 0.1.18.