## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 4; 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 24 # * test suite requires both a running system and session bus %bcond_with check %global debug_package %{nil} %global crate zbus Name: rust-zbus Version: 3.14.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 foreign dependencies 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 # * require nix's user 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-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}+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}+gvariant-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+gvariant-devel %{_description} This package contains library source intended for building other packages which use the "gvariant" feature of the "%{crate}" crate. %files -n %{name}+gvariant-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+quick-xml-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+quick-xml-devel %{_description} This package contains library source intended for building other packages which use the "quick-xml" feature of the "%{crate}" crate. %files -n %{name}+quick-xml-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-xml-rs-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-xml-rs-devel %{_description} This package contains library source intended for building other packages which use the "serde-xml-rs" feature of the "%{crate}" crate. %files -n %{name}+serde-xml-rs-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 %package -n %{name}+xml-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+xml-devel %{_description} This package contains library source intended for building other packages which use the "xml" feature of the "%{crate}" crate. %files -n %{name}+xml-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -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 * 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