## 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 zerofrom Name: rust-zerofrom Version: 0.1.7 Release: %autorelease Summary: ZeroFrom trait for constructing License: Unicode-3.0 URL: https://crates.io/crates/zerofrom Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: ZeroFrom trait for constructing.} %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 %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 * Sun Apr 12 2026 Benjamin A. Beasley - 0.1.7-1 - Update to version 0.1.7; Fixes RHBZ#2453886 * Sat Jan 17 2026 Fedora Release Engineering - 0.1.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Jul 25 2025 Fedora Release Engineering - 0.1.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Wed May 14 2025 Benjamin A. Beasley - 0.1.6-3 - No longer need to patch for old Rust in EPEL9 * Tue May 13 2025 Benjamin A. Beasley - 0.1.6-2 - Remove no-longer-necessary .rpmlintrc file * Wed Feb 26 2025 Benjamin A. Beasley - 0.1.6-1 - Update to 0.1.6 (close RHBZ#2348438) * Sun Jan 19 2025 Fedora Release Engineering - 0.1.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sat Nov 23 2024 Benjamin A. Beasley - 0.1.5-1 - Update to 0.1.5 (close RHBZ#2328449) * Tue Sep 10 2024 Benjamin A. Beasley - 0.1.4-1 - Initial package (close RHBZ#2310860) ## END: Generated by rpmautospec