## 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 yoke Name: rust-yoke Version: 0.8.0 Release: %autorelease Summary: Abstraction allowing borrowed data to be carried along with its backing data License: Unicode-3.0 URL: https://crates.io/crates/yoke Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Abstraction allowing borrowed data to be carried along with the backing data it borrows from.} %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}+alloc-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+alloc-devel %{_description} This package contains library source intended for building other packages which use the "alloc" feature of the "%{crate}" crate. %files -n %{name}+alloc-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+derive-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+derive-devel %{_description} This package contains library source intended for building other packages which use the "derive" feature of the "%{crate}" crate. %files -n %{name}+derive-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+serde-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+serde-devel %{_description} This package contains library source intended for building other packages which use the "serde" feature of the "%{crate}" crate. %files -n %{name}+serde-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+zerofrom-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+zerofrom-devel %{_description} This package contains library source intended for building other packages which use the "zerofrom" feature of the "%{crate}" crate. %files -n %{name}+zerofrom-devel %ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires -f derive %build %cargo_build -f derive %install %cargo_install -f derive %if %{with check} %check %cargo_test -f derive %endif %changelog ## START: Generated by rpmautospec * Wed May 21 2025 Benjamin A. Beasley - 0.8.0-1 - Update to version 0.8.0; Fixes RHBZ#2348436 * Wed May 21 2025 Benjamin A. Beasley - 0.7.5-5 - Restore postcard dev-dependency * Tue May 13 2025 Benjamin A. Beasley - 0.7.5-4 - Re-generate using rust2rpm 27 - Since it is now easier to re-use a Cargo.toml patch, we use one to remove the postcard dev-dependency instead of depending on tomcli. * Tue May 13 2025 Benjamin A. Beasley - 0.7.5-3 - Remove no-longer-necessary .rpmlintrc file * Sun Jan 19 2025 Fedora Release Engineering - 0.7.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sat Nov 23 2024 Benjamin A. Beasley - 0.7.5-1 - Update to 0.7.5 (close RHBZ#2328447) * Sat Sep 21 2024 Benjamin A. Beasley - 0.7.4-1 - Initial package (close RHBZ#2311985) ## END: Generated by rpmautospec