diff --git a/powertop-1.97-retval.patch b/powertop-1.97-retval.patch deleted file mode 100644 index 827acd5..0000000 --- a/powertop-1.97-retval.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -up powertop-1.97/csstoh.c.retval powertop-1.97/csstoh.c ---- powertop-1.97/csstoh.c.retval 2011-03-23 15:58:35.000000000 +0100 -+++ powertop-1.97/csstoh.c 2011-03-23 15:58:55.000000000 +0100 -@@ -65,4 +65,6 @@ int main(int argc, char **argv) - fprintf(out, "#endif\n"); - fclose(out); - fclose(in); -+ -+ return 0; - } -\ No newline at end of file diff --git a/powertop.spec b/powertop.spec index 9445c03..df2186d 100644 --- a/powertop.spec +++ b/powertop.spec @@ -1,6 +1,6 @@ Name: powertop -Version: 1.97 -Release: 2%{?dist} +Version: 1.98 +Release: 1%{?dist} Summary: Power consumption monitor Group: Applications/System @@ -8,7 +8,6 @@ License: GPLv2 URL: http://www.lesswatts.org/ #Source0: http://www.lesswatts.org/projects/%{name}/download/%{name}-%{version}.tar.gz Source0: http://www.kernel.org/pub/linux/status/powertop/%{name}-%{version}.tar.bz2 -Patch0: %{name}-1.97-retval.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: gettext, ncurses-devel, pciutils-devel, zlib-devel, libnl-devel @@ -18,9 +17,6 @@ computer use more power than necessary while it is idle. %prep %setup -q -%patch0 -p1 -b .retval -# nl.po is not yet ready and blocks the build process, so remove it. -rm -f po/nl.po %build make %{?_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" @@ -44,6 +40,9 @@ rm -rf $RPM_BUILD_ROOT #%{_mandir}/man8/powertop.8* %changelog +* Wed May 25 2011 Jaroslav Škarvada - 1.98-1 +- New version + * Wed Mar 23 2011 Dan Horák - 1.97-2 - csstoh should return 0