Hello community, here is the log from the commit of package powertop for openSUSE:Factory checked in at 2016-03-26 15:20:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/powertop (Old) and /work/SRC/openSUSE:Factory/.powertop.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "powertop" Changes: -------- --- /work/SRC/openSUSE:Factory/powertop/powertop.changes 2016-02-11 12:33:23.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.powertop.new/powertop.changes 2016-03-26 15:20:20.000000000 +0100 @@ -1,0 +2,13 @@ +Thu Feb 25 16:13:04 UTC 2016 - [email protected] + +- Change license to GPL-2.0 + +------------------------------------------------------------------- +Wed Feb 24 14:01:33 UTC 2016 - [email protected] + +- Require xterm-bin on openSUSE and xterm on other systems. + xterm was splitted on openSUSE to have fewer dependencies. +- Fixing powertop-no-date.patch: Missed a whitespace between + program name and version. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ powertop.spec ++++++ --- /var/tmp/diff_new_pack.F7HCjU/_old 2016-03-26 15:20:21.000000000 +0100 +++ /var/tmp/diff_new_pack.F7HCjU/_new 2016-03-26 15:20:21.000000000 +0100 @@ -21,12 +21,12 @@ 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+ +License: GPL-2.0 Group: System/Monitoring Url: https://01.org/powertop/ Source0: https://01.org/sites/default/files/downloads/%{name}/%{name}-%{version}.tar.gz Source1: powertop.service -Patch5: powertop-no-date.patch +Patch0: powertop-no-date.patch BuildRequires: gcc-c++ BuildRequires: gettext BuildRequires: ncurses-devel @@ -36,10 +36,15 @@ BuildRequires: pkgconfig(libnl-genl-3.0) BuildRequires: pkgconfig(libpci) BuildRequires: pkgconfig(zlib) -Requires: xterm-bin Recommends: %{name}-lang BuildRoot: %{_tmppath}/%{name}-%{version}-build %{?systemd_requires} +#xterm has been splitted in openSUSE to have fewer dependencies +%if 0%{?is_opensuse} +Requires: xterm-bin +%else +Requires: xterm +%endif %description PowerTOP is a program that collects the various pieces of information @@ -50,7 +55,7 @@ %prep %setup -q -%patch5 -p1 +%patch0 -p1 # Delete objects files left in tarball find . -name '*.o' -delete @@ -61,7 +66,7 @@ make %{?_smp_mflags} V=1 %install -make DESTDIR=%{buildroot} install %{?_smp_mflags} +make %{?_smp_mflags} DESTDIR=%{buildroot} install install -Dd %{buildroot}%{_localstatedir}/cache/powertop touch %{buildroot}%{_localstatedir}/cache/powertop/{saved_parameters.powertop,saved_results.powertop} install -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/powertop.service ++++++ powertop-no-date.patch ++++++ --- /var/tmp/diff_new_pack.F7HCjU/_old 2016-03-26 15:20:21.000000000 +0100 +++ /var/tmp/diff_new_pack.F7HCjU/_new 2016-03-26 15:20:21.000000000 +0100 @@ -6,7 +6,7 @@ static void print_version() { - printf(_("PowerTOP version " POWERTOP_VERSION ", compiled on " __DATE__ "\n")); -+ printf(_("PowerTOP version" POWERTOP_VERSION "\n")); ++ printf(_("PowerTOP version " POWERTOP_VERSION "\n")); } static bool set_refresh_timeout()
