## START: Set by rpmautospec ## (rpmautospec version 0.8.4) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec # Generated by rust2rpm 28 %bcond check 1 %global crate cxxbridge-cmd Name: rust-cxxbridge-cmd Version: 1.0.194 Release: %autorelease Summary: C++ code generator for integrating cxx crate into a non-Cargo build License: MIT OR Apache-2.0 URL: https://crates.io/crates/cxxbridge-cmd Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: C++ code generator for integrating `cxx` crate into a non-Cargo build.} %description %{_description} %package -n cxxbridge Summary: %{summary} # (MIT OR Apache-2.0) AND Unicode-3.0 # Apache-2.0 # Apache-2.0 OR MIT # MIT # MIT OR Apache-2.0 # Unlicense OR MIT License: %{shrink: (MIT OR Apache-2.0) AND Apache-2.0 AND MIT AND Unicode-3.0 AND (Unlicense OR MIT) } # LICENSE.dependencies contains a full license breakdown %description -n cxxbridge %{_description} %files -n cxxbridge %license LICENSE-APACHE %license LICENSE-MIT %license LICENSE.dependencies %{_bindir}/cxxbridge %prep %autosetup -n %{crate}-%{version} -p1 %cargo_prep %generate_buildrequires %cargo_generate_buildrequires %build %cargo_build %{cargo_license_summary} %{cargo_license} > LICENSE.dependencies %install %cargo_install %if %{with check} %check %cargo_test %endif %changelog ## START: Generated by rpmautospec * Fri May 15 2026 John Doe - 1.0.194-1 - Uncommitted changes ## END: Generated by rpmautospec