The package rpms/rust-warp.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-warp.git/commit/?id=ee1486e2....
Change:
-ExclusiveArch: %{rust_arches}
Thanks.
Full change:
============
commit ee1486e278a4b3adcba6d9f3de8b0cde09cfa56b
Author: Fabio Valentini <decathorpe(a)gmail.com>
Date: Fri Apr 28 22:29:45 2023 +0200
Update to version 0.3.5; Fixes RHBZ#2130320
diff --git a/.gitignore b/.gitignore
index b1f64e1..99dc015 100644
--- a/.gitignore
+++ b/.gitignore
@@ -10,3 +10,4 @@
/warp-0.2.5.crate
/warp-0.3.1.crate
/warp-0.3.2.crate
+/warp-0.3.5.crate
diff --git a/0001-port-to-tungstenite-0.17.patch b/0001-port-to-tungstenite-0.17.patch
deleted file mode 100644
index 3240daf..0000000
--- a/0001-port-to-tungstenite-0.17.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-From 563b1241c4a987ec1e40f277c92876a9eedc3a8a Mon Sep 17 00:00:00 2001
-From: Fabio Valentini <decathorpe(a)gmail.com>
-Date: Wed, 20 Jul 2022 17:11:36 +0200
-Subject: [PATCH] port to tungstenite 0.17
-
----
- src/filters/ws.rs | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/filters/ws.rs b/src/filters/ws.rs
-index dd3b9d4..1e953c7 100644
---- a/src/filters/ws.rs
-+++ b/src/filters/ws.rs
-@@ -373,6 +373,7 @@ impl Message {
- protocol::Message::Ping(ref v) => v,
- protocol::Message::Pong(ref v) => v,
- protocol::Message::Close(_) => &[],
-+ protocol::Message::Frame(ref frame) => frame.payload(),
- }
- }
-
---
-2.37.1
-
diff --git a/README.md b/README.md
deleted file mode 100644
index ebe4858..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# rust-warp
-
-The rust-warp package
\ No newline at end of file
diff --git a/rust-warp.spec b/rust-warp.spec
index ce3c050..01ed881 100644
--- a/rust-warp.spec
+++ b/rust-warp.spec
@@ -1,26 +1,18 @@
-# Generated by rust2rpm 22
-# * tracing-log and tracing-subscriber are not packaged yet
+# Generated by rust2rpm 24
+# * missing dev-dependencies: tracing-log, tracing-subscriber
%bcond_with check
%global debug_package %{nil}
%global crate warp
Name: rust-warp
-Version: 0.3.2
+Version: 0.3.5
Release: %autorelease
Summary: Serve the web at warp speeds
License: MIT
URL:
https://crates.io/crates/warp
Source: %{crates_source}
-# Manually created patch for downstream crate metadata changes
-# * bump tokio-tungstenite from 0.15 to 0.17:
-#
https://github.com/seanmonstar/warp/commit/11169f2
-# * drop unused multipart feature with outdated dependencies
-Patch: warp-fix-metadata.diff
-Patch: 0001-port-to-tungstenite-0.17.patch
-
-ExclusiveArch: %{rust_arches}
BuildRequires: rust-packaging >= 21
@@ -104,6 +96,30 @@ use the "compression-gzip" feature of the
"%{crate}" crate.
%files -n %{name}+compression-gzip-devel
%ghost %{crate_instdir}/Cargo.toml
+%package -n %{name}+multer-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+multer-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "multer" feature of the "%{crate}" crate.
+
+%files -n %{name}+multer-devel
+%ghost %{crate_instdir}/Cargo.toml
+
+%package -n %{name}+multipart-devel
+Summary: %{summary}
+BuildArch: noarch
+
+%description -n %{name}+multipart-devel %{_description}
+
+This package contains library source intended for building other packages which
+use the "multipart" feature of the "%{crate}" crate.
+
+%files -n %{name}+multipart-devel
+%ghost %{crate_instdir}/Cargo.toml
+
%package -n %{name}+tokio-tungstenite-devel
Summary: %{summary}
BuildArch: noarch
diff --git a/sources b/sources
index d832ef5..9e2f0d6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (warp-0.3.2.crate) =
1390394d76dc95d888eec6670b668b1572502251c6e65eaa050d9717298be51799a84ef0407462337295a42116162644280f6b5bebde608f14b904312cabafac
+SHA512 (warp-0.3.5.crate) =
4c8dbf71b955aab3503643570e52908838b834a7eaa3b0b5dceb2a7070df8ab3cb6d0e65e9b01cf43f25ee5fbe5b4c693776ab4d93deb193a48dc0807d09154f
diff --git a/warp-fix-metadata.diff b/warp-fix-metadata.diff
deleted file mode 100644
index 4d98216..0000000
--- a/warp-fix-metadata.diff
+++ /dev/null
@@ -1,43 +0,0 @@
---- warp-0.3.2/Cargo.toml 1970-01-01T00:00:01+00:00
-+++ warp-0.3.2/Cargo.toml 2022-09-28T16:23:55.599799+00:00
-@@ -52,10 +52,6 @@
- name = "query_string"
-
- [[test]]
--name = "multipart"
--required-features = ["multipart"]
--
--[[test]]
- name = "ws"
- required-features = ["websocket"]
- [dependencies.async-compression]
-@@ -94,12 +90,6 @@
- [dependencies.mime_guess]
- version = "2.0.0"
-
--[dependencies.multipart]
--version = "0.18"
--features = ["server"]
--optional = true
--default-features = false
--
- [dependencies.percent-encoding]
- version = "2.1"
-
-@@ -130,7 +120,7 @@
- version = "0.1.1"
-
- [dependencies.tokio-tungstenite]
--version = "0.15"
-+version = "0.17"
- optional = true
-
- [dependencies.tokio-util]
-@@ -174,6 +164,6 @@
- compression = ["compression-brotli", "compression-gzip"]
- compression-brotli = ["async-compression/brotli"]
- compression-gzip = ["async-compression/deflate",
"async-compression/gzip"]
--default = ["multipart", "websocket"]
-+default = ["websocket"]
- tls = ["tokio-rustls"]
- websocket = ["tokio-tungstenite"]