Compare commits

..

No commits in common. 'i9ce' and 'i10ce' have entirely different histories.
i9ce ... i10ce

1
.gitignore vendored

@ -0,0 +1 @@
SOURCES/tokio-rustls-0.26.1.crate

@ -0,0 +1 @@
123c50142d5cbe86df225e8c671a1aec7d56ea8d SOURCES/tokio-rustls-0.26.1.crate

@ -0,0 +1,29 @@
[package]
cargo-toml-patch-comments = [
"default to \"ring\" crypto backend and drop \"aws-lc-rs\" backend",
]
[tests]
skip = [
# require internet access
"common::test_stream::stream_handshake_regression_issues_77",
"test_modern",
"test_tls12",
"test_tls12_vectored",
"test_modern_vectored",
# expired test certificate
"common::test_stream::stream_bad",
"common::test_stream::stream_buffered_handshake",
"common::test_stream::stream_eof",
"common::test_stream::stream_good",
"common::test_stream::stream_good_vectored",
"common::test_stream::stream_handshake",
"pass",
"test_lazy_config_acceptor",
]
skip-exact = true
comments = [
"skip tests that require internet access",
"skip tests that fail due to expired certificates",
]

Binary file not shown.

@ -0,0 +1,19 @@
--- tokio-rustls-0.26.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ tokio-rustls-0.26.1/Cargo.toml 2024-12-09T19:53:04.387605+00:00
@@ -90,15 +90,12 @@
version = "0.26"
[features]
-aws-lc-rs = ["aws_lc_rs"]
-aws_lc_rs = ["rustls/aws_lc_rs"]
default = [
"logging",
"tls12",
- "aws_lc_rs",
+ "ring",
]
early-data = []
-fips = ["rustls/fips"]
logging = ["rustls/logging"]
ring = ["rustls/ring"]
tls12 = ["rustls/tls12"]

@ -1,29 +1,30 @@
## START: Set by rpmautospec
## (rpmautospec version 0.3.5)
## (rpmautospec version 0.7.3)
## RPMAUTOSPEC: autorelease, autochangelog
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
release_number = 4;
release_number = 1;
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
print(release_number + base_release_number - 1);
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
## END: Set by rpmautospec
# Generated by rust2rpm 25
# * outdated dev-dependencies: rustls-webpki, webpki-roots
%bcond_with check
# Generated by rust2rpm 27
%bcond check 1
%global debug_package %{nil}
%global crate tokio-rustls
Name: rust-tokio-rustls
Version: 0.24.1
Version: 0.26.1
Release: %autorelease
Summary: Asynchronous TLS/SSL streams for Tokio using Rustls
# Upstream license specification: MIT/Apache-2.0
License: MIT OR Apache-2.0
URL: https://crates.io/crates/tokio-rustls
Source: %{crates_source}
# Manually created patch for downstream crate metadata changes
# * default to "ring" crypto backend and drop "aws-lc-rs" backend
Patch: tokio-rustls-fix-metadata.diff
BuildRequires: cargo-rpm-macros >= 24
@ -59,18 +60,6 @@ use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+dangerous_configuration-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+dangerous_configuration-devel %{_description}
This package contains library source intended for building other packages which
use the "dangerous_configuration" feature of the "%{crate}" crate.
%files -n %{name}+dangerous_configuration-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+early-data-devel
Summary: %{summary}
BuildArch: noarch
@ -95,16 +84,16 @@ use the "logging" feature of the "%{crate}" crate.
%files -n %{name}+logging-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+secret_extraction-devel
%package -n %{name}+ring-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+secret_extraction-devel %{_description}
%description -n %{name}+ring-devel %{_description}
This package contains library source intended for building other packages which
use the "secret_extraction" feature of the "%{crate}" crate.
use the "ring" feature of the "%{crate}" crate.
%files -n %{name}+secret_extraction-devel
%files -n %{name}+ring-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+tls12-devel
@ -134,12 +123,47 @@ use the "tls12" feature of the "%{crate}" crate.
%if %{with check}
%check
%cargo_test
# * skip tests that require internet access
# * skip tests that fail due to expired certificates
%{cargo_test -- -- --exact %{shrink:
--skip common::test_stream::stream_handshake_regression_issues_77
--skip test_modern
--skip test_tls12
--skip test_tls12_vectored
--skip test_modern_vectored
--skip common::test_stream::stream_bad
--skip common::test_stream::stream_buffered_handshake
--skip common::test_stream::stream_eof
--skip common::test_stream::stream_good
--skip common::test_stream::stream_good_vectored
--skip common::test_stream::stream_handshake
--skip pass
--skip test_lazy_config_acceptor
}}
%endif
%changelog
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.24.1-4
- Rebuilt for MSVSphere 9.3
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.26.1-1
- Rebuilt for MSVSphere 10
## START: Generated by rpmautospec
* Mon Dec 09 2024 Fabio Valentini <decathorpe@gmail.com> - 0.26.1-1
- Update to version 0.26.1; Fixes RHBZ#2330643
* Sat Aug 24 2024 Fabio Valentini <decathorpe@gmail.com> - 0.26.0-3
- Temporarily skip tests that fail due to expired test certificates
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.26.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Wed Jul 03 2024 Fabio Valentini <decathorpe@gmail.com> - 0.26.0-1
- Update to version 0.26.0; Fixes RHBZ#2252920
* Fri Apr 19 2024 Fabio Valentini <decathorpe@gmail.com> - 0.25.0-1
- Update to version 0.25.0
* Sat Jan 27 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.24.1-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Wed Oct 25 2023 Fabio Valentini <decathorpe@gmail.com> - 0.24.1-4
- Disable tests due to outdated dev-dependencies
@ -174,3 +198,4 @@ use the "tls12" feature of the "%{crate}" crate.
* Fri May 21 2021 Fabio Valentini <decathorpe@gmail.com> - 0.22.0-1
- Initial package
## END: Generated by rpmautospec

Loading…
Cancel
Save