## 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 22 # * missing dev-dependencies: snapbox, toml-test-harness %bcond_with check %global debug_package %{nil} %global crate toml_edit Name: rust-toml_edit Version: 0.19.8 Release: %autorelease Summary: Yet another format-preserving TOML parser License: MIT OR Apache-2.0 URL: https://crates.io/crates/toml_edit Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Yet another format-preserving TOML parser.} %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-APACHE %license %{crate_instdir}/LICENSE-MIT %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}+perf-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+perf-devel %{_description} This package contains library source intended for building other packages which use the "perf" feature of the "%{crate}" crate. %files -n %{name}+perf-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}+unbounded-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+unbounded-devel %{_description} This package contains library source intended for building other packages which use the "unbounded" feature of the "%{crate}" crate. %files -n %{name}+unbounded-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 * Sun Mar 26 2023 Aleksei Bavshin - 0.19.8-1 - Update to 0.19.8 * Sat Jan 21 2023 Fedora Release Engineering - 0.14.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Thu Aug 25 2022 Fabio Valentini - 0.14.4-1 - Update to version 0.14.4; Fixes RHBZ#2069853 * Sat Jul 23 2022 Fedora Release Engineering - 0.13.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Sat Feb 05 2022 Fabio Valentini - 0.13.4-1 - Update to version 0.13.4; Fixes RHBZ#2039975 * Fri Jan 21 2022 Fedora Release Engineering - 0.2.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Mon Dec 06 2021 Davide Cavalca - 0.2.1-1 - Initial import; Fixes: RHBZ#1982510