remove dependencies on compiler internals

epel9
Fabio Valentini 4 years ago
parent ba92f57378
commit 7124029f34
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -0,0 +1,5 @@
[DEFAULT]
unwanted-features =
compiler_builtins
core
rustc-dep-of-std

@ -1,4 +1,4 @@
# Generated by rust2rpm 13 # Generated by rust2rpm 16
%bcond_without check %bcond_without check
%global debug_package %{nil} %global debug_package %{nil}
@ -6,7 +6,7 @@
Name: rust-%{crate} Name: rust-%{crate}
Version: 1.0.0 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 Summary: Macro to ergonomically define an item depending on a large number of #[cfg] parameters
# Upstream license specification: MIT/Apache-2.0 # Upstream license specification: MIT/Apache-2.0
@ -54,42 +54,6 @@ which use "default" feature of "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %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 %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep %cargo_prep
@ -109,6 +73,9 @@ which use "rustc-dep-of-std" feature of "%{crate}" crate.
%endif %endif
%changelog %changelog
* Tue Nov 24 2020 Fabio Valentini <decathorpe@gmail.com> - 1.0.0-2
- Remove dependencies on compiler internals.
* Sun Oct 11 2020 Fabio Valentini <decathorpe@gmail.com> - 1.0.0-1 * Sun Oct 11 2020 Fabio Valentini <decathorpe@gmail.com> - 1.0.0-1
- Update to version 1.0.0. - Update to version 1.0.0.

Loading…
Cancel
Save