# Generated by rust2rpm 28 %bcond check 1 # prevent library files from being installed %global cargo_install_lib 0 %global crate blue-build Name: rust-blue-build Version: 0.9.30 Release: %autorelease Summary: CLI tool built for creating Containerfile templates for ostree based atomic distros License: Apache-2.0 URL: https://crates.io/crates/blue-build Source: %{crates_source} Source: blue-build-0.9.30-vendor.tar.xz BuildRequires: cargo-rpm-macros >= 26 %global _description %{expand: A CLI tool built for creating Containerfile templates for ostree based atomic distros.} %description %{_description} %package -n %{crate} Summary: %{summary} License: ( (Apache-2.0 OR MIT) AND BSD-3-Clause ) AND ( (MIT OR Apache-2.0) AND Unicode-3.0 ) AND ( 0BSD ) AND ( 0BSD OR MIT OR Apache-2.0 ) AND ( Apache-2.0 ) AND ( Apache-2.0 AND ISC ) AND ( Apache-2.0 OR BSL-1.0 ) AND ( Apache-2.0 OR ISC OR MIT ) AND ( Apache-2.0 OR MIT ) AND ( Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT ) AND ( BSD-2-Clause OR Apache-2.0 OR MIT ) AND ( BSD-3-Clause ) AND ( CDLA-Permissive-2.0 ) AND ( ISC ) AND ( ISC AND (Apache-2.0 OR ISC) ) AND ( ISC AND (Apache-2.0 OR ISC) AND OpenSSL ) AND ( MIT ) AND ( MIT AND Apache-2.0 ) AND ( MIT OR Apache-2.0 ) AND ( MIT OR Apache-2.0 OR BSD-1-Clause ) AND ( MIT OR Apache-2.0 OR LGPL-2.1-or-later ) AND ( MIT OR Apache-2.0 OR Zlib ) AND ( MIT OR Zlib OR Apache-2.0 ) AND ( MIT-0 ) AND ( MPL-2.0 ) AND ( Unicode-3.0 ) AND ( Unlicense OR MIT ) AND ( Zlib ) AND ( Zlib OR Apache-2.0 OR MIT ) # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %license integration-tests/empty-files-repo/LICENSE %license LICENSE.dependencies %license cargo-vendor.txt %doc CHANGELOG.md %doc README.md %doc SECURITY.md %{_bindir}/bluebuild %prep %autosetup -n %{crate}-%{version} -p1 -a1 %cargo_prep -v vendor %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %{cargo_vendor_manifest} %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog %autochangelog