|
|
|
@ -1,5 +1,6 @@
|
|
|
|
|
# Generated by rust2rpm 26
|
|
|
|
|
%bcond_without check
|
|
|
|
|
# * tests require the cbindgen executable
|
|
|
|
|
%bcond_with check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
# prevent executables from being installed
|
|
|
|
@ -16,6 +17,7 @@ License: MPL-2.0
|
|
|
|
|
URL: https://crates.io/crates/cbindgen
|
|
|
|
|
Source: %{crates_source}
|
|
|
|
|
# Manually created patch for downstream crate metadata changes
|
|
|
|
|
# * drop cbindgen executable from the compat package
|
|
|
|
|
# * bump heck dependency from 0.4 to 0.5
|
|
|
|
|
# * bump serial_test dev-dependency from 0.5 to 3.1
|
|
|
|
|
Patch: cbindgen-fix-metadata.diff
|
|
|
|
@ -61,18 +63,6 @@ use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%package -n %{name}+clap-devel
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description -n %{name}+clap-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use the "clap" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+clap-devel
|
|
|
|
|
%ghost %{crate_instdir}/Cargo.toml
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{crate}-%{version} -p1
|
|
|
|
|
%cargo_prep
|
|
|
|
|