Sophie

Sophie

distrib > Mageia > 9 > aarch64 > media > core-release-src > by-pkgid > 68818c8797fb64665a13a123cb60c1b4 > files > 2

rust-num-traits-0.2.15-1.mga9.src.rpm

# Generated by rust2rpm 19
%bcond_without check
%global debug_package %{nil}

%global crate num-traits

Name:           rust-%{crate}
Version:        0.2.15
Release:        %mkrel 1
Summary:        Numeric traits for generic mathematics
Group:          Development/Other

# Upstream license specification: MIT OR Apache-2.0
License:        MIT or ASL 2.0
URL:            https://crates.io/crates/num-traits
Source:         %{crates_source}

ExclusiveArch:  %{rust_arches}
BuildArch:      noarch

BuildRequires:  rust-packaging
BuildRequires:  crate(autocfg/default) >= 1.0.0

%global _description %{expand:
Numeric traits for generic mathematics.}

%description %{_description}

%package        devel
Summary:        %{summary}
BuildArch:      noarch

%description    devel %{_description}

This package contains library source intended for building other packages which
use "%{crate}" crate.

%files          devel
%license LICENSE-APACHE LICENSE-MIT
%doc README.md RELEASES.md
%{cargo_registry}/%{crate}-%{version_no_tilde}/

%package     -n %{name}+default-devel
Summary:        %{summary}
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.

%files       -n %{name}+default-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml

%package     -n %{name}+i128-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+i128-devel %{_description}

This package contains library source intended for building other packages which
use "the i128" feature of the "%{crate}" crate.

%files       -n %{name}+i128-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml

%package     -n %{name}+libm-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+libm-devel %{_description}

This package contains library source intended for building other packages which
use "the libm" feature of the "%{crate}" crate.

%files       -n %{name}+libm-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml

%package     -n %{name}+std-devel
Summary:        %{summary}
BuildArch:      noarch

%description -n %{name}+std-devel %{_description}

This package contains library source intended for building other packages which
use "the std" feature of the "%{crate}" crate.

%files       -n %{name}+std-devel
%ghost %{cargo_registry}/%{crate}-%{version_no_tilde}/Cargo.toml

%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
%cargo_prep

%generate_buildrequires
%cargo_generate_buildrequires

%build
%cargo_build

%install
%cargo_install

%if %{with check}
%check
%cargo_test
%endif


%changelog
* Tue May 24 2022 guillomovitch <guillomovitch> 0.2.15-1.mga9
+ Revision: 1860055
- new version 0.2.15

* Wed Mar 23 2022 umeabot <umeabot> 0.2.14-3.mga9
+ Revision: 1821100
- Mageia 9 Mass Rebuild

* Tue Feb 15 2022 guillomovitch <guillomovitch> 0.2.14-2.mga9
+ Revision: 1775738
- rebuild with urpmi-compatible automatic dependencies

* Sun Feb 13 2022 guillomovitch <guillomovitch> 0.2.14-1.mga9
+ Revision: 1773889
- imported package rust-num-traits