|
|
@ -1,29 +1,30 @@
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
## START: Set by rpmautospec
|
|
|
|
## (rpmautospec version 0.3.5)
|
|
|
|
## (rpmautospec version 0.7.3)
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
## RPMAUTOSPEC: autorelease, autochangelog
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
%define autorelease(e:s:pb:n) %{?-p:0.}%{lua:
|
|
|
|
release_number = 4;
|
|
|
|
release_number = 1;
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}"));
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
print(release_number + base_release_number - 1);
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}}
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
## END: Set by rpmautospec
|
|
|
|
|
|
|
|
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
# Generated by rust2rpm 27
|
|
|
|
# * outdated dev-dependencies: rustls-webpki, webpki-roots
|
|
|
|
%bcond check 1
|
|
|
|
%bcond_with check
|
|
|
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate tokio-rustls
|
|
|
|
%global crate tokio-rustls
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-tokio-rustls
|
|
|
|
Name: rust-tokio-rustls
|
|
|
|
Version: 0.24.1
|
|
|
|
Version: 0.26.1
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Asynchronous TLS/SSL streams for Tokio using Rustls
|
|
|
|
Summary: Asynchronous TLS/SSL streams for Tokio using Rustls
|
|
|
|
|
|
|
|
|
|
|
|
# Upstream license specification: MIT/Apache-2.0
|
|
|
|
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
License: MIT OR Apache-2.0
|
|
|
|
URL: https://crates.io/crates/tokio-rustls
|
|
|
|
URL: https://crates.io/crates/tokio-rustls
|
|
|
|
Source: %{crates_source}
|
|
|
|
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
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
@ -59,18 +60,6 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%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
|
|
|
|
%package -n %{name}+early-data-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
BuildArch: noarch
|
|
|
@ -95,16 +84,16 @@ use the "logging" feature of the "%{crate}" crate.
|
|
|
|
%files -n %{name}+logging-devel
|
|
|
|
%files -n %{name}+logging-devel
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+secret_extraction-devel
|
|
|
|
%package -n %{name}+ring-devel
|
|
|
|
Summary: %{summary}
|
|
|
|
Summary: %{summary}
|
|
|
|
BuildArch: noarch
|
|
|
|
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
|
|
|
|
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
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+tls12-devel
|
|
|
|
%package -n %{name}+tls12-devel
|
|
|
@ -134,12 +123,47 @@ use the "tls12" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%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
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
* Mon Jan 15 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.24.1-4
|
|
|
|
* Fri Dec 20 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 0.26.1-1
|
|
|
|
- Rebuilt for MSVSphere 9.3
|
|
|
|
- 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
|
|
|
|
* Wed Oct 25 2023 Fabio Valentini <decathorpe@gmail.com> - 0.24.1-4
|
|
|
|
- Disable tests due to outdated dev-dependencies
|
|
|
|
- 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
|
|
|
|
* Fri May 21 2021 Fabio Valentini <decathorpe@gmail.com> - 0.22.0-1
|
|
|
|
- Initial package
|
|
|
|
- Initial package
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## END: Generated by rpmautospec
|
|
|
|