# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate s2n-tls-sys Name: rust-s2n-tls-sys Version: 0.2.5 Release: %autorelease Summary: C99 implementation of the TLS/SSL protocols License: Apache-2.0 URL: https://crates.io/crates/s2n-tls-sys Source: %{crates_source} # Manually created patch for downstream crate metadata changes Patch: s2n-tls-sys-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A C99 implementation of the TLS/SSL protocols.} %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 # FIXME: no license files detected %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}+cmake-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+cmake-devel %{_description} This package contains library source intended for building other packages which use the "cmake" feature of the "%{crate}" crate. %files -n %{name}+cmake-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+fips-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+fips-devel %{_description} This package contains library source intended for building other packages which use the "fips" feature of the "%{crate}" crate. %files -n %{name}+fips-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+internal-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+internal-devel %{_description} This package contains library source intended for building other packages which use the "internal" feature of the "%{crate}" crate. %files -n %{name}+internal-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pq-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pq-devel %{_description} This package contains library source intended for building other packages which use the "pq" feature of the "%{crate}" crate. %files -n %{name}+pq-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+quic-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+quic-devel %{_description} This package contains library source intended for building other packages which use the "quic" feature of the "%{crate}" crate. %files -n %{name}+quic-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+stacktrace-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+stacktrace-devel %{_description} This package contains library source intended for building other packages which use the "stacktrace" feature of the "%{crate}" crate. %files -n %{name}+stacktrace-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-crl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-crl-devel %{_description} This package contains library source intended for building other packages which use the "unstable-crl" feature of the "%{crate}" crate. %files -n %{name}+unstable-crl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-fingerprint-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-fingerprint-devel %{_description} This package contains library source intended for building other packages which use the "unstable-fingerprint" feature of the "%{crate}" crate. %files -n %{name}+unstable-fingerprint-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-ktls-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-ktls-devel %{_description} This package contains library source intended for building other packages which use the "unstable-ktls" feature of the "%{crate}" crate. %files -n %{name}+unstable-ktls-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-npn-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-npn-devel %{_description} This package contains library source intended for building other packages which use the "unstable-npn" feature of the "%{crate}" crate. %files -n %{name}+unstable-npn-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+unstable-renegotiate-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unstable-renegotiate-devel %{_description} This package contains library source intended for building other packages which use the "unstable-renegotiate" feature of the "%{crate}" crate. %files -n %{name}+unstable-renegotiate-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 %autochangelog