## 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 # missing dev dependencies: snapbox %bcond_with check %global debug_package %{nil} %global crate toml Name: rust-toml Version: 0.7.3 Release: %autorelease Summary: Native Rust encoder and decoder of TOML-formatted files and streams License: MIT OR Apache-2.0 URL: https://crates.io/crates/toml Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A native Rust encoder and decoder of TOML-formatted files and streams. Provides implementations of the standard Serialize/Deserialize traits for TOML data to facilitate deserializing and serializing Rust structures.} %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}+display-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+display-devel %{_description} This package contains library source intended for building other packages which use the "display" feature of the "%{crate}" crate. %files -n %{name}+display-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+indexmap-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+indexmap-devel %{_description} This package contains library source intended for building other packages which use the "indexmap" feature of the "%{crate}" crate. %files -n %{name}+indexmap-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+parse-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+parse-devel %{_description} This package contains library source intended for building other packages which use the "parse" feature of the "%{crate}" crate. %files -n %{name}+parse-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+preserve_order-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+preserve_order-devel %{_description} This package contains library source intended for building other packages which use the "preserve_order" feature of the "%{crate}" crate. %files -n %{name}+preserve_order-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.7.3-1 - Update to 0.7.3 * Sat Jan 21 2023 Fedora Release Engineering - 0.5.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Wed Dec 14 2022 Fabio Valentini - 0.5.10-1 - Update to version 0.5.10; Fixes RHBZ#2153421 * Sat Jul 23 2022 Fedora Release Engineering - 0.5.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue May 24 2022 Fabio Valentini - 0.5.9-1 - Update to version 0.5.9; Fixes RHBZ#2075725 * Fri Jan 21 2022 Fedora Release Engineering - 0.5.8-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.5.8-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.5.8-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Dec 28 11:20:53 CET 2020 Igor Raits - 0.5.8-1 - Update to 0.5.8 (Fixes: RHBZ#1909264) * Mon Nov 09 2020 Fabio Valentini - 0.5.7-1 - Update to version 0.5.7. - Fixes RHBZ#1887199 * Wed Jul 29 2020 Fedora Release Engineering - 0.5.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Thu Jan 30 2020 Fedora Release Engineering - 0.5.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Jan 16 2020 Josh Stone - 0.5.6-1 - Update to 0.5.6 * Tue Nov 19 10:02:25 CET 2019 Igor Gnatenko - 0.5.5-1 - Update to 0.5.5 * Fri Jul 26 2019 Fedora Release Engineering - 0.5.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Thu Jun 20 11:13:42 CEST 2019 Igor Gnatenko - 0.5.1-2 - Regenerate * Sat Jun 01 2019 Josh Stone - 0.5.1-1 - Update to 0.5.1 * Sat Mar 16 18:10:18 CET 2019 Igor Gnatenko - 0.5.0-1 - Update to 0.5.0 * Sat Feb 02 2019 Fedora Release Engineering - 0.4.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Thu Dec 06 2018 Josh Stone - 0.4.10-1 - Update to 0.4.10 * Mon Nov 26 2018 Josh Stone - 0.4.9-1 - Update to 0.4.9 * Tue Oct 30 2018 Igor Gnatenko - 0.4.8-2 - Adapt to new packaging * Mon Oct 01 2018 Josh Stone - 0.4.8-1 - Update to 0.4.8 * Fri Sep 28 2018 Josh Stone - 0.4.7-1 - Update to 0.4.7 * Sat Jul 28 2018 Igor Gnatenko - 0.4.6-4 - Rebuild to trigger tests * Sat Jul 28 2018 Igor Gnatenko - 0.4.6-3 - Rebuild to trigger tests * Sat Jul 14 2018 Fedora Release Engineering - 0.4.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Apr 05 2018 Igor Gnatenko - 0.4.6-1 - Update to 0.4.6 * Fri Feb 09 2018 Fedora Release Engineering - 0.4.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Jan 08 2018 Igor Gnatenko - 0.4.5-2 - Rebuild for rust-packaging v5 * Fri Sep 22 2017 Igor Gnatenko - 0.4.5-1 - Update to 0.4.5 * Sun Jun 25 2017 Igor Gnatenko - 0.4.2-1 - Update to 0.4.2 * Thu Jun 15 2017 Igor Gnatenko - 0.4.1-1 - Update to 0.4.1 * Wed Jun 14 2017 Igor Gnatenko - 0.3.1-2 - Port to use rust-packaging * Tue Feb 28 2017 Igor Gnatenko - 0.3.1-1 - Update to 0.3.1 * Sun Feb 26 2017 Igor Gnatenko - 0.3.0-1 - Initial package