## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## 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 24 %bcond_without check %global debug_package %{nil} %global crate below-render Name: rust-below-render Version: 0.7.1 Release: %autorelease Summary: Render crate for below License: Apache-2.0 URL: https://crates.io/crates/below-render Source: %{crates_source} BuildRequires: rust-packaging >= 21 %global _description %{expand: Render 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_no_tilde} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog * Mon Jan 15 2024 Arkady L. Shane - 0.7.1-1 - Rebuilt for MSVSphere 9.3 * 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-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * 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 * Wed Feb 16 2022 Michel Alexandre Salim - 0.5.0-1 - Update to 0.5.0 (resolves: rhbz#2047958) * 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#2022248 * Fri Oct 22 2021 Davide Cavalca - 0.4.0-1 - Update to 0.4.0; Fixes: RHBZ#2016550 * Thu Jul 29 2021 Davide Cavalca - 0.3.0-1 - Update to 0.3.0; Fixes: RHBZ#1983807 * 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