diff --git a/.gitignore b/.gitignore index 1742ea2..cdb5752 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ /actix-http-2.0.0-alpha.4.crate /actix-http-2.0.0-beta.3.crate /actix-http-2.0.0.crate +/actix-http-2.1.0.crate diff --git a/actix-http-fix-metadata.diff b/actix-http-fix-metadata.diff new file mode 100644 index 0000000..b8102b2 --- /dev/null +++ b/actix-http-fix-metadata.diff @@ -0,0 +1,8 @@ +--- actix-http-2.1.0/Cargo.toml 2020-10-30T02:30:52+00:00 ++++ actix-http-2.1.0/Cargo.toml 2020-11-02T23:23:24.734668+00:00 +@@ -179,5 +179,4 @@ + compress = ["flate2", "brotli2"] + default = [] + openssl = ["actix-tls/openssl", "actix-connect/openssl"] +-rustls = ["actix-tls/rustls", "actix-connect/rustls"] + secure-cookies = ["cookie/secure"] diff --git a/rust-actix-http.spec b/rust-actix-http.spec index 1c1fc8e..af5d367 100644 --- a/rust-actix-http.spec +++ b/rust-actix-http.spec @@ -7,14 +7,17 @@ %global crate actix-http Name: rust-%{crate} -Version: 2.0.0 +Version: 2.1.0 Release: 1%{?dist} -Summary: Actix HTTP primitives +Summary: HTTP primitives for the Actix ecosystem # Upstream license specification: MIT OR Apache-2.0 License: MIT or ASL 2.0 URL: https://crates.io/crates/actix-http Source: %{crates_source} +# Initial patched metadata +# * remove features with unpackaged dependencies +Patch0: actix-http-fix-metadata.diff ExclusiveArch: %{rust_arches} %if %{__cargo_skip_build} @@ -24,7 +27,7 @@ BuildArch: noarch BuildRequires: rust-packaging %global _description %{expand: -Actix HTTP primitives.} +HTTP primitives for the Actix ecosystem.} %description %{_description} @@ -138,18 +141,6 @@ which use "openssl" feature of "%{crate}" crate. %files -n %{name}+openssl-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml -%package -n %{name}+rustls-devel -Summary: %{summary} -BuildArch: noarch - -%description -n %{name}+rustls-devel %{_description} - -This package contains library source intended for building other packages -which use "rustls" feature of "%{crate}" crate. - -%files -n %{name}+rustls-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml - %package -n %{name}+secure-cookies-devel Summary: %{summary} BuildArch: noarch @@ -181,6 +172,10 @@ which use "secure-cookies" feature of "%{crate}" crate. %endif %changelog +* Tue Nov 03 2020 Fabio Valentini - 2.1.0-1 +- Update to version 2.1.0. +- Fixes RHBZ#1893068 + * Mon Sep 21 2020 Fabio Valentini - 2.0.0-1 - Update to version 2.0.0. diff --git a/sources b/sources index 9a1b86e..dc40ee0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (actix-http-2.0.0.crate) = d811858aec71c36b5441fd6a674b240ef7a50ec09253ec75270dea2c260eb756d6ab51f900327e2d39514d24fe11552700797e9f0a06a465c616e7da351f96d2 +SHA512 (actix-http-2.1.0.crate) = b4ca13635489672e12781acce5087699fdd4f8a3e5eb8fe4966677311c2c74aeba0395241ac51e202fc25918a326f324d66cfee4f45583ad34874775f93e43bf