## START: Set by rpmautospec ## (rpmautospec version 0.8.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 3; 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-rpmstatus Name: rust-cargo-rpmstatus Version: 0.2.4 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} # Manually created patch for downstream crate metadata changes # * Update to bzip2 0.6, still allowing 0.4.4: # https://github.com/dmorawetz/cargo-rpmstatus/pull/7 Patch: cargo-rpmstatus-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: Cargo-tree for RPM packaging.} %description %{_description} %package -n %{crate} Summary: %{summary} # rawhide: @2025-12-16 # (MIT OR Apache-2.0) AND GPL-3.0-or-later # [1] # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # (dup 1) # 0BSD OR MIT OR Apache-2.0 # Apache-2.0 AND ISC AND (MIT OR Apache-2.0) # (dup 1) # Apache-2.0 OR BSL-1.0 # Apache-2.0 OR ISC OR MIT # Apache-2.0 OR MIT # (dup 1) # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # BSD-2-Clause OR Apache-2.0 OR MIT # BSD-3-Clause # CDLA-Permissive-2.0 # ISC # MIT # MIT OR Apache-2.0 # (dup 1) # MIT OR Zlib OR Apache-2.0 # MPL-2.0 # Unicode-3.0 # Unlicense OR MIT # Zlib # bzip2-1.0.6 License: (MIT OR Apache-2.0) AND GPL-3.0-or-later AND Unicode-DFS-2016 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC 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 MIT AND (MIT OR Apache-2.0 OR Zlib) AND MPL-2.0 AND Unicode-3.0 AND (Unlicense OR MIT) AND Zlib AND bzip2-1.0.6 # LICENSE.dependencies contains a full license breakdown Requires: rust Requires: cargo %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 %doc %{_mandir}/man1/%{crate}.1* %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 # setup man page mkdir -p %{buildroot}%{_mandir}/man1 install -p -m 0644 %{crate}.1 %{buildroot}%{_mandir}/man1 %if %{with check} %check # * Skip online tests, online_check_version_reqs needs connectivity. Not working # in mock. %cargo_test -- -- --skip db::tests::online_check_version_reqs %endif %changelog ## START: Generated by rpmautospec * Sun Mar 22 2026 Benjamin A. Beasley - 0.2.4-3 - Rebuilt with rust-tar 0.4.45 for CVE-2026-33056 - Fixes RHBZ#2423511 * Sat Jan 17 2026 Fedora Release Engineering - 0.2.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild * Tue Dec 16 2025 Benjamin A. Beasley - 0.2.4-1 - Update to version 0.2.4 * Tue Dec 16 2025 Benjamin A. Beasley - 0.2.3-4 - Allow bzip2 0.6 * Sun Nov 23 2025 Benjamin A. Beasley - 0.2.3-3 - Allow dirs 6 * Wed Sep 17 2025 Petr Menšík - 0.2.3-2 - Accept indicatif 0.18 * Wed Sep 17 2025 Petr Menšík - 0.2.3-1 - Initial package from review (rhbz#2326609) ## END: Generated by rpmautospec