diff --git a/powertop-2.12.tar.gz b/powertop-2.12.tar.gz deleted file mode 100644 index 1e45993..0000000 --- a/powertop-2.12.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5cbb3a3c41d32dc2b7d12ee962cae444a9c982c17d14c73e0df064718be231ce -size 747567 diff --git a/powertop.changes b/powertop.changes index 2129b60..f67133a 100644 --- a/powertop.changes +++ b/powertop.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Fri Jun 12 08:58:22 UTC 2020 - Michael Vetter + +- 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 diff --git a/powertop.spec b/powertop.spec index c609009..cfbedec 100644 --- a/powertop.spec +++ b/powertop.spec @@ -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 diff --git a/v2.13.tar.gz b/v2.13.tar.gz new file mode 100644 index 0000000..08bc0b7 --- /dev/null +++ b/v2.13.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e490c82dbfa87c98430c16151081fbe86e6f45d8be3dd8c48b89e8868dda85a1 +size 303030