Fixed some potential sources of segfaults
Resolves: rhbz#1352708
This commit is contained in:
parent
40f3480abb
commit
bfc27b0809
1015
powertop-2.8-potential-segfaults.patch
Normal file
1015
powertop-2.8-potential-segfaults.patch
Normal file
File diff suppressed because it is too large
Load Diff
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user