## START: Set by rpmautospec ## (rpmautospec version 0.7.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 26 %bcond_without check %bcond_with check_online %global crate cargo-rpmstatus Name: rust-cargo-rpmstatus Version: 0.2.2 Release: %autorelease Summary: Cargo-tree for RPM packaging License: (MIT OR Apache-2.0) AND GPL-3.0-or-later URL: https://crates.io/crates/cargo-rpmstatus Source: %{crates_source} BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Cargo-tree for RPM packaging.} %description %{_description} %package -n %{crate} Summary: %{summary} # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # 0BSD OR MIT OR Apache-2.0 # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR ISC OR MIT # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSD-2-Clause OR Apache-2.0 OR MIT # BSD-3-Clause # GPL-3.0 # ISC # ISC AND MIT AND OpenSSL # MIT # MIT OR Apache-2.0 # MIT OR Apache-2.0 OR Zlib # MIT OR Zlib OR Apache-2.0 # MPL-2.0 # Unlicense OR MIT # Zlib OR Apache-2.0 OR MIT License: GPL-3.0 AND Apache-2.0 AND BSD-3-Clause AND ISC AND MIT AND OpenSSL AND MIT AND MPL-2.0 # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE-Apache-2.0 %license LICENSE-GPL-3.0-or-later %license LICENSE-MIT %license LICENSE.dependencies %doc CHANGELOG.md %doc README.md %{_bindir}/cargo-rpmstatus %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 %if %{with check_online} %cargo_test %else %cargo_test is_ %endif %endif %changelog ## START: Generated by rpmautospec * Fri Nov 15 2024 Petr Menšík - 0.2.2-1 - Update to 0.2.2 * Sat Aug 03 2024 Petr Menšík - 0.2.0-4 - Clarify built license * Sat Aug 03 2024 Petr Menšík - 0.2.0-3 - Disable test requiring online connection * Sat Aug 03 2024 Petr Menšík - 0.2.0-2 - Allow non-fixed versions * Sat Aug 03 2024 Petr Menšík - 0.2.0-1 - Initial package ## END: Generated by rpmautospec