## 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 zlink Name: rust-zlink Version: 0.4.0 Release: %autorelease Summary: Async Varlink API License: MIT URL: https://crates.io/crates/zlink Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Async Varlink 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}/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}+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}+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 %package -n %{name}+server-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+server-devel %{_description} This package contains library source intended for building other packages which use the "server" feature of the "%{crate}" crate. %files -n %{name}+server-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+service-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+service-devel %{_description} This package contains library source intended for building other packages which use the "service" feature of the "%{crate}" crate. %files -n %{name}+service-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+smol-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+smol-devel %{_description} This package contains library source intended for building other packages which use the "smol" feature of the "%{crate}" crate. %files -n %{name}+smol-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tokio-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tokio-devel %{_description} This package contains library source intended for building other packages which use the "tokio" feature of the "%{crate}" crate. %files -n %{name}+tokio-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+tracing-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+tracing-devel %{_description} This package contains library source intended for building other packages which use the "tracing" feature of the "%{crate}" crate. %files -n %{name}+tracing-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -f smol,tokio %build %cargo_build -f smol,tokio %install %cargo_install -f smol,tokio %if %{with check} %check %cargo_test -f smol,tokio %endif %changelog ## START: Generated by rpmautospec * Fri Mar 20 2026 Andreas Schneider - 0.4.0-1 - Update to version 0.4.0 - resolves: rhbz#2441765 * Mon Feb 02 2026 Andreas Schneider - 0.3.0-1 - Update to version 0.3.0 * Mon Dec 22 2025 Andreas Schneider - 0.2.0-1 - Update to version 0.2.0 - https://github.com/z-galaxy/zlink/releases/tag/zlink-0.2.0 - resolves: rhbz#2419337 * Mon Oct 27 2025 Andreas Schneider - 0.1.1-1 - Initial package version 0.1.1 ## END: Generated by rpmautospec