From 53ee7ab31bc5d8f8c1d6812651fe30921e87fab3 Mon Sep 17 00:00:00 2001 From: Fabio Valentini Date: Dec 20 2022 20:48:55 +0000 Subject: Update to version 0.3.0; Fixes RHBZ#1931160 --- diff --git a/.gitignore b/.gitignore index 1cdb87a..513b101 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /proptest-derive-0.1.2.crate /proptest-derive-0.2.0.crate +/proptest-derive-0.3.0.crate diff --git a/rust-proptest-derive.spec b/rust-proptest-derive.spec index d1d1e0f..87cfe6c 100644 --- a/rust-proptest-derive.spec +++ b/rust-proptest-derive.spec @@ -1,26 +1,21 @@ -# Generated by rust2rpm 13 +# Generated by rust2rpm 23 # * Depends on old compiletest_rs and criterion %bcond_with check %global debug_package %{nil} %global crate proptest-derive -Name: rust-%{crate} -Version: 0.2.0 +Name: rust-proptest-derive +Version: 0.3.0 Release: %autorelease Summary: Custom-derive for the Arbitrary trait of proptest # Upstream license specification: MIT/Apache-2.0 -License: MIT or ASL 2.0 +License: MIT OR Apache-2.0 URL: https://crates.io/crates/proptest-derive Source: %{crates_source} -ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif - -BuildRequires: rust-packaging +BuildRequires: rust-packaging >= 21 %global _description %{expand: Custom-derive for the Arbitrary trait of proptest.} @@ -33,13 +28,15 @@ 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 -%doc README.md CHANGELOG.md -%{cargo_registry}/%{crate}-%{version_no_tilde}/ +%license %{crate_instdir}/LICENSE-APACHE +%license %{crate_instdir}/LICENSE-MIT +%doc %{crate_instdir}/CHANGELOG.md +%doc %{crate_instdir}/README.md +%{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} @@ -47,11 +44,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 %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 diff --git a/sources b/sources index bc07fb3..97f2c62 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (proptest-derive-0.2.0.crate) = 606392de965930c10393bd08fd5532b74618f350dbb443d92213a32b2a38d3c46d3117e738af03d0b2eade18422b1f6a7bd7e002edab454139f739d916ded3d4 +SHA512 (proptest-derive-0.3.0.crate) = 9d7a6fe68e5e35e560a73127aacd034951c378271608dc57325ce7166f3880c1e700c7c37130002cc50acc1169c746455aebf6b53bcc8ba4cedcb51d6c1af264