## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %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 Name: pepc Version: 1.3.42 Release: %autorelease Summary: Power, Energy, and Performance Configurator License: BSD-3-Clause Url: https://github.com/intel/pepc Source0: %url/archive/v%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-pytest Requires: python3-pepc = %{version}-%{release} %description Pepc stands for "Power, Energy, and Performance Configurator". This is a command-line tool for configuring various Linux and Hardware power management features. %package -n python3-%{name} Summary: Pepc Python libraries Requires: pepc = %{version}-%{release} %description -n python3-%{name} Pepc Python libraries %prep %autosetup -n %{name}-%{version} %generate_buildrequires %pyproject_buildrequires %build %pyproject_wheel %install %pyproject_install %pyproject_save_files pepclibs pepctool install -pDm644 docs/man1/pepc.1 %{buildroot}/%{_mandir}/man1/pepc.1 %check %pytest -v %files %license LICENSE.md %doc README.md %{_bindir}/pepc %{_mandir}/man1/pepc.1* %files -n python3-%{name} -f %{pyproject_files} %changelog * Fri Jan 20 2023 aekoroglu 1.3.42-1 - Update to 1.3.42 : 'pepc cstates config --pkg-cstate-limit' option fix * Thu Jan 19 2023 Fedora Release Engineering 1.3.41-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Tue Jan 10 2023 aekoroglu 1.3.41-1 - update to 1.3.41 * Tue Nov 29 2022 aekoroglu 1.3.32-1 - update to 1.3.32 * Thu Oct 13 2022 aekoroglu 1.3.22-1 - Update to 1.3.22 * Thu Sep 22 2022 aekoroglu 1.3.20-1 - update to 1.3.20 * Tue Sep 13 2022 aekoroglu 1.3.17-1 - update to 1.3.17 (RHBZ #2125446) * Wed Sep 07 2022 aekoroglu 1.3.16-1 - update to 1.3.16 * Thu Aug 25 2022 aekoroglu 1.3.14-1 - update to 1.3.14 (RHBZ #2117446) * Wed Aug 03 2022 aekoroglu 1.3.12-1 - update to 1.3.12 (RHBZ #2113139) * Thu Jul 21 2022 aekoroglu 1.3.11-1 - update to 1.3.11 * Wed Jul 06 2022 aekoroglu 1.3.9-1 - initial commit