Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > media > core-release-src > by-pkgid > 82803fb652130dc05fca9ead1f5c8f14 > files > 3

rust-crossbeam-utils-0.8.18-1.mga10.src.rpm

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

%global crate crossbeam-utils

Name:           rust-crossbeam-utils
Version:        0.8.18
Release:        %mkrel 1
Summary:        Utilities for concurrent programming
Group:          Development/Other

License:        MIT OR Apache-2.0
URL:            https://crates.io/crates/crossbeam-utils
Source:         %{crates_source}
# Automatically generated patch to strip dependencies and normalize metadata
Patch:          crossbeam-utils-fix-metadata-auto.diff
BuildArch:      noarch
BuildRequires:  cargo-rpm-macros >= 24

%global _description %{expand:
Utilities for concurrent programming.}

%description %{_description}

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

%description    devel %{_description}

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

%files          devel
%license %{crate_instdir}/LICENSE-APACHE
%license %{crate_instdir}/LICENSE-MIT
%doc %{crate_instdir}/CHANGELOG.md
%doc %{crate_instdir}/README.md
%{crate_instdir}/

%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 %{crate_instdir}/Cargo.toml

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

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

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

%files       -n %{name}+nightly-devel
%ghost %{crate_instdir}/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 %{crate_instdir}/Cargo.toml

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

%generate_buildrequires
%cargo_generate_buildrequires

%build
%cargo_build

%install
%cargo_install

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


%changelog
* Sun Jan 07 2024 wally <wally> 0.8.18-1.mga10
+ Revision: 2028606
- new version 0.8.18
- build as noarch

* Tue Apr 04 2023 daviddavid <daviddavid> 0.8.14-2.mga9
+ Revision: 1951374
- remove unknown feature: lazy_static

* Sat Dec 17 2022 guillomovitch <guillomovitch> 0.8.14-1.mga9
+ Revision: 1924177
- new version 0.8.14

* Mon Oct 10 2022 guillomovitch <guillomovitch> 0.8.12-1.mga9
+ Revision: 1896174
- new version 0.8.12

* Sat Sep 24 2022 neoclust <neoclust> 0.8.11-1.mga9
+ Revision: 1892105
- New version 0.8.11

* Wed Mar 23 2022 umeabot <umeabot> 0.8.7-2.mga9
+ Revision: 1821613
- Mageia 9 Mass Rebuild

* Mon Feb 21 2022 guillomovitch <guillomovitch> 0.8.7-1.mga9
+ Revision: 1782496
- imported package rust-crossbeam-utils