From 7d9c417630b032bd33dffea264a640cb309a0889 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Oct 10 2023 19:02:41 +0000 Subject: Update to version 0.1.12; Fixes RHBZ#2238965 --- diff --git a/.gitignore b/.gitignore index 6aedd77..229cf16 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /cargo-config2-0.1.6.crate /cargo-config2-0.1.7.crate /cargo-config2-0.1.11.crate +/cargo-config2-0.1.12.crate diff --git a/rust-cargo-config2.spec b/rust-cargo-config2.spec index e996c01..3a1b0da 100644 --- a/rust-cargo-config2.spec +++ b/rust-cargo-config2.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 24 +# Generated by rust2rpm 25 %bcond_without check %global debug_package %{nil} %global crate cargo-config2 Name: rust-cargo-config2 -Version: 0.1.11 +Version: 0.1.12 Release: %autorelease Summary: Load and resolve Cargo configuration @@ -13,7 +13,7 @@ License: Apache-2.0 OR MIT URL: https://crates.io/crates/cargo-config2 Source: %{crates_source} -BuildRequires: rust-packaging >= 21 +BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Load and resolve Cargo configuration.} @@ -51,7 +51,7 @@ use the "default" feature of the "%{crate}" crate. %ghost %{crate_instdir}/Cargo.toml %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep # drop integration tests which can only be compiled in-tree rm tests/test.rs diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..1872f9e --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[tests] +skip = ["resolve::tests::parse_cfg_list"] +comments = ["skip tests which require cross-compile toolchains to be installed"] diff --git a/sources b/sources index 7d2a73b..dd383d4 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (cargo-config2-0.1.11.crate) = b4edd27e68fef27f7ea91c2557bce198c51613ced0f358c4015d49a7c300443968e960028160819618c20012f528aa861c58c6a8a4b3ecf1866af71df5c2f472 +SHA512 (cargo-config2-0.1.12.crate) = 59995a88c4f9eb4afb2c224789eea52622b9d7aa02a126bb9355a7c3ca1fd04d06cecaa1e4788e00b562ba93bf0b9109949a9e6f4584544f2eb99cb6d26266ef