[packages/powercap] Up to 0.6.0

arekm arekm at pld-linux.org
Fri Nov 27 17:05:38 CET 2026


commit 81fb3d1b411341c012b65ab043832c3dbc6f9fa6
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Fri Nov 27 15:10:13 2026 +0100

    Up to 0.6.0

 powercap.spec | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/powercap.spec b/powercap.spec
index 72da810..9c781f3 100644
--- a/powercap.spec
+++ b/powercap.spec
@@ -1,15 +1,15 @@
 Summary:	Powercap sysfs C Bindings and Utilities
 Summary(pl.UTF-8):	Wiązania C i narzędzia do interfejsu sysfs powercap
 Name:		powercap
-Version:	0.3.1
-Release:	2
+Version:	0.6.0
+Release:	1
 License:	BSD
 Group:		Applications/System
 #Source0Download: https://github.com/powercap/powercap/releases
 Source0:	https://github.com/powercap/powercap/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	5ad0b2f60f1adaeba97cb8d0fa5b598b
+# Source0-md5:	9fb72f690f24c8610959e403bebe2a04
 URL:		https://github.com/powercap/powercap
-BuildRequires:	cmake >= 2.8.12
+BuildRequires:	cmake >= 3.12
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -68,8 +68,8 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/powercap-set
 %attr(755,root,root) %{_bindir}/rapl-info
 %attr(755,root,root) %{_bindir}/rapl-set
-%attr(755,root,root) %{_libdir}/libpowercap.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libpowercap.so.0
+%{_libdir}/libpowercap.so.*.*.*
+%ghost %{_libdir}/libpowercap.so.0
 %{_mandir}/man1/powercap-info.1*
 %{_mandir}/man1/powercap-set.1*
 %{_mandir}/man1/rapl-info.1*
@@ -77,6 +77,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files devel
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/libpowercap.so
+%{_libdir}/libpowercap.so
 %{_includedir}/powercap
+%{_libdir}/cmake/powercap
 %{_pkgconfigdir}/powercap.pc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/powercap.git/commitdiff/81fb3d1b411341c012b65ab043832c3dbc6f9fa6



More information about the pld-cvs-commit mailing list