Accepting request 814111 from Base:System

- Update to 2.13:
  * Update README.md
  * configure.ac: use ax_cxx_compile_stdcxx instead
  * po: regenerate gettext files
  * Enable support for DNV
  * intel_cpus: Fix ICX definition
  * configure.ac: add missing checks from autoscan
  * gettext: update to 0.20.2
  * remove INSTALL relic
  * Doxyfile.in: refresh for version 1.8.18
  * Doxyfile.in: modernize configuration
  * intel_cpus: Fix SKY-X definition
  * Dropped unused variable "entry" detected by Coverity
  * intel_cpus.cpp: Only call closedir() if opened
- Add BuildRequires for autoconf, autoconf-archive, automake, libtool
  because each release they forget to create a release tarball
  until I ping them

OBS-URL: https://build.opensuse.org/request/show/814111
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/powertop?expand=0&rev=52
This commit is contained in:
Dominique Leuenberger 2020-06-12 19:43:12 +00:00 committed by Git OBS Bridge
commit 1f029743c7
4 changed files with 36 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5cbb3a3c41d32dc2b7d12ee962cae444a9c982c17d14c73e0df064718be231ce
size 747567

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Fri Jun 12 08:58:22 UTC 2020 - Michael Vetter <mvetter@suse.com>
- Update to 2.13:
* Update README.md
* configure.ac: use ax_cxx_compile_stdcxx instead
* po: regenerate gettext files
* Enable support for DNV
* intel_cpus: Fix ICX definition
* configure.ac: add missing checks from autoscan
* gettext: update to 0.20.2
* remove INSTALL relic
* Doxyfile.in: refresh for version 1.8.18
* Doxyfile.in: modernize configuration
* intel_cpus: Fix SKY-X definition
* Dropped unused variable "entry" detected by Coverity
* intel_cpus.cpp: Only call closedir() if opened
- Add BuildRequires for autoconf, autoconf-archive, automake, libtool
because each release they forget to create a release tarball
until I ping them
-------------------------------------------------------------------
Tue Apr 21 06:13:05 UTC 2020 - Michael Vetter <mvetter@suse.com>

View File

@ -17,17 +17,23 @@
Name: powertop
Version: 2.12
Version: 2.13
Release: 0
#Git-Clone: git://github.com/fenrus75/powertop
Summary: A Linux Tool to Find out What is Using Power on a Laptop
License: GPL-2.0-only
Group: System/Monitoring
URL: https://01.org/powertop/
Source0: https://01.org/sites/default/files/downloads/powertop-%{version}.tar.gz
Source0: https://github.com/fenrus75/powertop/archive/v2.13.tar.gz
Source1: powertop.service
# they repeatedly forget to upload a release tarball and only have the one from
# GitHub which doesnt contain configure thus adding:
# autoconf, autoconf-archive, automake, libtool
BuildRequires: autoconf
BuildRequires: autoconf-archive
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: gettext
BuildRequires: libtool
BuildRequires: ncurses-devel
BuildRequires: pkgconfig
BuildRequires: systemd-rpm-macros
@ -51,9 +57,10 @@ doing in terms of power savings.
find . -name '*.o' -delete
%build
autoreconf -fi
export CFLAGS="%{optflags} -D_GNU_SOURCE"
%configure
make %{?_smp_mflags} V=1
%make_build
%install
%make_install
@ -80,7 +87,7 @@ touch %{_localstatedir}/cache/powertop/saved_results.powertop
%files
%license COPYING
%doc README
%doc README.md
%dir %{_localstatedir}/cache/powertop
%ghost %{_localstatedir}/cache/powertop/saved_parameters.powertop
%ghost %{_localstatedir}/cache/powertop/saved_results.powertop

3
v2.13.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e490c82dbfa87c98430c16151081fbe86e6f45d8be3dd8c48b89e8868dda85a1
size 303030