public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/geopmd] rawhide: Update to 3.2.2 (rhbz#2377267)
@ 2026-07-29 11:07 Ali Erdinc Koroglu
0 siblings, 0 replies; only message in thread
From: Ali Erdinc Koroglu @ 2026-07-29 11:07 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/geopmd
Branch : rawhide
Commit : 6ee43820da6821093dc115b681e2a43732f765c0
Author : Ali Erdinc Koroglu <ali.koroglu@oss.qualcomm.com>
Date : 2026-07-29T14:06:47+03:00
Stats : +26/-36 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/geopmd/c/6ee43820da6821093dc115b681e2a43732f765c0?branch=rawhide
Log:
Update to 3.2.2 (rhbz#2377267)
---
diff --git a/geopmd.spec b/geopmd.spec
index f015aa0..d2df979 100644
--- a/geopmd.spec
+++ b/geopmd.spec
@@ -9,7 +9,7 @@ optimize system hardware settings to achieve energy efficiency and/or
performance objectives.}
Name: geopmd
-Version: 3.2.1
+Version: 3.2.2
Release: %autorelease
Summary: GEOPM daemon
@@ -21,28 +21,10 @@ ExclusiveArch: x86_64
BuildRequires: gcc
BuildRequires: grpc-plugins
-BuildRequires: libgeopmd-devel >= 3.2.1
+BuildRequires: libgeopmd-devel >= 3.2.2
BuildRequires: python3-devel
-BuildRequires: python3-setuptools
-BuildRequires: python3-setuptools_scm
-BuildRequires: python3-cffi
-BuildRequires: python3-dasbus
-BuildRequires: python3-docstring-parser
BuildRequires: python3-defusedxml
-BuildRequires: python3-jsonschema
-BuildRequires: python3-prometheus_client
-BuildRequires: python3-psutil
-BuildRequires: python3-pyyaml
BuildRequires: systemd-units
-Requires: python3-cffi
-Requires: python3-dasbus
-Requires: python3-docstring-parser
-Requires: python3-grpcio
-Requires: python3-jsonschema
-Requires: python3-prometheus_client
-Requires: python3-protobuf
-Requires: python3-psutil
-Requires: python3-pyyaml
Requires: python3-%{prj_name} = %{version}-%{release}
Requires: geopmd-cli
Requires: geopm-cli
@@ -58,19 +40,21 @@ Summary: Python bindings for libgeopmd
%prep
%autosetup -p1 -n geopm-%{version}
-
-pushd %{prj_name}
-echo %{version} > %{prj_name}/VERSION
-popd
+echo %{version} > %{prj_name}/%{prj_name}/VERSION
+
+%generate_buildrequires
+cd %{prj_name}
+%pyproject_buildrequires
%build
-pushd %{prj_name}
-%py3_build
-popd
+cd %{prj_name}
+%pyproject_wheel
%install
-pushd %{prj_name}
-%py3_install
+cd %{prj_name}
+%pyproject_install
+%pyproject_save_files %{prj_name}
+
mkdir -p %{buildroot}%{_sysconfdir}/geopm
chmod 0700 %{buildroot}%{_sysconfdir}/geopm
install -D -p -m 644 io.github.geopm.xml %{buildroot}%{_datadir}/dbus-1/interfaces/io.github.geopm.xml
@@ -83,12 +67,19 @@ protoc \
--plugin=protoc-gen-grpc=/usr/bin/grpc_python_plugin \
geopm_service.proto
cp geopm_service.proto %{buildroot}%{python3_sitearch}/%{prj_name}
-popd
%check
-pushd %{prj_name}
+cd %{prj_name}
PYTHONPATH=%{buildroot}%{python3_sitearch} %{python3} -m unittest discover -p 'Test*.py' -v
-popd
+
+%post
+%systemd_post geopm.service
+
+%preun
+%systemd_preun geopm.service
+
+%postun
+%systemd_postun_with_restart geopm.service
%files
%license LICENSE-BSD-3-Clause
@@ -99,15 +90,14 @@ popd
%{_datadir}/dbus-1/system.d/io.github.geopm.conf
%{_unitdir}/geopm.service
-%files -n python3-%{prj_name}
+%files -n python3-%{prj_name} -f %{pyproject_files}
%{_bindir}/geopmaccess
%{_bindir}/geopmexporter
%{_bindir}/geopmread
%{_bindir}/geopmwrite
%{_bindir}/geopmsession
%{python3_sitearch}/_libgeopmd_py_cffi.abi3.so
-%{python3_sitearch}/%{prj_name}
-%{python3_sitearch}/%{prj_name}-*.egg-info
+%{python3_sitearch}/%{prj_name}/geopm_service.proto
%changelog
%autochangelog
diff --git a/sources b/sources
index 38359cc..01816e4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (geopm-3.2.1.tar.gz) = faaaf9b48391bb94468a13b9f9292f10845089d7141ec07dccc9f812cd0c33319963b46365c4afe057f2cdb909c63cfdfa0d51459ebec02b000d0b3f5c39d487
+SHA512 (geopm-3.2.2.tar.gz) = f4e9d1abc5920cee0a790be89c0dab76fc3bff57276b65106dad963c117c8709945ae72bd93091b247a199d6867f743906ec558174f8743fc7b8906d614f9300
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-07-29 11:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-29 11:07 [rpms/geopmd] rawhide: Update to 3.2.2 (rhbz#2377267) 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