public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ali Erdinc Koroglu <aekoroglu@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/pepc] epel9: Merge branch 'rawhide' into epel9
Date: Thu, 01 Oct 2026 17:24:05 GMT	[thread overview]
Message-ID: <179087544529.1.15604297488172508212.rpms-pepc-97a7a0726411@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/pepc
            Branch : epel9
            Commit : 97a7a07264118c8f4daf44d03ba7db496170c790
            Author : Ali Erdinc Koroglu <aekoroglu@fedoraproject.org>
            Date   : 2026-10-01T20:20:37+03:00
            Stats  : +46/-25 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/pepc/c/97a7a07264118c8f4daf44d03ba7db496170c790?branch=epel9

            Log:
            Merge branch 'rawhide' into epel9

# Conflicts:
#	pepc.spec
#	sources

---
diff --git a/pepc.spec b/pepc.spec
index 5d8d159..09e183c 100644
--- a/pepc.spec
+++ b/pepc.spec
@@ -1,6 +1,6 @@
 Name:		pepc
-Version:	1.4.32
-Release:	1%{?dist}
+Version:	2.0.7
+Release:	%autorelease
 Summary:	Power, Energy, and Performance Configurator
 
 License:	BSD-3-Clause
@@ -11,9 +11,8 @@ BuildArch:	noarch
 
 BuildRequires:	python3-devel
 BuildRequires:	python3-pytest
-BuildRequires:	python3-pyyaml
+BuildRequires:	python3-tkinter
 Requires:	python3-pepc = %{version}-%{release}
-Requires:	python3-pyyaml
 
 %description
 Pepc stands for "Power, Energy, and Performance Configurator".
@@ -27,7 +26,38 @@ Summary:	Pepc Python libraries
 Pepc Python libraries
 
 %prep
-%autosetup -n %{name}-%{version}
+%autosetup
+
+%if 0%{?rhel} == 9
+# build with hatchling
+sed -i '/license-files/d' pyproject.toml
+cat >> pyproject.toml << 'EOF'
+
+[build-system]
+requires = ["hatchling"]
+build-backend = "hatchling.build"
+
+[tool.hatch.build.targets.wheel]
+packages = ["pepclibs", "pepctools", "pepcdata"]
+EOF
+%elif 0%{?rhel} > 9
+# PEP 639 fix
+sed -e 's|license = "BSD-3-Clause"|license = {text = "BSD-3-Clause"}|g' -i pyproject.toml
+sed -i '/license-files/d' pyproject.toml
+cat >> pyproject.toml << 'EOF'
+
+[build-system]
+requires = ["setuptools>=61"]
+build-backend = "setuptools.build_meta"
+EOF
+%else
+cat >> pyproject.toml << 'EOF'
+
+[build-system]
+build-backend = "setuptools.build_meta"
+requires = ["setuptools>=61"]
+EOF
+%endif
 
 %generate_buildrequires
 %pyproject_buildrequires
@@ -37,31 +67,22 @@ Pepc Python libraries
 
 %install
 %pyproject_install
-%pyproject_save_files pepclibs pepctool
-install -pDm644 docs/man1/pepc.1 %{buildroot}/%{_mandir}/man1/pepc.1
+%pyproject_save_files pepclibs pepctools pepcdata
 
 %check
-%pytest -v
+# skip heavy tests for non-x86_64 archs
+%pytest \
+%ifnarch x86_64 %{ix86}
+  -k 'test_cpuinfo_get' \
+%endif
+  -v
 
 %files
-%doc README.md
+%license LICENSE.md
+%doc README.md CHANGELOG.md
 %{_bindir}/pepc
-%{_mandir}/man1/pepc*
 
 %files -n python3-%{name} -f %{pyproject_files}
 
 %changelog
-* Wed Aug 23 2023 Ali Erdinc Koroglu <aekoroglu@fedoraproject.org> 1.4.32-1
-- Update to 1.4.32
-
-* Fri Jan 20 2023 Ali Erdinc Koroglu <aekoroglu@fedoraproject.org> 1.3.42-1
-- Update to 1.3.42 ('pepc cstates config --pkg-cstate-limit' option fix)
-
-* Tue Jan 17 2023 Ali Erdinc Koroglu <aekoroglu@fedoraproject.org> 1.3.41-1
-- Update to 1.3.41
-
-* Thu Aug 25 2022 Ali Erdinc Koroglu <aekoroglu@fedoraproject.org> 1.3.14-1
-- Update to 1.3.14 (RHBZ #2117446)
-
-* Wed Jul 06 2022 Ali Erdinc Koroglu <aekoroglu@fedoraproject.org> 1.3.9-1
-- Initial package
+%autochangelog

diff --git a/sources b/sources
index 973092d..ffc6a66 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pepc-1.4.32.tar.gz) = 1c961221f454dbbf6142061694c4b50e8e3dc9acc7e865c451e5c1ff32c850e61b63b04137f7434e6fda91990645afca651394691e9739e29ae139157a1f6c2a
+SHA512 (pepc-2.0.7.tar.gz) = c60894d523e37dcc2f4773ae2af1b8136f1892cefaee49a00985cd9d25c7d47888da662a320814dea5c248cf56850f5baad9f9292232ec2a348250e1218f98bb

                 reply	other threads:[~2026-10-01 17:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179087544529.1.15604297488172508212.rpms-pepc-97a7a0726411@fedoraproject.org \
    --to=aekoroglu@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox