Blame rust-jobserver.spec

0120756
# Generated by rust2rpm 24
0120756
# * outdated dev-dependencies
1be55ed
%bcond_with check
2c14b4a
%global debug_package %{nil}
2c14b4a
2c14b4a
%global crate jobserver
2c14b4a
142b973
Name:           rust-jobserver
0120756
Version:        0.1.26
ecd25a0
Release:        %autorelease
2c14b4a
Summary:        Implementation of the GNU make jobserver for Rust
2c14b4a
0a7bdcb
# Upstream license specification: MIT/Apache-2.0
142b973
License:        MIT OR Apache-2.0
2c14b4a
URL:            https://crates.io/crates/jobserver
a446c9a
Source:         %{crates_source}
2c14b4a
142b973
BuildRequires:  rust-packaging >= 21
2c14b4a
7055334
%global _description %{expand:
0120756
An implementation of the GNU make jobserver for Rust.}
0a7bdcb
0a7bdcb
%description %{_description}
2c14b4a
2c14b4a
%package        devel
2c14b4a
Summary:        %{summary}
2c14b4a
BuildArch:      noarch
2c14b4a
0a7bdcb
%description    devel %{_description}
2c14b4a
142b973
This package contains library source intended for building other packages which
142b973
use the "%{crate}" crate.
0a7bdcb
0a7bdcb
%files          devel
142b973
%license %{crate_instdir}/LICENSE-APACHE
142b973
%license %{crate_instdir}/LICENSE-MIT
142b973
%doc %{crate_instdir}/README.md
142b973
%{crate_instdir}/
0a7bdcb
0a7bdcb
%package     -n %{name}+default-devel
0a7bdcb
Summary:        %{summary}
0a7bdcb
BuildArch:      noarch
0a7bdcb
0a7bdcb
%description -n %{name}+default-devel %{_description}
0a7bdcb
142b973
This package contains library source intended for building other packages which
142b973
use the "default" feature of the "%{crate}" crate.
0a7bdcb
0a7bdcb
%files       -n %{name}+default-devel
142b973
%ghost %{crate_instdir}/Cargo.toml
2c14b4a
2c14b4a
%prep
a446c9a
%autosetup -n %{crate}-%{version_no_tilde} -p1
2c14b4a
%cargo_prep
2c14b4a
7055334
%generate_buildrequires
7055334
%cargo_generate_buildrequires
7055334
2c14b4a
%build
2c14b4a
%cargo_build
2c14b4a
2c14b4a
%install
2c14b4a
%cargo_install
2c14b4a
2c14b4a
%if %{with check}
2c14b4a
%check
2c14b4a
%cargo_test
2c14b4a
%endif
2c14b4a
2c14b4a
%changelog
ecd25a0
%autochangelog