## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## 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 cargo-show-asm Name: rust-cargo-show-asm Version: 0.2.55 Release: %autorelease Summary: Cargo subcommand that displays the generated assembly of Rust source code License: MIT OR Apache-2.0 URL: https://crates.io/crates/cargo-show-asm Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: A cargo subcommand that displays the generated assembly of Rust source code.} %description %{_description} %package -n %{crate} Summary: %{summary} # Apache-2.0 # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR MIT # ISC # MIT # MIT OR Apache-2.0 # Unicode-3.0 # Unlicense OR MIT License: %{shrink: Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND ISC AND MIT AND (MIT OR Apache-2.0) AND Unicode-3.0 AND (Unlicense OR MIT) } # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE-APACHE %license LICENSE-MIT %license LICENSE.dependencies %doc Changelog.md %doc README.md %{_bindir}/cargo-asm %package devel Summary: %{summary} BuildArch: noarch %description devel %{_description} This package contains library source intended for building other packages which use the "%{crate}" crate. %files devel %license %{crate_instdir}/LICENSE-APACHE %license %{crate_instdir}/LICENSE-MIT %doc %{crate_instdir}/Changelog.md %doc %{crate_instdir}/README.md %{crate_instdir}/ %package -n %{name}+default-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+default-devel %{_description} This package contains library source intended for building other packages which use the "default" feature of the "%{crate}" crate. %files -n %{name}+default-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+_unstable-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+_unstable-devel %{_description} This package contains library source intended for building other packages which use the "_unstable" feature of the "%{crate}" crate. %files -n %{name}+_unstable-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+ar-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+ar-devel %{_description} This package contains library source intended for building other packages which use the "ar" feature of the "%{crate}" crate. %files -n %{name}+ar-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+bright-color-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+bright-color-devel %{_description} This package contains library source intended for building other packages which use the "bright-color" feature of the "%{crate}" crate. %files -n %{name}+bright-color-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+capstone-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+capstone-devel %{_description} This package contains library source intended for building other packages which use the "capstone" feature of the "%{crate}" crate. %files -n %{name}+capstone-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+disasm-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+disasm-devel %{_description} This package contains library source intended for building other packages which use the "disasm" feature of the "%{crate}" crate. %files -n %{name}+disasm-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+dull-color-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+dull-color-devel %{_description} This package contains library source intended for building other packages which use the "dull-color" feature of the "%{crate}" crate. %files -n %{name}+dull-color-devel %ghost %{crate_instdir}/Cargo.toml %package -n %{name}+object-devel Summary: %{summary} BuildArch: noarch %description -n %{name}+object-devel %{_description} This package contains library source intended for building other packages which use the "object" feature of the "%{crate}" crate. %files -n %{name}+object-devel %ghost %{crate_instdir}/Cargo.toml %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 * Sun Dec 14 2025 Tilmann Arne Meyer - 0.2.55-1 - Unvendor dependencies * Fri Sep 19 2025 nucfreq - 0.2.52-1 - Initial Commit ## END: Generated by rpmautospec