|
|
|
@ -1,12 +1,11 @@
|
|
|
|
|
# Generated by rust2rpm 19
|
|
|
|
|
# no-panic fails: https://github.com/rust-lang/libm/issues/234
|
|
|
|
|
%bcond_with check
|
|
|
|
|
# Generated by rust2rpm 20
|
|
|
|
|
%bcond_without check
|
|
|
|
|
%global debug_package %{nil}
|
|
|
|
|
|
|
|
|
|
%global crate libm
|
|
|
|
|
|
|
|
|
|
Name: rust-%{crate}
|
|
|
|
|
Version: 0.2.1
|
|
|
|
|
Version: 0.2.2
|
|
|
|
|
Release: %autorelease
|
|
|
|
|
Summary: Libm in pure Rust
|
|
|
|
|
|
|
|
|
@ -19,9 +18,6 @@ Source: %{crates_source}
|
|
|
|
|
Patch0: libm-fix-metadata.diff
|
|
|
|
|
|
|
|
|
|
ExclusiveArch: %{rust_arches}
|
|
|
|
|
%if %{__cargo_skip_build}
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
BuildRequires: rust-packaging
|
|
|
|
|
|
|
|
|
@ -37,7 +33,7 @@ BuildArch: noarch
|
|
|
|
|
%description devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "%{crate}" crate.
|
|
|
|
|
use the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%license LICENSE-APACHE LICENSE-MIT
|
|
|
|
@ -51,7 +47,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+default-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the default" feature of the "%{crate}" crate.
|
|
|
|
|
use the "default" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+default-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
@ -63,7 +59,7 @@ BuildArch: noarch
|
|
|
|
|
%description -n %{name}+unstable-devel %{_description}
|
|
|
|
|
|
|
|
|
|
This package contains library source intended for building other packages which
|
|
|
|
|
use "the unstable" feature of the "%{crate}" crate.
|
|
|
|
|
use the "unstable" feature of the "%{crate}" crate.
|
|
|
|
|
|
|
|
|
|
%files -n %{name}+unstable-devel
|
|
|
|
|
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml
|
|
|
|
|