The package rpms/rust-flate2.git has added or updated architecture specific content in
its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/rust-flate2.git/commit/?id=699cb7....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit 699cb7a702d149d165458e2189a523824c9d9acf
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Thu Mar 30 22:40:40 2023 +0200
Update to version 1.0.25; Fixes RHBZ#2148188
diff --git a/.gitignore b/.gitignore
index ea34a92..70740ff 100644
--- a/.gitignore
+++ b/.gitignore
@@ -15,3 +15,4 @@
/flate2-1.0.21.crate
/flate2-1.0.22.crate
/flate2-1.0.24.crate
+/flate2-1.0.25.crate
diff --git a/README.md b/README.md
deleted file mode 100644
index be76bf8..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-flate2
-
-The rust-flate2 package
\ No newline at end of file
diff --git a/flate2-fix-metadata-auto.diff b/flate2-fix-metadata-auto.diff
new file mode 100644
index 0000000..21d1718
--- /dev/null
+++ b/flate2-fix-metadata-auto.diff
@@ -0,0 +1,10 @@
+--- flate2-1.0.25/Cargo.toml 1970-01-01T00:00:01+00:00
++++ flate2-1.0.25/Cargo.toml 2023-03-30T20:36:23.247717+00:00
+@@ -90,7 +90,3 @@
+ "libz-sys/zlib-ng",
+ ]
+
+-[target."cfg(all(target_arch = \"wasm32\", not(target_os =
\"emscripten\")))".dependencies.miniz_oxide]
+-version = "0.6.0"
+-features = ["with-alloc"]
+-default-features = false
diff --git a/flate2-fix-metadata.diff b/flate2-fix-metadata.diff
deleted file mode 100644
index e5ad324..0000000
--- a/flate2-fix-metadata.diff
+++ /dev/null
@@ -1,10 +0,0 @@
---- flate2-1.0.24/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ flate2-1.0.24/Cargo.toml 2022-08-09T08:55:49.802987+00:00
-@@ -88,7 +88,3 @@
- "zlib",
- "libz-sys/zlib-ng",
- ]
--
--[target."cfg(all(target_arch = \"wasm32\", not(target_os =
\"emscripten\")))".dependencies.miniz_oxide]
--version = "0.5.0"
--default-features = false
diff --git a/rust-flate2.spec b/rust-flate2.spec
index df0a081..500d944 100644
--- a/rust-flate2.spec
+++ b/rust-flate2.spec
@@ -1,29 +1,26 @@
-# Generated by rust2rpm 22
+# Generated by rust2rpm 24
%bcond_without check
%global debug_package %{nil}
%global crate flate2
Name: rust-flate2
-Version: 1.0.24
+Version: 1.0.25
Release: %autorelease
Summary: DEFLATE compression and decompression exposed as Read/BufRead/Write
streams
License: MIT OR Apache-2.0
URL:
https://crates.io/crates/flate2
Source: %{crates_source}
-# Manually created patch for downstream crate metadata changes
-# * remove WASM-specific dependencies
-Patch: flate2-fix-metadata.diff
-
-ExclusiveArch: %{rust_arches}
+# Automatically generated patch to strip foreign dependencies
+Patch: flate2-fix-metadata-auto.diff
BuildRequires: rust-packaging >= 21
%global _description %{expand:
-DEFLATE compression and decompression exposed as Read/BufRead/Write streams.
-Supports miniz_oxide and multiple zlib implementations. Supports zlib, gzip,
-and raw deflate streams.}
+DEFLATE compression and decompression exposed as Read/BufRead/Write
+streams. Supports miniz_oxide and multiple zlib implementations.
+Supports zlib, gzip, and raw deflate streams.}
%description %{_description}
diff --git a/sources b/sources
index fe7fbcc..d39483c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (flate2-1.0.24.crate) =
8faf97c28dcc4553f4880295677b1269b4acbc6518d006913d32d7e319990c6631e10f1baf7199b96e03f6de95b9e2de04502522bb1eb45bc301a0fbb0bfc0c5
+SHA512 (flate2-1.0.25.crate) =
d81a463360ee2778f609ff297e04548120d1fda1f9e020fb2f429ea51189b8fe6cae57252fcd924d71fb65ad0f93ff7cdc7235913f8b78fa82925939cf884af7