import powertop-2.15-1.el9

c9 imports/c9/powertop-2.15-1.el9
CentOS Sources 2 years ago committed by MSVSphere Packaging Team
parent d869498828
commit d0a1f58543

2
.gitignore vendored

@ -1 +1 @@
SOURCES/powertop-2.14.tar.gz SOURCES/powertop-2.15.tar.gz

@ -1 +1 @@
3783086487352b5b51d4ca36d2c258dfbef6a60f SOURCES/powertop-2.14.tar.gz 57d9bbfb5e06a89c503c4bff2029157aae20760e SOURCES/powertop-2.15.tar.gz

@ -1,20 +0,0 @@
diff --git a/configure.ac b/configure.ac
index 2571c5d..c913368 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,6 +3,7 @@
AC_PREREQ([2.69])
AC_INIT([powertop], [2.14], [powertop@lists.01.org], [], [https://01.org/powertop])
+AC_CANONICAL_TARGET
AM_INIT_AUTOMAKE([
-Wall
1.12.2
@@ -37,6 +38,7 @@ AC_PROG_CC
AC_PROG_INSTALL
AM_PROG_CC_C_O
PKG_PROG_PKG_CONFIG
+AX_PTHREAD
# Checks for libraries.

@ -1,6 +1,6 @@
Name: powertop Name: powertop
Version: 2.14 Version: 2.15
Release: 2%{?dist} Release: 1%{?dist}
Summary: Power consumption monitor Summary: Power consumption monitor
License: GPLv2 License: GPLv2
@ -10,8 +10,6 @@ Source1: powertop.service
# Sent upstream # Sent upstream
Patch0: powertop-2.7-always-create-params.patch Patch0: powertop-2.7-always-create-params.patch
# https://github.com/fenrus75/powertop/issues/84
Patch1: powertop-2.14-pthread.patch
BuildRequires: make BuildRequires: make
BuildRequires: gettext-devel BuildRequires: gettext-devel
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
@ -34,9 +32,7 @@ PowerTOP is a tool that finds the software component(s) that make your
computer use more power than necessary while it is idle. computer use more power than necessary while it is idle.
%prep %prep
%setup -q %autosetup -p1
%patch0 -p1 -b .always-create-params
%patch1 -p1 -b .pthread
echo "v%{version}" > version-long echo "v%{version}" > version-long
echo '"v%{version}"' > version-short echo '"v%{version}"' > version-short
@ -79,6 +75,10 @@ touch %{_localstatedir}/cache/powertop/{saved_parameters.powertop,saved_results.
%{_datadir}/bash-completion/completions/powertop %{_datadir}/bash-completion/completions/powertop
%changelog %changelog
* Tue Nov 8 2022 Jaroslav Škarvada <jskarvad@redhat.com> - 2.15-1
- New version
Resolves: rhbz#2044132
* Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.14-2 * Tue Aug 10 2021 Mohan Boddu <mboddu@redhat.com> - 2.14-2
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
Related: rhbz#1991688 Related: rhbz#1991688

Loading…
Cancel
Save