New version
Resolves: rhbz#1454519 Dropped pthreads-cflags-fix and potential-segfaults patches (both upstreamed) Updated source URL
This commit is contained in:
parent
7ea8af749f
commit
9dcd1622ea
File diff suppressed because it is too large
Load Diff
@ -1,48 +0,0 @@
|
||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
||||
index d7132c0..87d8469 100644
|
||||
--- a/src/Makefile.am
|
||||
+++ b/src/Makefile.am
|
||||
@@ -133,7 +133,8 @@ powertop_CXXFLAGS = \
|
||||
$(GLIB2_CFLAGS) \
|
||||
$(LIBNL_CFLAGS) \
|
||||
$(NCURSES_CFLAGS) \
|
||||
- $(PCIUTILS_CFLAGS)
|
||||
+ $(PCIUTILS_CFLAGS) \
|
||||
+ $(PTHREAD_CFLAGS)
|
||||
|
||||
|
||||
powertop_CPPFLAGS = \
|
||||
@@ -142,7 +143,8 @@ powertop_CPPFLAGS = \
|
||||
$(LIBNL_CFLAGS) \
|
||||
$(LIBZ_CFLAGS) \
|
||||
$(NCURSES_CFLAGS) \
|
||||
- $(PCIUTILS_CFLAGS)
|
||||
+ $(PCIUTILS_CFLAGS) \
|
||||
+ $(PTHREAD_CFLAGS)
|
||||
|
||||
powertop_LDADD = \
|
||||
../traceevent/libtraceevnet.la
|
||||
diff --git a/src/Makefile.in b/src/Makefile.in
|
||||
index 564ce5c..88d81e7 100644
|
||||
--- a/src/Makefile.in
|
||||
+++ b/src/Makefile.in
|
||||
@@ -533,7 +533,8 @@ powertop_CXXFLAGS = \
|
||||
$(GLIB2_CFLAGS) \
|
||||
$(LIBNL_CFLAGS) \
|
||||
$(NCURSES_CFLAGS) \
|
||||
- $(PCIUTILS_CFLAGS)
|
||||
+ $(PCIUTILS_CFLAGS) \
|
||||
+ $(PTHREAD_CFLAGS)
|
||||
|
||||
powertop_CPPFLAGS = \
|
||||
-DLOCALEDIR=\"$(localedir)\" \
|
||||
@@ -541,7 +542,8 @@ powertop_CPPFLAGS = \
|
||||
$(LIBNL_CFLAGS) \
|
||||
$(LIBZ_CFLAGS) \
|
||||
$(NCURSES_CFLAGS) \
|
||||
- $(PCIUTILS_CFLAGS)
|
||||
+ $(PCIUTILS_CFLAGS) \
|
||||
+ $(PTHREAD_CFLAGS)
|
||||
|
||||
powertop_LDADD = \
|
||||
../traceevent/libtraceevnet.la
|
||||
@ -1,20 +1,16 @@
|
||||
Name: powertop
|
||||
Version: 2.8
|
||||
Release: 5%{?dist}
|
||||
Version: 2.9
|
||||
Release: 1%{?dist}
|
||||
Summary: Power consumption monitor
|
||||
|
||||
Group: Applications/System
|
||||
License: GPLv2
|
||||
URL: http://01.org/powertop/
|
||||
Source0: http://01.org/powertop/sites/default/files/downloads/%{name}-%{version}.tar.gz
|
||||
Source0: http://01.org/sites/default/files/downloads/powertop/%{name}-v%{version}.tar.gz
|
||||
Source1: powertop.service
|
||||
|
||||
# Sent upstream
|
||||
Patch0: powertop-2.7-always-create-params.patch
|
||||
# Sent upstream
|
||||
Patch1: powertop-2.8-pthreads-cflags-fix.patch
|
||||
# Upstream patch
|
||||
Patch2: powertop-2.8-potential-segfaults.patch
|
||||
BuildRequires: gettext-devel, ncurses-devel, pciutils-devel, zlib-devel, libnl3-devel
|
||||
BuildRequires: systemd
|
||||
Requires(post): systemd, coreutils
|
||||
@ -27,10 +23,8 @@ PowerTOP is a tool that finds the software component(s) that make your
|
||||
computer use more power than necessary while it is idle.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%setup -q -n %{name}-v%{version}
|
||||
%patch0 -p1 -b .always-create-params
|
||||
%patch1 -p1 -b .pthreads-cflags-fix
|
||||
%patch2 -p1 -b .potential-segfaults
|
||||
|
||||
%build
|
||||
%configure
|
||||
@ -71,6 +65,12 @@ rm -rf %{buildroot}
|
||||
%{_unitdir}/powertop.service
|
||||
|
||||
%changelog
|
||||
* Tue May 23 2017 Jaroslav Škarvada <jskarvad@redhat.com> - 2.9-1
|
||||
- New version
|
||||
Resolves: rhbz#1454519
|
||||
- Dropped pthreads-cflags-fix and potential-segfaults patches (both upstreamed)
|
||||
- Updated source URL
|
||||
|
||||
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.8-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user