diff --git a/.gitignore b/.gitignore index 4c69928..b4d10db 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ /wayland-scanner-0.29.5.crate /wayland-scanner-0.31.0.crate /wayland-scanner-0.31.1.crate +/wayland-scanner-0.31.2.crate diff --git a/rust-wayland-scanner.spec b/rust-wayland-scanner.spec index d36adbf..fb9b9d7 100644 --- a/rust-wayland-scanner.spec +++ b/rust-wayland-scanner.spec @@ -1,11 +1,11 @@ -# Generated by rust2rpm 25 +# Generated by rust2rpm 26 %bcond_without check %global debug_package %{nil} %global crate wayland-scanner Name: rust-wayland-scanner -Version: 0.31.1 +Version: 0.31.2 Release: %autorelease Summary: Wayland Scanner for generating rust APIs from XML wayland protocol files @@ -14,6 +14,9 @@ URL: https://crates.io/crates/wayland-scanner Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 +%if %{with check} +BuildRequires: rustfmt +%endif %global _description %{expand: Wayland Scanner for generating rust APIs from XML wayland protocol @@ -54,9 +57,6 @@ use the "default" feature of the "%{crate}" crate. %generate_buildrequires %cargo_generate_buildrequires -%if %{with check} -echo 'rustfmt' -%endif %build %cargo_build diff --git a/sources b/sources index 88b3897..cb1a79e 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wayland-scanner-0.31.1.crate) = 61521f39f414bce7bf372656544294382676649a42d3e2751b6a33874bf12ea3fe87d55c9389799197bbbab36fade2f386a6a83437434d4e0175347b232f7f62 +SHA512 (wayland-scanner-0.31.2.crate) = 1cb46932758570a846dde02f88647cc0455a9919e6b3e50afe841891c598e587cbffdb25657be15341faac03df8883aced74d69f5c7e32e3916d6527e8b322a3