## START: Set by rpmautospec ## (rpmautospec version 0.6.0) ## 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 26 %bcond_without check %global debug_package %{nil} %global crate insta Name: rust-insta Version: 1.39.0 Release: %autorelease Summary: Snapshot testing library for Rust License: Apache-2.0 URL: https://crates.io/crates/insta Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Upstream pinned CSV to 1.1.6 to try to keep an older MSRV; see # https://github.com/mitsuhiko/insta/pull/349. We don’t need to do that. Patch: insta-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %if %{with check} BuildRequires: rustfmt %endif %global _description %{expand: A snapshot testing library for Rust.} %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}+_cargo_insta_internal-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+_cargo_insta_internal-devel %{_description} This package contains library source intended for building other packages which use the "_cargo_insta_internal" feature of the "%{crate}" crate. %files -n %{name}+_cargo_insta_internal-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+colors-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+colors-devel %{_description} This package contains library source intended for building other packages which use the "colors" feature of the "%{crate}" crate. %files -n %{name}+colors-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+console-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+console-devel %{_description} This package contains library source intended for building other packages which use the "console" feature of the "%{crate}" crate. %files -n %{name}+console-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+csv-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+csv-devel %{_description} This package contains library source intended for building other packages which use the "csv" feature of the "%{crate}" crate. %files -n %{name}+csv-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dep_csv-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dep_csv-devel %{_description} This package contains library source intended for building other packages which use the "dep_csv" feature of the "%{crate}" crate. %files -n %{name}+dep_csv-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dep_ron-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dep_ron-devel %{_description} This package contains library source intended for building other packages which use the "dep_ron" feature of the "%{crate}" crate. %files -n %{name}+dep_ron-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dep_toml-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dep_toml-devel %{_description} This package contains library source intended for building other packages which use the "dep_toml" feature of the "%{crate}" crate. %files -n %{name}+dep_toml-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+filters-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+filters-devel %{_description} This package contains library source intended for building other packages which use the "filters" feature of the "%{crate}" crate. %files -n %{name}+filters-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+glob-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+glob-devel %{_description} This package contains library source intended for building other packages which use the "glob" feature of the "%{crate}" crate. %files -n %{name}+glob-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+globset-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+globset-devel %{_description} This package contains library source intended for building other packages which use the "globset" feature of the "%{crate}" crate. %files -n %{name}+globset-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+json-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+json-devel %{_description} This package contains library source intended for building other packages which use the "json" feature of the "%{crate}" crate. %files -n %{name}+json-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pest-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pest-devel %{_description} This package contains library source intended for building other packages which use the "pest" feature of the "%{crate}" crate. %files -n %{name}+pest-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+pest_derive-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+pest_derive-devel %{_description} This package contains library source intended for building other packages which use the "pest_derive" feature of the "%{crate}" crate. %files -n %{name}+pest_derive-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+redactions-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+redactions-devel %{_description} This package contains library source intended for building other packages which use the "redactions" feature of the "%{crate}" crate. %files -n %{name}+redactions-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+regex-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+regex-devel %{_description} This package contains library source intended for building other packages which use the "regex" feature of the "%{crate}" crate. %files -n %{name}+regex-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ron-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ron-devel %{_description} This package contains library source intended for building other packages which use the "ron" feature of the "%{crate}" crate. %files -n %{name}+ron-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}+toml-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+toml-devel %{_description} This package contains library source intended for building other packages which use the "toml" feature of the "%{crate}" crate. %files -n %{name}+toml-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+walkdir-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+walkdir-devel %{_description} This package contains library source intended for building other packages which use the "walkdir" feature of the "%{crate}" crate. %files -n %{name}+walkdir-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+yaml-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+yaml-devel %{_description} This package contains library source intended for building other packages which use the "yaml" feature of the "%{crate}" crate. %files -n %{name}+yaml-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 * Sat Jun 22 2024 Benjamin A. Beasley - 1.39.0-1 - Update to 1.39.0 * Sat Apr 13 2024 Fabio Valentini - 1.38.0-1 - Update to version 1.38.0; Fixes RHBZ#2264926 * Fri Jan 26 2024 Fedora Release Engineering - 1.34.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Oct 18 2023 Fabio Valentini - 1.34.0-1 - Update to version 1.34.0; Fixes RHBZ#2241130 * Mon Sep 25 2023 Fabio Valentini - 1.32.0-1 - Update to version 1.32.0; Fixes RHBZ#2239936 * Fri Jul 21 2023 Fedora Release Engineering - 1.31.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Mon Jul 17 2023 Fabio Valentini - 1.31.0-1 - Update to version 1.31.0; Fixes RHBZ#2216786 * Fri Apr 07 2023 Fabio Valentini - 1.29.0-2 - Relax csv dependency from =1.1.6 to ^1.1.6 * Mon Mar 27 2023 Fabio Valentini - 1.29.0-1 - Update to version 1.29.0; Fixes RHBZ#2120128 * Fri Jan 20 2023 Fedora Release Engineering - 1.18.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Aug 20 2022 Fabio Valentini - 1.18.2-1 - Update to version 1.18.2; Fixes RHBZ#2111575 * Sun Jul 24 2022 Fabio Valentini - 1.16.0-1 - Update to version 1.16.0; Fixes RHBZ#2109727 * Sat Jul 23 2022 Fedora Release Engineering - 1.15.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jul 04 2022 Fabio Valentini - 1.15.0-1 - Update to version 1.15.0; Fixes RHBZ#2047411 * Thu Jan 27 2022 Fabio Valentini - 1.11.0-1 - Update to version 1.11.0; Fixes RHBZ#2035483 * Fri Jan 21 2022 Fedora Release Engineering - 1.8.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Nov 12 2021 Fabio Valentini - 1.8.0-1 - Update to version 1.8.0; Fixes RHBZ#2003300 * Thu Aug 26 2021 Fabio Valentini - 1.7.2-1 - Update to version 1.7.2; Fixes RHBZ#1884296 * Fri Jul 23 2021 Fedora Release Engineering - 0.16.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.16.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.16.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Fri Jul 10 2020 Josh Stone - 0.16.1-1 - Update to 0.16.1 * Wed Jun 17 22:28:51 EEST 2020 Artem Polishchuk - 0.16.0-1 - Initial package ## END: Generated by rpmautospec