## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## 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 28 %bcond check 1 %global debug_package %{nil} %global crate utoipa Name: rust-utoipa Version: 5.4.0 Release: %autorelease Summary: Compile time generated OpenAPI documentation for Rust License: MIT OR Apache-2.0 URL: https://crates.io/crates/utoipa Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Compile time generated OpenAPI documentation for Rust.} %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 %{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}+actix_extras-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+actix_extras-devel %{_description} This package contains library source intended for building other packages which use the "actix_extras" feature of the "%{crate}" crate. %files -n %{name}+actix_extras-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+auto_into_responses-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+auto_into_responses-devel %{_description} This package contains library source intended for building other packages which use the "auto_into_responses" feature of the "%{crate}" crate. %files -n %{name}+auto_into_responses-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+axum_extras-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+axum_extras-devel %{_description} This package contains library source intended for building other packages which use the "axum_extras" feature of the "%{crate}" crate. %files -n %{name}+axum_extras-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+chrono-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+chrono-devel %{_description} This package contains library source intended for building other packages which use the "chrono" feature of the "%{crate}" crate. %files -n %{name}+chrono-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+config-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+config-devel %{_description} This package contains library source intended for building other packages which use the "config" feature of the "%{crate}" crate. %files -n %{name}+config-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+debug-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+debug-devel %{_description} This package contains library source intended for building other packages which use the "debug" feature of the "%{crate}" crate. %files -n %{name}+debug-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+decimal-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+decimal-devel %{_description} This package contains library source intended for building other packages which use the "decimal" feature of the "%{crate}" crate. %files -n %{name}+decimal-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+decimal_float-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+decimal_float-devel %{_description} This package contains library source intended for building other packages which use the "decimal_float" feature of the "%{crate}" crate. %files -n %{name}+decimal_float-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+indexmap-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+indexmap-devel %{_description} This package contains library source intended for building other packages which use the "indexmap" feature of the "%{crate}" crate. %files -n %{name}+indexmap-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+jiff_0_2-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+jiff_0_2-devel %{_description} This package contains library source intended for building other packages which use the "jiff_0_2" feature of the "%{crate}" crate. %files -n %{name}+jiff_0_2-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+macros-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+macros-devel %{_description} This package contains library source intended for building other packages which use the "macros" feature of the "%{crate}" crate. %files -n %{name}+macros-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+non_strict_integers-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+non_strict_integers-devel %{_description} This package contains library source intended for building other packages which use the "non_strict_integers" feature of the "%{crate}" crate. %files -n %{name}+non_strict_integers-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+openapi_extensions-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+openapi_extensions-devel %{_description} This package contains library source intended for building other packages which use the "openapi_extensions" feature of the "%{crate}" crate. %files -n %{name}+openapi_extensions-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+preserve_order-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+preserve_order-devel %{_description} This package contains library source intended for building other packages which use the "preserve_order" feature of the "%{crate}" crate. %files -n %{name}+preserve_order-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+preserve_path_order-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+preserve_path_order-devel %{_description} This package contains library source intended for building other packages which use the "preserve_path_order" feature of the "%{crate}" crate. %files -n %{name}+preserve_path_order-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rc_schema-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rc_schema-devel %{_description} This package contains library source intended for building other packages which use the "rc_schema" feature of the "%{crate}" crate. %files -n %{name}+rc_schema-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+repr-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+repr-devel %{_description} This package contains library source intended for building other packages which use the "repr" feature of the "%{crate}" crate. %files -n %{name}+repr-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+rocket_extras-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+rocket_extras-devel %{_description} This package contains library source intended for building other packages which use the "rocket_extras" feature of the "%{crate}" crate. %files -n %{name}+rocket_extras-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde_norway-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde_norway-devel %{_description} This package contains library source intended for building other packages which use the "serde_norway" feature of the "%{crate}" crate. %files -n %{name}+serde_norway-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+smallvec-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+smallvec-devel %{_description} This package contains library source intended for building other packages which use the "smallvec" feature of the "%{crate}" crate. %files -n %{name}+smallvec-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+time-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+time-devel %{_description} This package contains library source intended for building other packages which use the "time" feature of the "%{crate}" crate. %files -n %{name}+time-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ulid-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ulid-devel %{_description} This package contains library source intended for building other packages which use the "ulid" feature of the "%{crate}" crate. %files -n %{name}+ulid-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+url-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+url-devel %{_description} This package contains library source intended for building other packages which use the "url" feature of the "%{crate}" crate. %files -n %{name}+url-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+uuid-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+uuid-devel %{_description} This package contains library source intended for building other packages which use the "uuid" feature of the "%{crate}" crate. %files -n %{name}+uuid-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+yaml-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+yaml-devel %{_description} This package contains library source intended for building other packages which use the "yaml" feature of the "%{crate}" crate. %files -n %{name}+yaml-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 * Sat Feb 07 2026 John Doe - 5.4.0-1 - Uncommitted changes ## END: Generated by rpmautospec