Notification time stamped 2022-05-31 22:26:07 UTC
From 164e7af4994d0c807a1102b7afd14175368ce08d Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe(a)gmail.com>
Date: May 31 2022 22:14:35 +0000
Subject: Update to version 2.1.1; Fixes RHBZ#2042492
---
diff --git a/.gitignore b/.gitignore
index cd13b14..0851b1b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,4 @@
/actix-server-1.0.2.crate
/actix-server-1.0.3.crate
/actix-server-1.0.4.crate
+/actix-server-2.1.1.crate
diff --git a/.rust2rpm.conf b/.rust2rpm.conf
new file mode 100644
index 0000000..dda165d
--- /dev/null
+++ b/.rust2rpm.conf
@@ -0,0 +1,4 @@
+[DEFAULT]
+unwanted-features =
+ io-uring
+ tokio-uring
diff --git a/actix-server-fix-metadata.diff b/actix-server-fix-metadata.diff
deleted file mode 100644
index 4351424..0000000
--- a/actix-server-fix-metadata.diff
+++ /dev/null
@@ -1,11 +0,0 @@
---- actix-server-1.0.4/Cargo.toml 2020-09-12T14:51:17+00:00
-+++ actix-server-1.0.4/Cargo.toml 2020-09-21T19:30:02.854695+00:00
-@@ -66,5 +66,8 @@
- [dependencies.socket2]
- version = "0.3"
-
-+[dev-dependencies.bytes]
-+version = "0.5"
-+
- [features]
- default = []
diff --git a/rust-actix-server.spec b/rust-actix-server.spec
index 9c1aff8..54c4b49 100644
--- a/rust-actix-server.spec
+++ b/rust-actix-server.spec
@@ -1,11 +1,12 @@
-# Generated by rust2rpm 13
-%bcond_without check
+# Generated by rust2rpm 21
+# * tests can only be run in-tree
+%bcond_with check
%global debug_package %{nil}
%global crate actix-server
Name: rust-%{crate}
-Version: 1.0.4
+Version: 2.1.1
Release: %autorelease
Summary: General purpose TCP server built for the Actix ecosystem
@@ -13,16 +14,10 @@ Summary: General purpose TCP server built for the Actix
ecosystem
License: MIT or ASL 2.0
URL:
https://crates.io/crates/actix-server
Source: %{crates_source}
-# Initial patched metadata
-# * add missing "bytes" dependency for integration tests
-Patch0: actix-server-fix-metadata.diff
ExclusiveArch: %{rust_arches}
-%if %{__cargo_skip_build}
-BuildArch: noarch
-%endif
-BuildRequires: rust-packaging
+BuildRequires: rust-packaging >= 21
%global _description %{expand:
General purpose TCP server built for the Actix ecosystem.}
@@ -35,13 +30,15 @@ BuildArch: noarch
%description devel %{_description}
-This package contains library source intended for building other packages
-which use "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "%{crate}" crate.
%files devel
-%license LICENSE-MIT LICENSE-APACHE
-%doc CHANGES.md
-%{cargo_registry}/%{crate}-%{version_no_tilde}/
+%license %{crate_instdir}/LICENSE-APACHE
+%license %{crate_instdir}/LICENSE-MIT
+%doc %{crate_instdir}/CHANGES.md
+%doc %{crate_instdir}/README.md
+%{crate_instdir}/
%package -n %{name}+default-devel
Summary: %{summary}
@@ -49,11 +46,11 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description}
-This package contains library source intended for building other packages
-which use "default" feature of "%{crate}" crate.
+This package contains library source intended for building other packages which
+use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
-%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
+%ghost %{crate_instdir}/Cargo.toml
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
diff --git a/sources b/sources
index 7191b8b..d9d9c0a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (actix-server-1.0.4.crate) =
def9d79442ec6f4398168d4357bd5e15c391cffee49c803b387c5e5f968136bf34a7955b3ee8a45208ecdc5435c70fb26b3f8cb6cd604e1201fdfe0f317dd427
+SHA512 (actix-server-2.1.1.crate) =
eca31d69edf3c755a23b048bcf2cc4662ca527e6e8ee282a9905caafe4bd1ca1b5fd082d3a8d440610cb67c6a8703bb096094e18cb82dc55f72f01635ddec193
https://src.fedoraproject.org/rpms/rust-actix-server/c/164e7af4994d0c807a...