Blame rust-pin-project-internal.spec

6e27d32
# Generated by rust2rpm 25
1b2629d
# * tests can only be run in-tree
401b14a
%bcond_with check
90f85f9
%global debug_package %{nil}
90f85f9
90f85f9
%global crate pin-project-internal
90f85f9
a47119d
Name:           rust-pin-project-internal
6e27d32
Version:        1.1.4
59eb1a4
Release:        %autorelease
fd04793
Summary:        Implementation detail of the pin-project crate
90f85f9
a47119d
License:        Apache-2.0 OR MIT
90f85f9
URL:            https://crates.io/crates/pin-project-internal
90f85f9
Source:         %{crates_source}
90f85f9
6e27d32
BuildRequires:  cargo-rpm-macros >= 24
90f85f9
90f85f9
%global _description %{expand:
fd04793
Implementation detail of the `pin-project` crate.}
90f85f9
90f85f9
%description %{_description}
90f85f9
90f85f9
%package        devel
90f85f9
Summary:        %{summary}
90f85f9
BuildArch:      noarch
90f85f9
90f85f9
%description    devel %{_description}
90f85f9
3324da8
This package contains library source intended for building other packages which
3324da8
use the "%{crate}" crate.
90f85f9
90f85f9
%files          devel
3324da8
%license %{crate_instdir}/LICENSE-APACHE
3324da8
%license %{crate_instdir}/LICENSE-MIT
3324da8
%{crate_instdir}/
90f85f9
90f85f9
%package     -n %{name}+default-devel
90f85f9
Summary:        %{summary}
90f85f9
BuildArch:      noarch
90f85f9
90f85f9
%description -n %{name}+default-devel %{_description}
90f85f9
3324da8
This package contains library source intended for building other packages which
3324da8
use the "default" feature of the "%{crate}" crate.
90f85f9
90f85f9
%files       -n %{name}+default-devel
3324da8
%ghost %{crate_instdir}/Cargo.toml
90f85f9
90f85f9
%prep
6e27d32
%autosetup -n %{crate}-%{version} -p1
90f85f9
%cargo_prep
90f85f9
90f85f9
%generate_buildrequires
90f85f9
%cargo_generate_buildrequires
90f85f9
90f85f9
%build
90f85f9
%cargo_build
90f85f9
90f85f9
%install
90f85f9
%cargo_install
90f85f9
90f85f9
%if %{with check}
90f85f9
%check
90f85f9
%cargo_test
90f85f9
%endif
90f85f9
90f85f9
%changelog
59eb1a4
%autochangelog