## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## 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 crate cargo-insta Name: rust-cargo-insta Version: 1.41.1 Release: %autorelease Summary: Review tool for the insta snapshot testing library for Rust License: Apache-2.0 URL: https://crates.io/crates/cargo-insta Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * Allow os_pipe 1.x: https://github.com/mitsuhiko/insta/pull/686 Patch: cargo-insta-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A review tool for the insta snapshot testing library for Rust.} %description %{_description} %package -n %{crate} Summary: %{summary} # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # Apache-2.0 # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # MIT # MIT OR Apache-2.0 # Unlicense OR MIT License: Apache-2.0 AND MIT AND Unicode-DFS-2016 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %license LICENSE.dependencies %doc README.md %{_bindir}/cargo-insta %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %cargo_install %if %{with check} %check # * skip tests that can only be run in-tree %cargo_test -- -- --exact --skip binary::test_binary_accept --skip binary::test_binary_change_extension --skip binary::test_binary_pending --skip binary::test_binary_pending_snapshot_removal --skip binary::test_binary_unreferenced_delete --skip binary::test_change_binary_to_text --skip binary::test_change_text_to_binary --skip inline::test_hashtag_escape_in_inline_snapshot --skip inline::test_json_inline --skip inline::test_old_yaml_format --skip inline::test_utf8_inline --skip inline::test_yaml_inline --skip test_force_update_inline_snapshot --skip test_force_update_inline_snapshot_hashes --skip test_force_update_inline_snapshot_linebreaks --skip test_force_update_snapshots --skip test_hashtag_escape_in_inline_snapshot --skip test_hidden_snapshots --skip test_ignored_snapshots --skip test_inline_snapshot_indent --skip test_json_inline --skip test_matches_fully_linebreaks --skip test_root_crate_all --skip test_root_crate_no_all --skip test_snapshot_name_clash --skip test_unreferenced_delete --skip test_utf8_inline --skip test_virtual_manifest_all --skip test_virtual_manifest_default --skip test_virtual_manifest_single_crate --skip test_yaml_inline --skip workspace::test_external_test_path --skip workspace::test_insta_workspace_root --skip workspace::test_manifest_option --skip workspace::test_root_crate_no_all --skip workspace::test_root_crate_workspace --skip workspace::test_root_crate_workspace_accept --skip workspace::test_virtual_manifest_all --skip workspace::test_virtual_manifest_default --skip workspace::test_virtual_manifest_single_crate --skip workspace::test_workspace_root_option %endif %changelog ## START: Generated by rpmautospec * Sun Nov 17 2024 Benjamin A. Beasley - 1.41.1-1 - Update to version 1.41.1; Fixes RHBZ#2322060 * Wed Sep 18 2024 Fabio Valentini - 1.40.0-1 - Update to version 1.40.0; Fixes RHBZ#2310383 * Fri Jul 19 2024 Fedora Release Engineering - 1.39.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Sat Jun 22 2024 Benjamin A. Beasley - 1.39.0-1 - Update to 1.39.0 * Thu May 23 2024 Fabio Valentini - 1.38.0-2 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Sat Apr 13 2024 Fabio Valentini - 1.38.0-1 - Update to version 1.38.0; Fixes RHBZ#2265007 * 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#2241128 * Mon Sep 25 2023 Fabio Valentini - 1.32.0-1 - Update to version 1.32.0; Fixes RHBZ#2239942 * 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#2216782 * Mon Mar 27 2023 Fabio Valentini - 1.29.0-1 - Update to version 1.29.0; Fixes RHBZ#2120126 * Sat Feb 04 2023 Fabio Valentini - 1.18.2-3 - Rebuild for fixed frame pointer compiler flags in Rust RPM macros * 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#2111565 * Sun Jul 24 2022 Fabio Valentini - 1.16.0-1 - Update to version 1.16.0; Fixes RHBZ#2109730 * 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#2047392 * Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek - 1.11.0-2 - Rebuild with package notes * Thu Jan 27 2022 Fabio Valentini - 1.11.0-1 - Update to version 1.11.0; Fixes RHBZ#2035491 * Tue Jan 25 2022 Fabio Valentini - 1.8.0-3 - Rebuild with thread_local 1.1.4 for RUSTSEC-2022-0006 * 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#2003296 * Thu Aug 26 2021 Fabio Valentini - 1.7.2-1 - Update to version 1.7.2; Fixes RHBZ#1884288 * Fri Jul 23 2021 Fedora Release Engineering - 0.16.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Wed Jan 27 2021 Fedora Release Engineering - 0.16.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Dec 28 13:28:05 CET 2020 Igor Raits - 0.16.0-3 - Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 0.16.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Wed Jun 17 23:56:08 EEST 2020 Artem Polishchuk - 0.16.0-1 - Initial package ## END: Generated by rpmautospec