|
|
@ -1,25 +1,22 @@
|
|
|
|
# Generated by rust2rpm 24
|
|
|
|
# Generated by rust2rpm 27
|
|
|
|
# * missing dev-dependency: x509-parser
|
|
|
|
# * missing dev-dependencies: x509-parser ^0.16
|
|
|
|
%bcond_with check
|
|
|
|
%bcond check 0
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate rustls-native-certs
|
|
|
|
%global crate rustls-native-certs
|
|
|
|
|
|
|
|
|
|
|
|
# compile and run tests only on supported architectures
|
|
|
|
|
|
|
|
%global supported_arches x86_64 %{ix86} aarch64 %{arm}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-rustls-native-certs
|
|
|
|
Name: rust-rustls-native-certs
|
|
|
|
Version: 0.6.3
|
|
|
|
Version: 0.8.1
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Allow rustls to use the platform native certificate store
|
|
|
|
Summary: Allows rustls to use the platform native certificate store
|
|
|
|
|
|
|
|
|
|
|
|
License: Apache-2.0 OR ISC OR MIT
|
|
|
|
License: Apache-2.0 OR ISC OR MIT
|
|
|
|
URL: https://crates.io/crates/rustls-native-certs
|
|
|
|
URL: https://crates.io/crates/rustls-native-certs
|
|
|
|
Source: %{crates_source}
|
|
|
|
Source: %{crates_source}
|
|
|
|
# Automatically generated patch to strip foreign dependencies
|
|
|
|
# Automatically generated patch to strip dependencies and normalize metadata
|
|
|
|
Patch: rustls-native-certs-fix-metadata-auto.diff
|
|
|
|
Patch: rustls-native-certs-fix-metadata-auto.diff
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging >= 21
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Rustls-native-certs allows rustls to use the platform native certificate
|
|
|
|
Rustls-native-certs allows rustls to use the platform native certificate
|
|
|
@ -59,26 +56,22 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%autosetup -n %{crate}-%{version_no_tilde} -p1
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
%cargo_prep
|
|
|
|
%cargo_prep
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%ifarch %{supported_arches}
|
|
|
|
|
|
|
|
%cargo_build
|
|
|
|
%cargo_build
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
%cargo_install
|
|
|
|
%cargo_install
|
|
|
|
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
%if %{with check}
|
|
|
|
%ifarch %{supported_arches}
|
|
|
|
|
|
|
|
%check
|
|
|
|
%check
|
|
|
|
%cargo_test
|
|
|
|
%cargo_test
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
%autochangelog
|
|
|
|
%autochangelog
|
|
|
|