Compare commits
No commits in common. 'epel10' and 'i9ce' have entirely different histories.
@ -1,9 +0,0 @@
|
|||||||
/results_*/
|
|
||||||
/*.src.rpm
|
|
||||||
|
|
||||||
/tokio-rustls-0.22.0.crate
|
|
||||||
/tokio-rustls-0.23.4.crate
|
|
||||||
/tokio-rustls-0.24.1.crate
|
|
||||||
/tokio-rustls-0.25.0.crate
|
|
||||||
/tokio-rustls-0.26.0.crate
|
|
||||||
/tokio-rustls-0.26.1.crate
|
|
Binary file not shown.
@ -0,0 +1,176 @@
|
|||||||
|
## START: Set by rpmautospec
|
||||||
|
## (rpmautospec version 0.3.5)
|
||||||
|
## RPMAUTOSPEC: autorelease, autochangelog
|
||||||
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
||||||
|
release_number = 4;
|
||||||
|
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
|
||||||
|
%global debug_package %{nil}
|
||||||
|
|
||||||
|
%global crate tokio-rustls
|
||||||
|
|
||||||
|
Name: rust-tokio-rustls
|
||||||
|
Version: 0.24.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}
|
||||||
|
|
||||||
|
BuildRequires: cargo-rpm-macros >= 24
|
||||||
|
|
||||||
|
%global _description %{expand:
|
||||||
|
Asynchronous TLS/SSL streams for Tokio using Rustls.}
|
||||||
|
|
||||||
|
%description %{_description}
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Summary: %{summary}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description devel %{_description}
|
||||||
|
|
||||||
|
This package contains library source intended for building other packages which
|
||||||
|
use the "%{crate}" crate.
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%license %{crate_instdir}/LICENSE-APACHE
|
||||||
|
%license %{crate_instdir}/LICENSE-MIT
|
||||||
|
%doc %{crate_instdir}/README.md
|
||||||
|
%{crate_instdir}/
|
||||||
|
|
||||||
|
%package -n %{name}+default-devel
|
||||||
|
Summary: %{summary}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n %{name}+default-devel %{_description}
|
||||||
|
|
||||||
|
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 %{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
|
||||||
|
|
||||||
|
%description -n %{name}+early-data-devel %{_description}
|
||||||
|
|
||||||
|
This package contains library source intended for building other packages which
|
||||||
|
use the "early-data" feature of the "%{crate}" crate.
|
||||||
|
|
||||||
|
%files -n %{name}+early-data-devel
|
||||||
|
%ghost %{crate_instdir}/Cargo.toml
|
||||||
|
|
||||||
|
%package -n %{name}+logging-devel
|
||||||
|
Summary: %{summary}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n %{name}+logging-devel %{_description}
|
||||||
|
|
||||||
|
This package contains library source intended for building other packages which
|
||||||
|
use the "logging" feature of the "%{crate}" crate.
|
||||||
|
|
||||||
|
%files -n %{name}+logging-devel
|
||||||
|
%ghost %{crate_instdir}/Cargo.toml
|
||||||
|
|
||||||
|
%package -n %{name}+secret_extraction-devel
|
||||||
|
Summary: %{summary}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n %{name}+secret_extraction-devel %{_description}
|
||||||
|
|
||||||
|
This package contains library source intended for building other packages which
|
||||||
|
use the "secret_extraction" feature of the "%{crate}" crate.
|
||||||
|
|
||||||
|
%files -n %{name}+secret_extraction-devel
|
||||||
|
%ghost %{crate_instdir}/Cargo.toml
|
||||||
|
|
||||||
|
%package -n %{name}+tls12-devel
|
||||||
|
Summary: %{summary}
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description -n %{name}+tls12-devel %{_description}
|
||||||
|
|
||||||
|
This package contains library source intended for building other packages which
|
||||||
|
use the "tls12" feature of the "%{crate}" crate.
|
||||||
|
|
||||||
|
%files -n %{name}+tls12-devel
|
||||||
|
%ghost %{crate_instdir}/Cargo.toml
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n %{crate}-%{version} -p1
|
||||||
|
%cargo_prep
|
||||||
|
|
||||||
|
%generate_buildrequires
|
||||||
|
%cargo_generate_buildrequires
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cargo_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cargo_install
|
||||||
|
|
||||||
|
%if %{with check}
|
||||||
|
%check
|
||||||
|
%cargo_test
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.24.1-4
|
||||||
|
- Rebuilt for MSVSphere 9.3
|
||||||
|
|
||||||
|
* Wed Oct 25 2023 Fabio Valentini <decathorpe@gmail.com> - 0.24.1-4
|
||||||
|
- Disable tests due to outdated dev-dependencies
|
||||||
|
|
||||||
|
* Tue Sep 26 2023 Fabio Valentini <decathorpe@gmail.com> - 0.24.1-3
|
||||||
|
- Skip tests that fail due to expired certificates
|
||||||
|
|
||||||
|
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.24.1-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||||
|
|
||||||
|
* Wed Jun 28 2023 Fabio Valentini <decathorpe@gmail.com> - 0.24.1-1
|
||||||
|
- Update to version 0.24.1; Fixes RHBZ#2183492
|
||||||
|
|
||||||
|
* Sat Mar 18 2023 Fabio Valentini <decathorpe@gmail.com> - 0.23.4-1
|
||||||
|
- Update to version 0.23.4; Fixes RHBZ#2014620
|
||||||
|
|
||||||
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-6
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||||
|
|
||||||
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-5
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||||
|
|
||||||
|
* Thu Jul 14 2022 Fabio Valentini <decathorpe@gmail.com> - 0.22.0-4
|
||||||
|
- Disable tests that now fail due to expired certificates.
|
||||||
|
|
||||||
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-3
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-2
|
||||||
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||||
|
|
||||||
|
* Fri May 21 2021 Fabio Valentini <decathorpe@gmail.com> - 0.22.0-1
|
||||||
|
- Initial package
|
||||||
|
|
@ -1,17 +0,0 @@
|
|||||||
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-6
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
||||||
|
|
||||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-5
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
||||||
|
|
||||||
* Thu Jul 14 2022 Fabio Valentini <decathorpe@gmail.com> - 0.22.0-4
|
|
||||||
- Disable tests that now fail due to expired certificates.
|
|
||||||
|
|
||||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-3
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.22.0-2
|
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
||||||
|
|
||||||
* Fri May 21 2021 Fabio Valentini <decathorpe@gmail.com> - 0.22.0-1
|
|
||||||
- Initial package
|
|
@ -1,136 +0,0 @@
|
|||||||
# Generated by rust2rpm 27
|
|
||||||
%bcond check 1
|
|
||||||
%global debug_package %{nil}
|
|
||||||
|
|
||||||
%global crate tokio-rustls
|
|
||||||
|
|
||||||
Name: rust-tokio-rustls
|
|
||||||
Version: 0.26.1
|
|
||||||
Release: %autorelease
|
|
||||||
Summary: Asynchronous TLS/SSL streams for Tokio using Rustls
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
||||||
%global _description %{expand:
|
|
||||||
Asynchronous TLS/SSL streams for Tokio using Rustls.}
|
|
||||||
|
|
||||||
%description %{_description}
|
|
||||||
|
|
||||||
%package devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages which
|
|
||||||
use the "%{crate}" crate.
|
|
||||||
|
|
||||||
%files devel
|
|
||||||
%license %{crate_instdir}/LICENSE-APACHE
|
|
||||||
%license %{crate_instdir}/LICENSE-MIT
|
|
||||||
%doc %{crate_instdir}/README.md
|
|
||||||
%{crate_instdir}/
|
|
||||||
|
|
||||||
%package -n %{name}+default-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+default-devel %{_description}
|
|
||||||
|
|
||||||
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 %{crate_instdir}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+early-data-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+early-data-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages which
|
|
||||||
use the "early-data" feature of the "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+early-data-devel
|
|
||||||
%ghost %{crate_instdir}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+logging-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+logging-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages which
|
|
||||||
use the "logging" feature of the "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+logging-devel
|
|
||||||
%ghost %{crate_instdir}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+ring-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+ring-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages which
|
|
||||||
use the "ring" feature of the "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+ring-devel
|
|
||||||
%ghost %{crate_instdir}/Cargo.toml
|
|
||||||
|
|
||||||
%package -n %{name}+tls12-devel
|
|
||||||
Summary: %{summary}
|
|
||||||
BuildArch: noarch
|
|
||||||
|
|
||||||
%description -n %{name}+tls12-devel %{_description}
|
|
||||||
|
|
||||||
This package contains library source intended for building other packages which
|
|
||||||
use the "tls12" feature of the "%{crate}" crate.
|
|
||||||
|
|
||||||
%files -n %{name}+tls12-devel
|
|
||||||
%ghost %{crate_instdir}/Cargo.toml
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%autosetup -n %{crate}-%{version} -p1
|
|
||||||
%cargo_prep
|
|
||||||
|
|
||||||
%generate_buildrequires
|
|
||||||
%cargo_generate_buildrequires
|
|
||||||
|
|
||||||
%build
|
|
||||||
%cargo_build
|
|
||||||
|
|
||||||
%install
|
|
||||||
%cargo_install
|
|
||||||
|
|
||||||
%if %{with check}
|
|
||||||
%check
|
|
||||||
# * 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
|
|
||||||
%autochangelog
|
|
@ -1,29 +0,0 @@
|
|||||||
[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",
|
|
||||||
]
|
|
||||||
|
|
@ -1 +0,0 @@
|
|||||||
SHA512 (tokio-rustls-0.26.1.crate) = 0cee6b356ebc4be05c484d459ac457280f41401093ca942cc61a6e6514dd4a48b1cc921f7dc02f9c8bc34b751d4d40d6d4768b21193d5a12c38ebd140bad4896
|
|
@ -1,19 +0,0 @@
|
|||||||
--- 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"]
|
|
Loading…
Reference in new issue