Blame rust-fragile.spec

31cdde8
# Generated by rust2rpm 21
7f3c6c0
%bcond_without check
949fc23
%global debug_package %{nil}
949fc23
949fc23
%global crate fragile
949fc23
949fc23
Name:           rust-%{crate}
31cdde8
Version:        1.2.0
8d2bb4a
Release:        %autorelease
7f3c6c0
Summary:        Provides wrapper types for sending non-send values to other threads
949fc23
949fc23
# Upstream license specification: Apache-2.0
949fc23
License:        ASL 2.0
949fc23
URL:            https://crates.io/crates/fragile
c2f532c
Source:         %{crates_source}
949fc23
949fc23
ExclusiveArch:  %{rust_arches}
949fc23
31cdde8
BuildRequires:  rust-packaging >= 21
949fc23
94fb430
%global _description %{expand:
94fb430
Provides wrapper types for sending non-send values to other threads.}
c2f532c
c2f532c
%description %{_description}
949fc23
949fc23
%package        devel
949fc23
Summary:        %{summary}
949fc23
BuildArch:      noarch
949fc23
c2f532c
%description    devel %{_description}
949fc23
7f3c6c0
This package contains library source intended for building other packages which
7f3c6c0
use the "%{crate}" crate.
c2f532c
c2f532c
%files          devel
31cdde8
%license %{crate_instdir}/LICENSE
31cdde8
%doc %{crate_instdir}/CHANGELOG.md
31cdde8
%doc %{crate_instdir}/README.md
31cdde8
%{crate_instdir}/
c2f532c
c2f532c
%package     -n %{name}+default-devel
c2f532c
Summary:        %{summary}
c2f532c
BuildArch:      noarch
c2f532c
c2f532c
%description -n %{name}+default-devel %{_description}
c2f532c
7f3c6c0
This package contains library source intended for building other packages which
7f3c6c0
use the "default" feature of the "%{crate}" crate.
c2f532c
c2f532c
%files       -n %{name}+default-devel
31cdde8
%ghost %{crate_instdir}/Cargo.toml
31cdde8
31cdde8
%package     -n %{name}+slab-devel
31cdde8
Summary:        %{summary}
31cdde8
BuildArch:      noarch
31cdde8
31cdde8
%description -n %{name}+slab-devel %{_description}
31cdde8
31cdde8
This package contains library source intended for building other packages which
31cdde8
use the "slab" feature of the "%{crate}" crate.
31cdde8
31cdde8
%files       -n %{name}+slab-devel
31cdde8
%ghost %{crate_instdir}/Cargo.toml
949fc23
949fc23
%prep
c2f532c
%autosetup -n %{crate}-%{version_no_tilde} -p1
949fc23
%cargo_prep
949fc23
94fb430
%generate_buildrequires
94fb430
%cargo_generate_buildrequires
94fb430
949fc23
%build
949fc23
%cargo_build
949fc23
949fc23
%install
949fc23
%cargo_install
949fc23
949fc23
%if %{with check}
949fc23
%check
949fc23
%cargo_test
949fc23
%endif
949fc23
949fc23
%changelog
8d2bb4a
%autochangelog