From e8b2e01652656331b9ebd553ef10e51d5f1c9b16 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Sat, 28 Nov 2020 15:33:06 +0100 Subject: [PATCH] add back accidentally removed std feature --- .rust2rpm.conf | 1 - rust-getrandom0.1.spec | 17 ++++++++++++++++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/.rust2rpm.conf b/.rust2rpm.conf index 0b2ef23..52c21c1 100644 --- a/.rust2rpm.conf +++ b/.rust2rpm.conf @@ -3,7 +3,6 @@ unwanted-features = compiler_builtins core rustc-dep-of-std - std stdweb test-in-browser wasm-bindgen diff --git a/rust-getrandom0.1.spec b/rust-getrandom0.1.spec index 2a92ac5..d9bbd76 100644 --- a/rust-getrandom0.1.spec +++ b/rust-getrandom0.1.spec @@ -6,7 +6,7 @@ Name: rust-%{crate}0.1 Version: 0.1.15 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Small cross-platform library for retrieving random data from system source # Upstream license specification: MIT OR Apache-2.0 @@ -79,6 +79,18 @@ which use "log" feature of "%{crate}" crate. %files -n %{name}+log-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+std-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+std-devel %{_description} + +This package contains library source intended for building other packages +which use "std" feature of "%{crate}" crate. + +%files -n %{name}+std-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep @@ -98,6 +110,9 @@ which use "log" feature of "%{crate}" crate. %endif %changelog +* Sat Nov 28 2020 Fabio Valentini - 0.1.15-3 +- Add back accidentally removed std feature. + * Sat Nov 28 2020 Fabio Valentini - 0.1.15-2 - Remove dependencies on compiler internals.