# Generated by rust2rpm 24 # * missing dev-dependency: x509-parser %bcond_with check %global debug_package %{nil} %global crate rustls-native-certs Name: rust-rustls-native-certs Version: 0.6.2 Release: %autorelease Summary: Allow rustls to use the platform native certificate store # Upstream license specification: Apache-2.0/ISC/MIT License: Apache-2.0 OR ISC OR MIT URL: https://crates.io/crates/rustls-native-certs Source: %{crates_source} # Automatically generated patch to strip foreign dependencies Patch: rustls-native-certs-fix-metadata-auto.diff # ring is not available on ppc64le and s390x ExcludeArch: ppc64le s390x BuildRequires: rust-packaging >= 21 %global _description %{expand: Rustls-native-certs allows rustls to use the platform native certificate store.} %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 %license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-ISC %license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/CONTRIBUTING.md %doc %{crate_instdir}/README.md %doc %{crate_instdir}/RELEASING.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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog