public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pepc] epel9: Merge branch 'rawhide' into epel9
@ 2026-10-01 17:24 Ali Erdinc Koroglu
  0 siblings, 0 replies; only message in thread
From: Ali Erdinc Koroglu @ 2026-10-01 17:24 UTC (permalink / raw)
  To: git-commits

            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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-10-01 17:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-01 17:24 [rpms/pepc] epel9: Merge branch 'rawhide' into epel9 Ali Erdinc Koroglu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox