## 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 zlink-tokio Name: rust-zlink-tokio Version: 0.1.1 Release: %autorelease Summary: Zlink library for the Tokio runtime License: MIT URL: https://crates.io/crates/zlink-tokio Source: %{crates_source} # Manually created patch for downstream crate metadata changes Patch: zlink-tokio-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Zlink library for the Tokio runtime.} %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}+idl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+idl-devel %{_description} This package contains library source intended for building other packages which use the "idl" feature of the "%{crate}" crate. %files -n %{name}+idl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+idl-parse-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+idl-parse-devel %{_description} This package contains library source intended for building other packages which use the "idl-parse" feature of the "%{crate}" crate. %files -n %{name}+idl-parse-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+introspection-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+introspection-devel %{_description} This package contains library source intended for building other packages which use the "introspection" feature of the "%{crate}" crate. %files -n %{name}+introspection-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+io-buffer-16kb-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+io-buffer-16kb-devel %{_description} This package contains library source intended for building other packages which use the "io-buffer-16kb" feature of the "%{crate}" crate. %files -n %{name}+io-buffer-16kb-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+io-buffer-1mb-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+io-buffer-1mb-devel %{_description} This package contains library source intended for building other packages which use the "io-buffer-1mb" feature of the "%{crate}" crate. %files -n %{name}+io-buffer-1mb-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+io-buffer-2kb-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+io-buffer-2kb-devel %{_description} This package contains library source intended for building other packages which use the "io-buffer-2kb" feature of the "%{crate}" crate. %files -n %{name}+io-buffer-2kb-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+io-buffer-4kb-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+io-buffer-4kb-devel %{_description} This package contains library source intended for building other packages which use the "io-buffer-4kb" feature of the "%{crate}" crate. %files -n %{name}+io-buffer-4kb-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+proxy-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+proxy-devel %{_description} This package contains library source intended for building other packages which use the "proxy" feature of the "%{crate}" crate. %files -n %{name}+proxy-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 * Fri Sep 26 2025 Andreas Schneider - 0.1.1-1 - Initial package version 0.1.1 ## END: Generated by rpmautospec