From 502fa28be660cbee381b331baca017c7edf83cd6 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Nov 07 2020 17:53:48 +0000 Subject: reintroduce accidentally dropped no_extern_crate_alloc feature --- diff --git a/miniz_oxide-fix-metadata.diff b/miniz_oxide-fix-metadata.diff index b060170..6da649a 100644 --- a/miniz_oxide-fix-metadata.diff +++ b/miniz_oxide-fix-metadata.diff @@ -1,6 +1,6 @@ --- miniz_oxide-0.4.3/Cargo.toml 2020-10-07T15:20:30+00:00 -+++ miniz_oxide-0.4.3/Cargo.toml 2020-10-26T19:10:01.960509+00:00 -@@ -32,22 +32,5 @@ ++++ miniz_oxide-0.4.3/Cargo.toml 2020-11-07T17:52:19.058796+00:00 +@@ -32,22 +32,8 @@ version = "0.2.3" default-features = false @@ -19,7 +19,7 @@ -package = "rustc-std-workspace-core" [build-dependencies.autocfg] version = "1.0" -- --[features] --no_extern_crate_alloc = [] + + [features] + no_extern_crate_alloc = [] -rustc-dep-of-std = ["core", "alloc", "compiler_builtins", "adler/rustc-dep-of-std"] diff --git a/rust-miniz_oxide.spec b/rust-miniz_oxide.spec index 7eb1fda..0ef13f0 100644 --- a/rust-miniz_oxide.spec +++ b/rust-miniz_oxide.spec @@ -1,4 +1,4 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 15 %bcond_without check %global debug_package %{nil} @@ -6,7 +6,7 @@ Name: rust-%{crate} Version: 0.4.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: DEFLATE compression and decompression library rewritten in Rust based on miniz # Upstream license specification: MIT OR Zlib OR Apache-2.0 @@ -55,6 +55,18 @@ which use "default" feature of "%{crate}" crate. %files -n %{name}+default-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%package -n %{name}+no_extern_crate_alloc-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+no_extern_crate_alloc-devel %{_description} + +This package contains library source intended for building other packages +which use "no_extern_crate_alloc" feature of "%{crate}" crate. + +%files -n %{name}+no_extern_crate_alloc-devel +%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml + %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 # remove executable bit from build.rs, which breaks brp-mangle-shebangs @@ -76,6 +88,9 @@ chmod -x build.rs %endif %changelog +* Sat Nov 07 2020 Fabio Valentini - 0.4.3-2 +- Reintroduce accidentally dropped no_extern_crate_alloc feature. + * Mon Oct 26 2020 Fabio Valentini - 0.4.3-1 - Update to version 0.4.3.