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-cfg-if.spec b/rust-cfg-if.spec index 8cf24e7..6c26748 100644 --- a/rust-cfg-if.spec +++ b/rust-cfg-if.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: 1.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Macro to ergonomically define an item depending on a large number of #[cfg] parameters # Upstream license specification: MIT/Apache-2.0 @@ -54,42 +54,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 @@ -109,6 +73,9 @@ which use "rustc-dep-of-std" feature of "%{crate}" crate. %endif %changelog +* Tue Nov 24 2020 Fabio Valentini - 1.0.0-2 +- Remove dependencies on compiler internals. + * Sun Oct 11 2020 Fabio Valentini - 1.0.0-1 - Update to version 1.0.0.