# Generated by rust2rpm 28 %bcond check 1 %global debug_package %{nil} %global crate kurbu5-kadm5-derive %global snapdate 202604141848 %global snapcommit b7d20e6 Name: rust-kurbu5-kadm5-derive Version: 0.1.1 Release: 2%{?dist} Summary: Derive macros for KADM5_AUTH and KADM5_HOOK plugin interfaces License: BSD-2-Clause URL: https://crates.io/crates/kurbu5-kadm5-derive Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 BuildRequires: krb5-devel >= 1.22 BuildRequires: clang-devel BuildRequires: pkgconf-pkg-config %global _description %{expand: Derive macros for MIT Kerberos KADM5_AUTH and KADM5_HOOK plugin modules implemented using the kurbu5-kadm5-rs crate.} %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 %doc %{crate_instdir}/CHANGELOG.md %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}+full-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+full-devel %{_description} This package contains library source intended for building other packages which use the "full" feature of the "%{crate}" crate. %files -n %{name}+full-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+kadm5_auth-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+kadm5_auth-devel %{_description} This package contains library source intended for building other packages which use the "kadm5_auth" feature of the "%{crate}" crate. %files -n %{name}+kadm5_auth-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+kadm5_hook-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+kadm5_hook-devel %{_description} This package contains library source intended for building other packages which use the "kadm5_hook" feature of the "%{crate}" crate. %files -n %{name}+kadm5_hook-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