## START: Set by rpmautospec ## (rpmautospec version 0.8.1) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; 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 27 %bcond check 1 %global debug_package %{nil} %global crate cocoon-tpm-tpm2-interface Name: rust-cocoon-tpm-tpm2-interface Version: 0.1.0 Release: %autorelease Summary: Cocoon TPM project - autogenerated TPM2 interface definitions License: Apache-2.0 URL: https://crates.io/crates/cocoon-tpm-tpm2-interface Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Cocoon TPM project - autogenerated TPM2 interface definitions.} %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}+aes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+aes-devel %{_description} This package contains library source intended for building other packages which use the "aes" feature of the "%{crate}" crate. %files -n %{name}+aes-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+camellia-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+camellia-devel %{_description} This package contains library source intended for building other packages which use the "camellia" feature of the "%{crate}" crate. %files -n %{name}+camellia-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+cbc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+cbc-devel %{_description} This package contains library source intended for building other packages which use the "cbc" feature of the "%{crate}" crate. %files -n %{name}+cbc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+cfb-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+cfb-devel %{_description} This package contains library source intended for building other packages which use the "cfb" feature of the "%{crate}" crate. %files -n %{name}+cfb-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ctr-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ctr-devel %{_description} This package contains library source intended for building other packages which use the "ctr" feature of the "%{crate}" crate. %files -n %{name}+ctr-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecb-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecb-devel %{_description} This package contains library source intended for building other packages which use the "ecb" feature of the "%{crate}" crate. %files -n %{name}+ecb-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc-devel %{_description} This package contains library source intended for building other packages which use the "ecc" feature of the "%{crate}" crate. %files -n %{name}+ecc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_bn_p256-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_bn_p256-devel %{_description} This package contains library source intended for building other packages which use the "ecc_bn_p256" feature of the "%{crate}" crate. %files -n %{name}+ecc_bn_p256-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_bn_p638-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_bn_p638-devel %{_description} This package contains library source intended for building other packages which use the "ecc_bn_p638" feature of the "%{crate}" crate. %files -n %{name}+ecc_bn_p638-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_bp_p256_r1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_bp_p256_r1-devel %{_description} This package contains library source intended for building other packages which use the "ecc_bp_p256_r1" feature of the "%{crate}" crate. %files -n %{name}+ecc_bp_p256_r1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_bp_p384_r1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_bp_p384_r1-devel %{_description} This package contains library source intended for building other packages which use the "ecc_bp_p384_r1" feature of the "%{crate}" crate. %files -n %{name}+ecc_bp_p384_r1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_bp_p512_r1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_bp_p512_r1-devel %{_description} This package contains library source intended for building other packages which use the "ecc_bp_p512_r1" feature of the "%{crate}" crate. %files -n %{name}+ecc_bp_p512_r1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_curve_25519-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_curve_25519-devel %{_description} This package contains library source intended for building other packages which use the "ecc_curve_25519" feature of the "%{crate}" crate. %files -n %{name}+ecc_curve_25519-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_curve_448-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_curve_448-devel %{_description} This package contains library source intended for building other packages which use the "ecc_curve_448" feature of the "%{crate}" crate. %files -n %{name}+ecc_curve_448-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_nist_p192-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_nist_p192-devel %{_description} This package contains library source intended for building other packages which use the "ecc_nist_p192" feature of the "%{crate}" crate. %files -n %{name}+ecc_nist_p192-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_nist_p224-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_nist_p224-devel %{_description} This package contains library source intended for building other packages which use the "ecc_nist_p224" feature of the "%{crate}" crate. %files -n %{name}+ecc_nist_p224-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_nist_p256-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_nist_p256-devel %{_description} This package contains library source intended for building other packages which use the "ecc_nist_p256" feature of the "%{crate}" crate. %files -n %{name}+ecc_nist_p256-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_nist_p384-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_nist_p384-devel %{_description} This package contains library source intended for building other packages which use the "ecc_nist_p384" feature of the "%{crate}" crate. %files -n %{name}+ecc_nist_p384-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_nist_p521-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_nist_p521-devel %{_description} This package contains library source intended for building other packages which use the "ecc_nist_p521" feature of the "%{crate}" crate. %files -n %{name}+ecc_nist_p521-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecc_sm2_p256-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecc_sm2_p256-devel %{_description} This package contains library source intended for building other packages which use the "ecc_sm2_p256" feature of the "%{crate}" crate. %files -n %{name}+ecc_sm2_p256-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecdh-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecdh-devel %{_description} This package contains library source intended for building other packages which use the "ecdh" feature of the "%{crate}" crate. %files -n %{name}+ecdh-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecdsa-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecdsa-devel %{_description} This package contains library source intended for building other packages which use the "ecdsa" feature of the "%{crate}" crate. %files -n %{name}+ecdsa-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ecschnorr-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ecschnorr-devel %{_description} This package contains library source intended for building other packages which use the "ecschnorr" feature of the "%{crate}" crate. %files -n %{name}+ecschnorr-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+mgf1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+mgf1-devel %{_description} This package contains library source intended for building other packages which use the "mgf1" feature of the "%{crate}" crate. %files -n %{name}+mgf1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+oaep-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+oaep-devel %{_description} This package contains library source intended for building other packages which use the "oaep" feature of the "%{crate}" crate. %files -n %{name}+oaep-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ofb-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ofb-devel %{_description} This package contains library source intended for building other packages which use the "ofb" feature of the "%{crate}" crate. %files -n %{name}+ofb-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rsa-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rsa-devel %{_description} This package contains library source intended for building other packages which use the "rsa" feature of the "%{crate}" crate. %files -n %{name}+rsa-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rsaes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rsaes-devel %{_description} This package contains library source intended for building other packages which use the "rsaes" feature of the "%{crate}" crate. %files -n %{name}+rsaes-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rsapss-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rsapss-devel %{_description} This package contains library source intended for building other packages which use the "rsapss" feature of the "%{crate}" crate. %files -n %{name}+rsapss-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rsassa-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rsassa-devel %{_description} This package contains library source intended for building other packages which use the "rsassa" feature of the "%{crate}" crate. %files -n %{name}+rsassa-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sha1-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha1-devel %{_description} This package contains library source intended for building other packages which use the "sha1" feature of the "%{crate}" crate. %files -n %{name}+sha1-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sha256-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha256-devel %{_description} This package contains library source intended for building other packages which use the "sha256" feature of the "%{crate}" crate. %files -n %{name}+sha256-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sha384-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha384-devel %{_description} This package contains library source intended for building other packages which use the "sha384" feature of the "%{crate}" crate. %files -n %{name}+sha384-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sha3_256-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha3_256-devel %{_description} This package contains library source intended for building other packages which use the "sha3_256" feature of the "%{crate}" crate. %files -n %{name}+sha3_256-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sha3_384-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha3_384-devel %{_description} This package contains library source intended for building other packages which use the "sha3_384" feature of the "%{crate}" crate. %files -n %{name}+sha3_384-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sha3_512-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha3_512-devel %{_description} This package contains library source intended for building other packages which use the "sha3_512" feature of the "%{crate}" crate. %files -n %{name}+sha3_512-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sha512-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sha512-devel %{_description} This package contains library source intended for building other packages which use the "sha512" feature of the "%{crate}" crate. %files -n %{name}+sha512-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sm3_256-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sm3_256-devel %{_description} This package contains library source intended for building other packages which use the "sm3_256" feature of the "%{crate}" crate. %files -n %{name}+sm3_256-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+sm4-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+sm4-devel %{_description} This package contains library source intended for building other packages which use the "sm4" feature of the "%{crate}" crate. %files -n %{name}+sm4-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tdes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tdes-devel %{_description} This package contains library source intended for building other packages which use the "tdes" feature of the "%{crate}" crate. %files -n %{name}+tdes-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+zeroize-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+zeroize-devel %{_description} This package contains library source intended for building other packages which use the "zeroize" feature of the "%{crate}" crate. %files -n %{name}+zeroize-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 ## START: Generated by rpmautospec * Tue Sep 02 2025 John Doe - 0.1.0-1 - Uncommitted changes ## END: Generated by rpmautospec