## 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 %bcond check 1 %global debug_package %{nil} %global crate zbus_names Name: rust-zbus_names Version: 4.1.0 Release: %autorelease Summary: Collection of D-Bus bus names types License: MIT URL: https://crates.io/crates/zbus_names Source: %{crates_source} # Manually created patch for downstream crate metadata changes Patch: zbus_names-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A collection of D-Bus bus names types.} %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 %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 - 4.1.0-1 - Uncommitted changes * Sat Jul 20 2024 Fedora Release Engineering - 3.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Mar 30 2024 Fabio Valentini - 3.0.0-1 - Update to version 3.0.0; Fixes RHBZ#2263847 * Sat Jan 27 2024 Fedora Release Engineering - 2.6.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sat Jul 22 2023 Fedora Release Engineering - 2.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Wed Jul 12 2023 Fabio Valentini - 2.6.0-1 - Update to version 2.6.0; Fixes RHBZ#2218339 * Tue May 23 2023 Fabio Valentini - 2.5.1-1 - Update to version 2.5.1; Fixes RHBZ#2203400 * Sun Feb 19 2023 Fabio Valentini - 2.5.0-1 - Update to version 2.5.0; Fixes RHBZ#2143024 * Sat Jan 21 2023 Fedora Release Engineering - 2.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Aug 02 2022 Fabio Valentini - 2.2.0-1 - Initial import (#2110085) ## END: Generated by rpmautospec