diff --git a/.gitignore b/.gitignore index c9e31c9..9be831e 100644 --- a/.gitignore +++ b/.gitignore @@ -7,3 +7,4 @@ /arbitrary-1.0.1.crate /arbitrary-1.0.2.crate /arbitrary-1.0.3.crate +/arbitrary-1.1.0.crate diff --git a/rust-arbitrary.spec b/rust-arbitrary.spec index 05cbc67..5520852 100644 --- a/rust-arbitrary.spec +++ b/rust-arbitrary.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 18 +# Generated by rust2rpm 20 %bcond_without check %global debug_package %{nil} %global crate arbitrary Name: rust-%{crate} -Version: 1.0.3 +Version: 1.1.0 Release: %autorelease Summary: Trait for generating structured data from unstructured data @@ -15,9 +15,6 @@ URL: https://crates.io/crates/arbitrary Source: %{crates_source} ExclusiveArch: %{rust_arches} -%if %{__cargo_skip_build} -BuildArch: noarch -%endif BuildRequires: rust-packaging @@ -32,12 +29,12 @@ 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 +%license LICENSE-APACHE LICENSE-MIT +%doc CHANGELOG.md README.md %{cargo_registry}/%{crate}-%{version_no_tilde}/ %package -n %{name}+default-devel @@ -46,8 +43,8 @@ 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 @@ -58,8 +55,8 @@ BuildArch: noarch %description -n %{name}+derive-devel %{_description} -This package contains library source intended for building other packages -which use "derive" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "derive" feature of the "%{crate}" crate. %files -n %{name}+derive-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -70,8 +67,8 @@ BuildArch: noarch %description -n %{name}+derive_arbitrary-devel %{_description} -This package contains library source intended for building other packages -which use "derive_arbitrary" feature of "%{crate}" crate. +This package contains library source intended for building other packages which +use the "derive_arbitrary" feature of the "%{crate}" crate. %files -n %{name}+derive_arbitrary-devel %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml @@ -79,6 +76,8 @@ which use "derive_arbitrary" feature of "%{crate}" crate. %prep %autosetup -n %{crate}-%{version_no_tilde} -p1 %cargo_prep +# * remove accidental executable bit from test sources +chmod -x tests/derive.rs %generate_buildrequires %cargo_generate_buildrequires diff --git a/sources b/sources index 4281d76..fcf8568 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (arbitrary-1.0.3.crate) = 76f5df7369c7fe61f73007e572f1e8a1c79e8055daf36741c8f6f386b3f9c674dbd9777c7e4c7db4ca592952aa07c290a70a8c7136699f444b35be9a226dba04 +SHA512 (arbitrary-1.1.0.crate) = 5807bfbec481516df8f5a9e829abd889b87ac70fcea7df21db868203bdbe6bf5b0a2f5ddf94907fbfb9b8d4be3af13f93fe14b1840342f89e875329c4cf7524b