From 6e0f3267d0a66549a4c443ebdbdfa9defa683125 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Fri, 28 Apr 2023 23:06:44 +0200 Subject: [PATCH] Update to version 0.9.1; Fixes RHBZ#2190391 --- .gitignore | 1 + README.md | 3 --- rust-tester.spec | 48 ++++++++++++++++++++++-------------------------- sources | 2 +- 4 files changed, 24 insertions(+), 30 deletions(-) delete mode 100644 README.md diff --git a/.gitignore b/.gitignore index 3dfa8cf..24794cd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /tester-0.7.0.crate /tester-0.9.0.crate +/tester-0.9.1.crate diff --git a/README.md b/README.md deleted file mode 100644 index 2fe06ff..0000000 --- a/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# rust-tester - -The rust-tester package \ No newline at end of file diff --git a/rust-tester.spec b/rust-tester.spec index 209c1d6..b6dfddd 100644 --- a/rust-tester.spec +++ b/rust-tester.spec @@ -1,28 +1,23 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 24 %bcond_without check %global debug_package %{nil} %global crate tester -Name: rust-%{crate} -Version: 0.9.0 +Name: rust-tester +Version: 0.9.1 Release: %autorelease -Summary: Fork of the test crate that doesn't require unstable language features +Summary: Fork of Rust’s test crate that doesn’t require unstable language features -# Upstream license specification: MIT OR Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/tester Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: -Fork of Rust’s `test` crate that doesn't require unstable language features.} +A fork of Rust’s `test` crate that doesn’t require unstable language +features.} %description %{_description} @@ -32,12 +27,13 @@ BuildArch: noarch %description devel %{_description} -This package contains library source intended for building other packages -which use "%{crate}" crate. +This package contains library source intended for building other packages which +use the "%{crate}" crate. %files devel -%license LICENSE-MIT LICENSE-APACHE -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -45,11 +41,11 @@ BuildArch: noarch %description -n %{name}+default-devel %{_description} -This package contains library source intended for building other packages -which use "default" feature of "%{crate}" crate. +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 %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+asm_black_box-devel Summary: %{summary} @@ -57,11 +53,11 @@ BuildArch: noarch %description -n %{name}+asm_black_box-devel %{_description} -This package contains library source intended for building other packages -which use "asm_black_box" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "asm_black_box" feature of the "%{crate}" crate. %files -n %{name}+asm_black_box-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %package -n %{name}+capture-devel Summary: %{summary} @@ -69,11 +65,11 @@ BuildArch: noarch %description -n %{name}+capture-devel %{_description} -This package contains library source intended for building other packages -which use "capture" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "capture" feature of the "%{crate}" crate. %files -n %{name}+capture-devel -%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml +%ghost %{crate_instdir}/Cargo.toml %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index 4d66beb..78cedee 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (tester-0.9.0.crate) = 0901bd7d5c59603b79c77fb3a3cfc62d10bb529ce5d7c4e58c637bda5f4656ac88a921e1f4ef31da58e71133082fdcadae0a8a5b072b1ee3e6d7cd5ec4615b43 +SHA512 (tester-0.9.1.crate) = 1a7b337cb6ca6da61c923eff5ec7a3f9c867f7786aa8b0e4b019bebf2dd41bdc8ce2c92b3d9144f4ce75461a935b68c2ed59ef48030ef0c0d61752ab23bb0cb8