reintroduce accidentally dropped no_extern_crate_alloc feature

epel9
Fabio Valentini 4 years ago
parent 524760c721
commit 502fa28be6
No known key found for this signature in database
GPG Key ID: 5AC5F572E5D410AF

@ -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-07T15:20:30+00:00
+++ miniz_oxide-0.4.3/Cargo.toml 2020-10-26T19:10:01.960509+00:00 +++ miniz_oxide-0.4.3/Cargo.toml 2020-11-07T17:52:19.058796+00:00
@@ -32,22 +32,5 @@ @@ -32,22 +32,8 @@
version = "0.2.3" version = "0.2.3"
default-features = false default-features = false
@ -19,7 +19,7 @@
-package = "rustc-std-workspace-core" -package = "rustc-std-workspace-core"
[build-dependencies.autocfg] [build-dependencies.autocfg]
version = "1.0" version = "1.0"
-
-[features] [features]
-no_extern_crate_alloc = [] no_extern_crate_alloc = []
-rustc-dep-of-std = ["core", "alloc", "compiler_builtins", "adler/rustc-dep-of-std"] -rustc-dep-of-std = ["core", "alloc", "compiler_builtins", "adler/rustc-dep-of-std"]

@ -1,4 +1,4 @@
# Generated by rust2rpm 13 # Generated by rust2rpm 15
%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: 0.4.3 Version: 0.4.3
Release: 1%{?dist} Release: 2%{?dist}
Summary: DEFLATE compression and decompression library rewritten in Rust based on miniz Summary: DEFLATE compression and decompression library rewritten in Rust based on miniz
# Upstream license specification: MIT OR Zlib OR Apache-2.0 # 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 %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}+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 %prep
%autosetup -n %{crate}-%{version_no_tilde} -p1 %autosetup -n %{crate}-%{version_no_tilde} -p1
# remove executable bit from build.rs, which breaks brp-mangle-shebangs # remove executable bit from build.rs, which breaks brp-mangle-shebangs
@ -76,6 +88,9 @@ chmod -x build.rs
%endif %endif
%changelog %changelog
* Sat Nov 07 2020 Fabio Valentini <decathorpe@gmail.com> - 0.4.3-2
- Reintroduce accidentally dropped no_extern_crate_alloc feature.
* Mon Oct 26 2020 Fabio Valentini <decathorpe@gmail.com> - 0.4.3-1 * Mon Oct 26 2020 Fabio Valentini <decathorpe@gmail.com> - 0.4.3-1
- Update to version 0.4.3. - Update to version 0.4.3.

Loading…
Cancel
Save