## START: Set by rpmautospec ## (rpmautospec version 0.7.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 27 # * test suite requires both a running system and session bus %bcond check 0 %global debug_package %{nil} %global crate zbus Name: rust-zbus Version: 5.1.1 Release: %autorelease Summary: API for D-Bus communication License: MIT URL: https://crates.io/crates/zbus Source: %{crates_source} # Automatically generated patch to strip dependencies and normalize metadata Patch: zbus-fix-metadata-auto.diff # Manually created patch for downstream crate metadata changes # * drop unstable-only tracing feature from tokio # * remove features and dependencies for unused vsock support # * remove Windows-only windows-gdbus feature Patch: zbus-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: API for D-Bus communication.} %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}+async-executor-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-executor-devel %{_description} This package contains library source intended for building other packages which use the "async-executor" feature of the "%{crate}" crate. %files -n %{name}+async-executor-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-fs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-fs-devel %{_description} This package contains library source intended for building other packages which use the "async-fs" feature of the "%{crate}" crate. %files -n %{name}+async-fs-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-io-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-io-devel %{_description} This package contains library source intended for building other packages which use the "async-io" feature of the "%{crate}" crate. %files -n %{name}+async-io-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-lock-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-lock-devel %{_description} This package contains library source intended for building other packages which use the "async-lock" feature of the "%{crate}" crate. %files -n %{name}+async-lock-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-process-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-process-devel %{_description} This package contains library source intended for building other packages which use the "async-process" feature of the "%{crate}" crate. %files -n %{name}+async-process-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+async-task-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+async-task-devel %{_description} This package contains library source intended for building other packages which use the "async-task" feature of the "%{crate}" crate. %files -n %{name}+async-task-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+blocking-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+blocking-devel %{_description} This package contains library source intended for building other packages which use the "blocking" feature of the "%{crate}" crate. %files -n %{name}+blocking-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+blocking-api-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+blocking-api-devel %{_description} This package contains library source intended for building other packages which use the "blocking-api" feature of the "%{crate}" crate. %files -n %{name}+blocking-api-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bus-impl-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bus-impl-devel %{_description} This package contains library source intended for building other packages which use the "bus-impl" feature of the "%{crate}" crate. %files -n %{name}+bus-impl-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+camino-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+camino-devel %{_description} This package contains library source intended for building other packages which use the "camino" feature of the "%{crate}" crate. %files -n %{name}+camino-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}+heapless-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+heapless-devel %{_description} This package contains library source intended for building other packages which use the "heapless" feature of the "%{crate}" crate. %files -n %{name}+heapless-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+option-as-array-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+option-as-array-devel %{_description} This package contains library source intended for building other packages which use the "option-as-array" feature of the "%{crate}" crate. %files -n %{name}+option-as-array-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+p2p-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+p2p-devel %{_description} This package contains library source intended for building other packages which use the "p2p" feature of the "%{crate}" crate. %files -n %{name}+p2p-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde_bytes-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde_bytes-devel %{_description} This package contains library source intended for building other packages which use the "serde_bytes" feature of the "%{crate}" crate. %files -n %{name}+serde_bytes-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}+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}+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 %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 * Thu Nov 28 2024 Jonathan Steffan - 5.1.1-1 - Uncommitted changes * Tue Sep 17 2024 Fabio Valentini - 4.4.0-1 - Update to version 4.4.0; Fixes RHBZ#2299339 * Sat Jul 20 2024 Fedora Release Engineering - 4.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sun Jul 07 2024 Fabio Valentini - 4.3.1-1 - Update to version 4.3.1; Fixes RHBZ#2295592 * Tue Jun 25 2024 Fabio Valentini - 4.3.0-1 - Update to version 4.3.0; Fixes RHBZ#2292610 * Fri Jun 14 2024 Fabio Valentini - 4.2.2-1 - Update to version 4.2.2; Fixes RHBZ#2278026 * Sat Mar 30 2024 Fabio Valentini - 4.1.2-1 - Update to version 4.1.2; Fixes RHBZ#2262704 * Wed Feb 14 2024 Michel Lind - 3.14.1-4 - Require nix's user feature * Sat Jan 27 2024 Fedora Release Engineering - 3.14.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 3.14.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jul 12 2023 Fabio Valentini - 3.14.1-1 - Update to version 3.14.1; Fixes RHBZ#2218393 * Tue May 23 2023 Fabio Valentini - 3.13.1-1 - Update to version 3.13.1; Fixes RHBZ#2203399 * Sat May 06 2023 Fabio Valentini - 3.12.0-1 - Update to version 3.12.0; Fixes RHBZ#2176334 * Sun Feb 19 2023 Fabio Valentini - 3.10.0-1 - Update to version 3.10.0; Fixes RHBZ#2119164 * Sat Jan 21 2023 Fedora Release Engineering - 2.3.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Aug 02 2022 Fabio Valentini - 2.3.2-1 - Update to version 2.3.2; Fixes RHBZ#2036619 * Sat Jul 23 2022 Fedora Release Engineering - 1.9.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Jan 22 2022 Fedora Release Engineering - 1.9.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Dec 09 2021 Fabio Valentini - 1.9.2-1 - Update to version 1.9.2 * Fri Jul 23 2021 Fedora Release Engineering - 1.9.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed May 05 2021 Fabio Valentini - 1.9.1-1 - Update to version 1.9.1. * Wed Jan 27 2021 Fedora Release Engineering - 1.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Jan 07 2021 Fabio Valentini - 1.8.0-1 - Initial package ## END: Generated by rpmautospec