## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## 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 28 %bcond check 1 %global debug_package %{nil} %global crate below-model # compile and run tests only on supported architectures %global unsupported_arches %{ix86} Name: rust-below-model Version: 0.9.0 Release: %autorelease Summary: Model crate for below License: Apache-2.0 URL: https://crates.io/crates/below-model Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * bump enum-iterator from 1.4.1 to 2 # * drop unused futures/compat dev-dependency feature # * relax hostname dependency to allow 0.4.x Patch: below-model-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Model crate for below.} %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 %{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 %ifnarch %{unsupported_arches} %cargo_build %endif %install %cargo_install %if %{with check} %ifnarch %{unsupported_arches} %check %cargo_test %endif %endif %changelog ## START: Generated by rpmautospec * Thu Mar 19 2026 Michel Lind - 0.9.0-4 - Allow building against hostname 0.4 * Sat Jan 17 2026 Fedora Release Engineering - 0.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Fri Jul 25 2025 Fedora Release Engineering - 0.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild * Wed Feb 26 2025 Michel Lind - 0.9.0-1 - Update to 0.9.0; Fixes: RHBZ#2347635 * Sun Jan 19 2025 Fedora Release Engineering - 0.8.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild * Sun Oct 13 2024 Fabio Valentini - 0.8.1-3 - Drop unused futures/compat dev-dependency feature * Fri Jul 19 2024 Fedora Release Engineering - 0.8.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu May 16 2024 Michel Lind - 0.8.1-1 - Update to 0.8.1 (rhbz#2272252) * Fri Jan 26 2024 Fedora Release Engineering - 0.7.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Aug 02 2023 Michel Alexandre Salim - 0.7.1-1 - Update to 0.7.1 * Fri Jul 21 2023 Fedora Release Engineering - 0.6.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sun Jan 29 2023 Michel Alexandre Salim - 0.6.3-3 - Also exclude builds on 32-bit ARM architectures * Fri Jan 20 2023 Fedora Release Engineering - 0.6.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Jan 19 2023 Michel Alexandre Salim - 0.6.3-1 - Update to 0.6.3 * Sat Jul 23 2022 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu Feb 17 2022 Michel Alexandre Salim - 0.5.0-1 - Update to 0.5.0 (resolves: rhbz#2047959) * Fri Jan 21 2022 Fedora Release Engineering - 0.4.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Nov 11 2021 Davide Cavalca - 0.4.1-1 - Update to 0.4.1; Fixes: RHBZ#2022245 * Fri Oct 22 2021 Davide Cavalca - 0.4.0-1 - Update to 0.4.0; Fixes: RHBZ#2016549, RHBZ#1993532, RHBZ#1993534 * Thu Jul 29 2021 Davide Cavalca - 0.3.0-1 - Update to 0.3.0; Fixes: RHBZ#1983806 * Fri Jul 23 2021 Fedora Release Engineering - 0.2.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jun 16 2021 Davide Cavalca - 0.2.0-1 - Initial package ## END: Generated by rpmautospec