## 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 resctl-demo Name: rust-resctl-demo Version: 2.2.5 Release: %autorelease Summary: Guided tour of Linux resource control with live demos License: Apache-2.0 URL: https://crates.io/crates/resctl-demo Source: %{crates_source} # Manually created patch for downstream crate metadata changes # * bump enum-iterator to 2.0 Patch: resctl-demo-fix-metadata.diff # Fixes for enum-iterator 2.0 Patch: resctl-demo-enum-iterator.patch BuildRequires: cargo-rpm-macros >= 24 %global _description %{expand: resctl-demo demonstrates and documents various aspects of resource control using self-contained workloads in guided scenarios.} %description %{_description} %package -n %{crate} Summary: %{summary} # (MIT OR Apache-2.0) AND Unicode-DFS-2016 # Apache-2.0 # Apache-2.0 OR BSL-1.0 # 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 # MIT # MIT OR Apache-2.0 # Unlicense OR MIT License: ((MIT OR Apache-2.0) AND Unicode-DFS-2016) AND Apache-2.0 AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 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 MIT AND (MIT OR Apache-2.0) AND (Unlicense OR MIT) # LICENSE.dependencies contains a full license breakdown Requires: rd-agent = %{version} Requires: rd-hashd = %{version} Requires: gnuplot %description -n %{crate} %{_description} %files -n %{crate} %license LICENSE %license LICENSE.dependencies %doc README.md %{_bindir}/resctl-demo %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 * Sat Jul 20 2024 Fedora Release Engineering - 2.2.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Thu May 23 2024 Fabio Valentini - 2.2.5-4 - Rebuild with Rust 1.78 to fix incomplete debuginfo and backtraces * Thu May 02 2024 Davide Cavalca - 2.2.5-3 - Rebuild for rd-util update * Wed May 01 2024 Davide Cavalca - 2.2.5-2 - Update license tag * Wed May 01 2024 Davide Cavalca - 2.2.5-1 - Update to 2.2.5; Fixes: RHBZ#2081994 * Fri Jan 26 2024 Fedora Release Engineering - 2.1.2-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Mon Aug 07 2023 Fabio Valentini - 2.1.2-10 - Regenerate with rust2rpm v24 * Fri Jul 21 2023 Fedora Release Engineering - 2.1.2-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Sat Jan 28 2023 Fabio Valentini - 2.1.2-8 - Rebuild for CVE-2022-24765 and CVE-2022-29187 in libgit2 * Sat Jan 21 2023 Fedora Release Engineering - 2.1.2-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sat Jul 23 2022 Fedora Release Engineering - 2.1.2-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Tue Feb 15 2022 Zbigniew Jędrzejewski-Szmek - 2.1.2-5 - Rebuild with package notes * Fri Jan 21 2022 Fedora Release Engineering - 2.1.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Dec 09 2021 Davide Cavalca - 2.1.2-3 - Build for epel9 * Fri Oct 22 2021 Davide Cavalca - 2.1.2-2 - Build for epel8 * Fri Oct 22 2021 Davide Cavalca - 2.1.2-1 - Initial import; Fixes: RHBZ#1997731 ## END: Generated by rpmautospec