|
|
@ -1,11 +1,11 @@
|
|
|
|
# Generated by rust2rpm 25
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
%bcond_without check
|
|
|
|
%bcond_without check
|
|
|
|
%global debug_package %{nil}
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
|
|
%global crate wayland-scanner
|
|
|
|
%global crate wayland-scanner
|
|
|
|
|
|
|
|
|
|
|
|
Name: rust-wayland-scanner
|
|
|
|
Name: rust-wayland-scanner
|
|
|
|
Version: 0.31.1
|
|
|
|
Version: 0.31.2
|
|
|
|
Release: %autorelease
|
|
|
|
Release: %autorelease
|
|
|
|
Summary: Wayland Scanner for generating rust APIs from XML wayland protocol files
|
|
|
|
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}
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
BuildRequires: cargo-rpm-macros >= 24
|
|
|
|
|
|
|
|
%if %{with check}
|
|
|
|
|
|
|
|
BuildRequires: rustfmt
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
%global _description %{expand:
|
|
|
|
Wayland Scanner for generating rust APIs from XML wayland protocol
|
|
|
|
Wayland Scanner for generating rust APIs from XML wayland protocol
|
|
|
@ -54,9 +57,6 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
|
|
%generate_buildrequires
|
|
|
|
%generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
%cargo_generate_buildrequires
|
|
|
|
%if %{with check}
|
|
|
|
|
|
|
|
echo 'rustfmt'
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
%cargo_build
|
|
|
|
%cargo_build
|
|
|
|