# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate k8s-openapi Name: rust-k8s-openapi Version: 0.21.1 Release: %autorelease Summary: Bindings for the Kubernetes client API License: Apache-2.0 URL: https://crates.io/crates/k8s-openapi Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Bindings for the Kubernetes client API.} %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}/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}+earliest-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+earliest-devel %{_description} This package contains library source intended for building other packages which use the "earliest" feature of the "%{crate}" crate. %files -n %{name}+earliest-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+latest-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+latest-devel %{_description} This package contains library source intended for building other packages which use the "latest" feature of the "%{crate}" crate. %files -n %{name}+latest-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+schemars-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+schemars-devel %{_description} This package contains library source intended for building other packages which use the "schemars" feature of the "%{crate}" crate. %files -n %{name}+schemars-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v1_24-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v1_24-devel %{_description} This package contains library source intended for building other packages which use the "v1_24" feature of the "%{crate}" crate. %files -n %{name}+v1_24-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v1_25-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v1_25-devel %{_description} This package contains library source intended for building other packages which use the "v1_25" feature of the "%{crate}" crate. %files -n %{name}+v1_25-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v1_26-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v1_26-devel %{_description} This package contains library source intended for building other packages which use the "v1_26" feature of the "%{crate}" crate. %files -n %{name}+v1_26-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v1_27-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v1_27-devel %{_description} This package contains library source intended for building other packages which use the "v1_27" feature of the "%{crate}" crate. %files -n %{name}+v1_27-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v1_28-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v1_28-devel %{_description} This package contains library source intended for building other packages which use the "v1_28" feature of the "%{crate}" crate. %files -n %{name}+v1_28-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+v1_29-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+v1_29-devel %{_description} This package contains library source intended for building other packages which use the "v1_29" feature of the "%{crate}" crate. %files -n %{name}+v1_29-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -f latest %build %cargo_build -f latest %install %cargo_install -f latest %if %{with check} %check %cargo_test -f latest %endif %changelog %autochangelog