Update to rust2rpm 20

epel10
Rémi Lauzier 3 years ago
parent 9d56507b8d
commit 76840d7a7c
No known key found for this signature in database
GPG Key ID: D4B9ECD143336C1D

@ -1,4 +1,4 @@
# Generated by rust2rpm 17 # Generated by rust2rpm 20
# Deactivate tests because of missing function # Deactivate tests because of missing function
# https://github.com/diwic/alsa-sys/issues/8 # https://github.com/diwic/alsa-sys/issues/8
%bcond_with check %bcond_with check
@ -17,9 +17,6 @@ URL: https://crates.io/crates/alsa-sys
Source: %{crates_source} Source: %{crates_source}
ExclusiveArch: %{rust_arches} ExclusiveArch: %{rust_arches}
%if %{__cargo_skip_build}
BuildArch: noarch
%endif
BuildRequires: rust-packaging BuildRequires: rust-packaging
@ -35,8 +32,8 @@ Requires: alsa-lib-devel
%description devel %{_description} %description devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "%{crate}" crate. use the "%{crate}" crate.
%files devel %files devel
%license LICENSE %license LICENSE
@ -49,8 +46,8 @@ BuildArch: noarch
%description -n %{name}+default-devel %{_description} %description -n %{name}+default-devel %{_description}
This package contains library source intended for building other packages This package contains library source intended for building other packages which
which use "default" feature of "%{crate}" crate. use the "default" feature of the "%{crate}" crate.
%files -n %{name}+default-devel %files -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml %ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml

Loading…
Cancel
Save