## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 5; 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 %global crate btrd Name: rust-btrd Version: 0.5.3 Release: %autorelease Summary: Btrfs debugger License: GPL-2.0-only URL: https://crates.io/crates/btrd Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * bump rustyline dependency from 12 to 13 # * clarify license from GPL-2.0 to GPL-2.0-only # https://github.com/danobi/btrd/pull/20 Patch: btrd-fix-metadata.diff BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: The btrfs debugger.} %description %{_description} %package -n %{crate} Summary: %{summary} # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # Apache-2.0 OR MIT # Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT # GPL-2.0-only # MIT # MIT OR Apache-2.0 # Unlicense OR MIT License: GPL-2.0-only AND MIT AND Unicode-DFS-2016 AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %license LICENSE.dependencies %doc README.md %doc scripts %{_bindir}/btrd %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 %doc %{crate_instdir}/README.md %doc %{crate_instdir}/docs %{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 %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 Aug 25 2024 Fabio Valentini - 0.5.3-5 - Fix unaddressed FIXME and clarify license * Fri Jul 19 2024 Fedora Release Engineering - 0.5.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu May 23 2024 Fabio Valentini - 0.5.3-3 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Fri Jan 26 2024 Fedora Release Engineering - 0.5.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Wed Jan 03 2024 Fabio Valentini - 0.5.3-1 - Update to version 0.5.3; Fixes RHBZ#2245692 * Sun Oct 22 2023 Fabio Valentini - 0.5.2-7 - Bump rustyline dependency to 12 * Mon Aug 07 2023 Fabio Valentini - 0.5.2-6 - Regenerate with rust2rpm v24 * Fri Jul 21 2023 Fedora Release Engineering - 0.5.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Feb 04 2023 Fabio Valentini - 0.5.2-4 - Rebuild for fixed frame pointer compiler flags in Rust RPM macros * Fri Jan 20 2023 Fedora Release Engineering - 0.5.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 0.5.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Thu May 19 2022 Davide Cavalca - 0.5.2-1 - Update to 0.5.2 and build for EPEL * Sun Feb 20 2022 Igor Raits - 0.5.0-4 - Update simplelog to 0.11 * Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek - 0.5.0-3 - Rebuild with package notes * Fri Jan 21 2022 Fedora Release Engineering - 0.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Oct 27 2021 Davide Cavalca - 0.5.0-1 - Initial import; Fixes: RHBZ#1980426 ## END: Generated by rpmautospec