diff --git a/.gitignore b/.gitignore index c20b3d1..2361d25 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /miniz_oxide-0.3.6.crate /miniz_oxide-0.3.7.crate /miniz_oxide-0.4.3.crate +/miniz_oxide-0.4.4.crate diff --git a/.rust2rpm.conf b/.rust2rpm.conf new file mode 100644 index 0000000..86bc300 --- /dev/null +++ b/.rust2rpm.conf @@ -0,0 +1,6 @@ +[DEFAULT] +unwanted-features = + alloc + compiler_builtins + core + rustc-dep-of-std diff --git a/miniz_oxide-fix-metadata.diff b/miniz_oxide-fix-metadata.diff deleted file mode 100644 index 6da649a..0000000 --- a/miniz_oxide-fix-metadata.diff +++ /dev/null @@ -1,25 +0,0 @@ ---- miniz_oxide-0.4.3/Cargo.toml 2020-10-07T15:20:30+00:00 -+++ 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 - --[dependencies.alloc] --version = "1.0.0" --optional = true --package = "rustc-std-workspace-alloc" -- --[dependencies.compiler_builtins] --version = "0.1.2" --optional = true -- --[dependencies.core] --version = "1.0.0" --optional = true --package = "rustc-std-workspace-core" - [build-dependencies.autocfg] - version = "1.0" - - [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 8854944..e43cf76 100644 --- a/rust-miniz_oxide.spec +++ b/rust-miniz_oxide.spec @@ -1,21 +1,18 @@ -# Generated by rust2rpm 15 +# Generated by rust2rpm 16 %bcond_without check %global debug_package %{nil} %global crate miniz_oxide Name: rust-%{crate} -Version: 0.4.3 -Release: 3%{?dist} +Version: 0.4.4 +Release: 1%{?dist} Summary: DEFLATE compression and decompression library rewritten in Rust based on miniz # Upstream license specification: MIT OR Zlib OR Apache-2.0 License: MIT or zlib or ASL 2.0 URL: https://crates.io/crates/miniz_oxide Source: %{crates_source} -# Initial patched metadata -# * remove dependencies on compiler internals -Patch0: miniz_oxide-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -88,6 +85,10 @@ chmod -x build.rs %endif %changelog +* Thu Feb 25 2021 Fabio Valentini - 0.4.4-1 +- Update to version 0.4.4. +- Fixes RHBZ#1933081 + * Wed Jan 27 2021 Fedora Release Engineering - 0.4.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild diff --git a/sources b/sources index c1d9a1d..7488687 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (miniz_oxide-0.4.3.crate) = 8c0e2b3a585a0986a61977d4459adb1a7c396ab53f4f688dcbeb2a09c60878b0423f54fd1879c190f5c64690a2473ed2a07d4162a650f6c39f402f6b27e863b7 +SHA512 (miniz_oxide-0.4.4.crate) = 2c6e484a8a53c6b1fb84e2bf9518919e6e5ba84e7716c0bb8e33b53dc0d3432c35f28f19c18368e27c94f6df66b7674f514ef889cf1b19f546bedfb6e6ebaf6f