Fixed some potential sources of segfaults

Resolves: rhbz#1352708
This commit is contained in:
Ondřej Lysoněk 2016-08-30 15:34:13 +02:00
parent 40f3480abb
commit bfc27b0809
2 changed files with 1023 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
Name: powertop
Version: 2.8
Release: 2%{?dist}
Release: 3%{?dist}
Summary: Power consumption monitor
Group: Applications/System
@ -13,6 +13,8 @@ Source1: powertop.service
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
@ -28,6 +30,7 @@ computer use more power than necessary while it is idle.
%setup -q
%patch0 -p1 -b .always-create-params
%patch1 -p1 -b .pthreads-cflags-fix
%patch2 -p1 -b .potential-segfaults
%build
%configure
@ -68,6 +71,10 @@ rm -rf %{buildroot}
%{_unitdir}/powertop.service
%changelog
* Tue Aug 30 2016 Ondřej Lysoněk <olysonek@redhat.com> - 2.8-3
- Fixed some potential sources of segfaults
Resolves: rhbz#1352708
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.8-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild