# Generated by rust2rpm 28 # * Integration tests depend on synta-certificate which is not yet available # * in the Fedora build root at this stage; tests are covered by # rust-synta-certificate. %bcond check 0 %global debug_package %{nil} %global crate synta-mtc %global snapdate 202604112257 %global snapcommit 05dfe2d Name: rust-synta-mtc Version: 0.1.6 Release: 2%{?dist} Summary: Merkle Tree Certificates (MTC) implementation on synta License: MIT OR Apache-2.0 URL: https://crates.io/crates/synta-mtc Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 BuildRequires: openssl-devel %global _description %{expand: Merkle Tree Certificates (MTC) implementation on synta.} %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-APACHE %license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/CHANGELOG.md %doc %{crate_instdir}/README.md %doc %{crate_instdir}/SERDE.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}+derive-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+derive-devel %{_description} This package contains library source intended for building other packages which use the "derive" feature of the "%{crate}" crate. %files -n %{name}+derive-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+large-trees-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+large-trees-devel %{_description} This package contains library source intended for building other packages which use the "large-trees" feature of the "%{crate}" crate. %files -n %{name}+large-trees-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+nss-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+nss-devel %{_description} This package contains library source intended for building other packages which use the "nss" feature of the "%{crate}" crate. %files -n %{name}+nss-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+openssl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+openssl-devel %{_description} This package contains library source intended for building other packages which use the "openssl" feature of the "%{crate}" crate. %files -n %{name}+openssl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+std-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+std-devel %{_description} This package contains library source intended for building other packages which use the "std" feature of the "%{crate}" crate. %files -n %{name}+std-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