Hello community, here is the log from the commit of package laptop-mode-tools for openSUSE:Factory checked in at 2015-06-23 11:59:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/laptop-mode-tools (Old) and /work/SRC/openSUSE:Factory/.laptop-mode-tools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "laptop-mode-tools" Changes: -------- --- /work/SRC/openSUSE:Factory/laptop-mode-tools/laptop-mode-tools.changes 2013-08-12 15:50:44.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.laptop-mode-tools.new/laptop-mode-tools.changes 2015-06-23 11:59:02.000000000 +0200 @@ -1,0 +2,34 @@ +Fri Jun 19 09:26:37 UTC 2015 - tchva...@suse.com + +- Clean up all various rpmlint warnings + +------------------------------------------------------------------- +Wed Dec 18 21:34:54 UTC 2013 - p.drou...@gmail.com + +- Update to version 1.64 + + Don't touch USB Controller power settings. The individual devices, + when plugged in, while on battery, inherit the power settings + from the USB controller + + start-stop-programs: add support for systemd. + + Replace hardcoded path to udevadm with "which udevadm". + + Honor .conf files only. + + Make '/usr/lib' path configurable. This is especially useful for + systems that use /usr/lib64, or /lib64 directly + + Don't call killall with the -g argument. + + Fix RPM Spec file build errors +- Changes from 1.63 + + Kick the power savings back in, as soon as the stick is unplugged + + Release lock descriptors in start-stop-programs module. + + Add option to disable alarm level check. This is helpful if + you have a broken battery reporting incorrect states + + Check for external helper application's presence. And if not + available, handle it. + + Added PCIe ASPM module. + + Do not ship the board-specific/ folder in default installs +- Remove AUTHORS section +- Remove laptop-mode-1.49-initscript.diff and + laptop-mode-1.62-customize-installation-of-udev-systemd-files.patch; + fixed on upstream release +- Switch to systemd + +------------------------------------------------------------------- Old: ---- laptop-mode-1.49-initscript.diff laptop-mode-1.62-customize-installation-of-udev-systemd-files.patch laptop-mode-tools_1.62.tar.gz New: ---- laptop-mode-tools_1.64.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ laptop-mode-tools.spec ++++++ --- /var/tmp/diff_new_pack.jjlmq9/_old 2015-06-23 11:59:02.000000000 +0200 +++ /var/tmp/diff_new_pack.jjlmq9/_new 2015-06-23 11:59:02.000000000 +0200 @@ -1,7 +1,7 @@ # # spec file for package laptop-mode-tools # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,33 +16,27 @@ # +%{!?_tmpfilesdir:%global _tmpfilesdir /usr/lib/tmpfiles.d} Name: laptop-mode-tools -Version: 1.62 +Version: 1.64 Release: 0 -BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: The Laptop Mode Tools License: GPL-2.0+ Group: System/Base Url: http://www.samwel.tk/laptop_mode/ -PreReq: %insserv_prereq -Source: %{name}_%{version}.tar.gz +Source: http://samwel.tk/laptop_mode/tools/downloads/%{name}_%{version}.tar.gz Source1: laptop-mode-tools.pm-utils-hook Source2: README.SUSE Patch1: laptop-mode-1.53-install_sh.diff Patch2: laptop-mode-1.53_conf.diff -Patch3: laptop-mode-1.49-initscript.diff Patch4: laptop-mode-1.49-new-dirty-ratio-defaults.diff Patch5: laptop-mode-1.53-fix-pm-utils-sleep-script.diff Patch6: laptop-mode-1.53-moblin-enable-intel-hda-powersave.patch -Patch7: laptop-mode-1.62-customize-installation-of-udev-systemd-files.patch -BuildArch: noarch BuildRequires: pm-utils - -%if %suse_version > 1220 -%define _lib /usr/lib -%else -%define _lib /lib -%endif +BuildRequires: systemd-rpm-macros +BuildRequires: udev +BuildArch: noarch +%{?systemd_requires} %description Laptop Mode Tools is a laptop power saving package for Linux systems. @@ -52,72 +46,65 @@ allows you to tweak a number of other power-related settings using a simple configuration file. - - -Authors: --------- - Bart Samwel <bart at samwel.tk> - %prep -%setup -n %{name}_%{version} -q +%setup -q -n %{name}_%{version} %patch1 -p1 %patch2 -p1 -%patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 -%patch7 -p1 -cp %{S:2} . +cp %{SOURCE2} . %build %install -mkdir -p $RPM_BUILD_ROOT/etc/init.d -DESTDIR=$RPM_BUILD_ROOT MAN_D=%{_mandir} INSTALL=install INIT_D=/etc/init.d LIB_D=%{_lib} ACPI=DISABLED PMU=disabled APM=disabled ./install.sh -install -D -m 0755 %{S:1} $RPM_BUILD_ROOT/usr/lib/pm-utils/power.d/laptop-mode-tools -chmod 644 $RPM_BUILD_ROOT/%{_mandir}/man8/* -ln -s /etc/init.d/laptop-mode %{buildroot}/usr/sbin/rclaptop-mode +DESTDIR=%{buildroot} MAN_D=%{_mandir} INSTALL=install INIT_D=%{_initddir} LIB_D=%{_libdir} UDEV_D=%{_udevrulesdir} SYSTEMD_UNIT_D=%{_unitdir} ACPI=DISABLED PMU=disabled APM=disabled ./install.sh +install -D -m 0755 %{SOURCE1} %{buildroot}%{_libexecdir}/pm-utils/power.d/laptop-mode-tools +chmod 644 %{buildroot}/%{_mandir}/man8/* +# Don't ship sysvinit script +rm -r %{buildroot}%{_sysconfdir}/init.d +# Fix a weird issue... +mv %{buildroot}%{_udevrulesdir}/rules.d/99-laptop-mode.rules %{buildroot}%{_udevrulesdir}/99-laptop-mode.rules +# Hack to remove sysvinit script link in usr/sbin +ln -s service %{buildroot}/%{_sbindir}/rclaptop-mode -%clean -rm -rf "$RPM_BUILD_ROOT" +%pre +%service_add_pre laptop-mode.service %post -%{insserv_force_if_yast laptop-mode} +%service_add_post laptop-mode.service +systemd-tmpfiles --create %{_tmpfilesdir}/laptop-mode.conf %preun -%stop_on_removal +%service_del_preun laptop-mode.service %postun -%restart_on_update -%insserv_cleanup +%service_del_postun laptop-mode.service %files %defattr(-,root,root) -%dir /etc/laptop-mode -%config /etc/laptop-mode/* -/etc/init.d/laptop-mode -%config /etc/udev/rules.d/99-laptop-mode.rules -/usr/sbin/* -%dir /usr/share/laptop-mode-tools/ -%dir /usr/share/laptop-mode-tools/modules/ -%dir /usr/share/laptop-mode-tools/module-helpers/ -/usr/share/laptop-mode-tools/modules/* -/usr/share/laptop-mode-tools/module-helpers/lm-polling-daemon -/usr/share/laptop-mode-tools/module-helpers/pm-helper -/usr/share/laptop-mode-tools/module-helpers/pm-hibernate -/usr/share/laptop-mode-tools/module-helpers/pm-suspend -%dir /usr/lib/pm-utils -%dir /usr/lib/pm-utils/power.d -%dir /usr/lib/pm-utils/sleep.d -/usr/lib/pm-utils/power.d/laptop-mode-tools -/usr/lib/pm-utils/sleep.d/01laptop-mode -%doc /usr/share/man/man8/* +%dir %{_sysconfdir}/laptop-mode +%config %{_sysconfdir}/laptop-mode/* +%{_sbindir}/* +%dir %{_datadir}/%{name}/ +%dir %{_datadir}/%{name}/modules/ +%dir %{_datadir}/%{name}/module-helpers/ +%{_datadir}/%{name}/modules/* +%{_datadir}/%{name}/module-helpers/lm-polling-daemon +%{_datadir}/%{name}/module-helpers/pm-helper +%{_datadir}/%{name}/module-helpers/pm-hibernate +%{_datadir}/%{name}/module-helpers/pm-suspend +%dir %{_libexecdir}/pm-utils +%dir %{_libexecdir}/pm-utils/power.d +%dir %{_libexecdir}/pm-utils/sleep.d +%{_libexecdir}/pm-utils/power.d/laptop-mode-tools +%{_sbindir}/rclaptop-mode +%{_udevrulesdir}/lmt-udev +%{_udevrulesdir}/99-laptop-mode.rules +%{_libexecdir}/pm-utils/sleep.d/01laptop-mode +%{_mandir}/man8/* %doc README.SUSE -%dir %{_lib}/udev -%{_lib}/udev/lmt-udev -%dir /usr/lib/tmpfiles.d -/usr/lib/tmpfiles.d/laptop-mode.conf -%dir %{_lib}/systemd/system -%config %{_lib}/systemd/system/laptop-mode.service +%{_tmpfilesdir}/laptop-mode.conf +%{_unitdir}/laptop-mode.service %changelog ++++++ laptop-mode-tools_1.62.tar.gz -> laptop-mode-tools_1.64.tar.gz ++++++ ++++ 1659 lines of diff (skipped)