From 2a6b886d85ec274462902dcf6833816d3cda04fd Mon Sep 17 00:00:00 2001 From: "Benjamin A. Beasley" Date: Sun, 10 Nov 2024 23:05:47 -0500 Subject: [PATCH] Update to 0.23.0 (close RHBZ#2274161) --- .gitignore | 1 + rust-rstest.spec | 22 +++++++++++++++++----- rust2rpm.toml | 3 +++ sources | 2 +- 4 files changed, 22 insertions(+), 6 deletions(-) create mode 100644 rust2rpm.toml diff --git a/.gitignore b/.gitignore index 4696dbf..ac2c17e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /rstest-0.17.0.crate /rstest-0.18.2.crate +/rstest-0.23.0.crate diff --git a/rust-rstest.spec b/rust-rstest.spec index 9e6756c..82b7679 100644 --- a/rust-rstest.spec +++ b/rust-rstest.spec @@ -1,12 +1,12 @@ -# Generated by rust2rpm 24 -# * tests require the previous version of rstest +# Generated by rust2rpm 26 +# * Tests require the previous version of rstest. %bcond_with check %global debug_package %{nil} %global crate rstest Name: rust-rstest -Version: 0.18.2 +Version: 0.23.0 Release: %autorelease Summary: Rust fixture based test framework @@ -32,8 +32,8 @@ This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel -%license %{crate_instdir}/LICENCE-MIT %license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/README.md %{crate_instdir}/ @@ -61,8 +61,20 @@ use the "async-timeout" feature of the "%{crate}" crate. %files -n %{name}+async-timeout-devel %ghost %{crate_instdir}/Cargo.toml +%package -n %{name}+crate-name-devel +Summary: %{summary} +BuildArch: noarch + +%description -n %{name}+crate-name-devel %{_description} + +This package contains library source intended for building other packages which +use the "crate-name" feature of the "%{crate}" crate. + +%files -n %{name}+crate-name-devel +%ghost %{crate_instdir}/Cargo.toml + %prep -%autosetup -n %{crate}-%{version_no_tilde} -p1 +%autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires diff --git a/rust2rpm.toml b/rust2rpm.toml new file mode 100644 index 0000000..1e32ab1 --- /dev/null +++ b/rust2rpm.toml @@ -0,0 +1,3 @@ +[tests] +run = ["none"] +comments = ["Tests require the previous version of rstest."] diff --git a/sources b/sources index 521d801..6bb08a6 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (rstest-0.18.2.crate) = b73b902c761717acf5848adf888c27e5c58fe304f235e91e1e543cdcfb4e678472b8fe9930cb559be525c0f1a037bdfb2d77b7a0632b021d51976b85288f459a +SHA512 (rstest-0.23.0.crate) = 5bedc6c08a003189280efbc0c3fc30d5faac227a93fa34083200601f4d8e2ddd337e36026ef2c1c93bad436c761d9969756cf289b5994dea854f06f2a881ecd7