Hello community, here is the log from the commit of package tlp for openSUSE:Factory checked in at 2017-11-27 22:18:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/tlp (Old) and /work/SRC/openSUSE:Factory/.tlp.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "tlp" Mon Nov 27 22:18:00 2017 rev:8 rq:545773 version:1.0 Changes: -------- --- /work/SRC/openSUSE:Factory/tlp/tlp.changes 2017-05-27 13:20:43.059549083 +0200 +++ /work/SRC/openSUSE:Factory/.tlp.new/tlp.changes 2017-11-27 22:18:01.291483154 +0100 @@ -1,0 +2,6 @@ +Sun Nov 26 12:10:33 UTC 2017 - [email protected] + +- Add tlp-1.0-run-mount.patch: Move runtime data from /var/run/tlp + to /run/tlp (boo#1058983) + +------------------------------------------------------------------- New: ---- tlp-1.0-run-mount.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ tlp.spec ++++++ --- /var/tmp/diff_new_pack.GPrOcb/_old 2017-11-27 22:18:01.991457749 +0100 +++ /var/tmp/diff_new_pack.GPrOcb/_new 2017-11-27 22:18:01.995457603 +0100 @@ -21,10 +21,12 @@ Version: 1.0 Release: 0 Summary: Save battery power on laptops -License: GPL-2.0+ and GPL-3.0+ +License: GPL-2.0+ AND GPL-3.0+ Group: Hardware/Mobile Url: http://linrunner.de/tlp Source: https://github.com/linrunner/%{_name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +# PATCH-FIX-UPSTREAM tlp-1.0-run-mount.patch boo#1058983 -- Move runtime data from /var/run/tlp to /run/tlp (commit 168a96f). +Patch0: tlp-1.0-run-mount.patch BuildRequires: gzip BuildRequires: systemd-rpm-macros Requires: hdparm @@ -63,6 +65,7 @@ %prep %setup -q -n %{_name}-%{version} +%patch0 -p1 %build make %{?_smp_mflags} V=1 \ @@ -95,7 +98,6 @@ %service_del_preun %{name}.service %{name}-sleep.service %files -%defattr(-,root,root) %doc AUTHORS COPYING LICENSE README %config(noreplace) %{_sysconfdir}/default/%{name} %{_bindir}/bluetooth @@ -120,7 +122,6 @@ %{_mandir}/man?/*.?%{?ext_man} %files rdw -%defattr(-,root,root) %{_sysconfdir}/NetworkManager/ %dir %{_libexecdir}/udev/ %dir %{_libexecdir}/udev/rules.d/ ++++++ tlp-1.0-run-mount.patch ++++++ --- a/Makefile +++ b/Makefile @@ -12,6 +12,7 @@ TLP_SYSD ?= /lib/systemd/system TLP_SYSV ?= /etc/init.d TLP_SHCPL ?= /usr/share/bash-completion/completions TLP_MAN ?= /usr/share/man +TLP_RUN ?= /run/tlp # Catenate DESTDIR to paths _SBIN = $(DESTDIR)$(TLP_SBIN) @@ -25,13 +26,15 @@ _SYSD = $(DESTDIR)$(TLP_SYSD) _SYSV = $(DESTDIR)$(TLP_SYSV) _SHCPL = $(DESTDIR)$(TLP_SHCPL) _MAN = $(DESTDIR)$(TLP_MAN) +_RUN = $(DESTDIR)$(TLP_RUN) SED = sed \ -e "s|@TLP_SBIN@|$(TLP_SBIN)|g" \ -e "s|@TLP_TLIB@|$(TLP_TLIB)|g" \ -e "s|@TLP_PLIB@|$(TLP_PLIB)|g" \ -e "s|@TLP_ULIB@|$(TLP_ULIB)|g" \ - -e "s|@TLP_CONF@|$(TLP_CONF)|g" + -e "s|@TLP_CONF@|$(TLP_CONF)|g" \ + -e "s|@TLP_RUN@|$(TLP_RUN)|g" INFILES = \ tlp \ --- a/tlp-functions.in +++ b/tlp-functions.in @@ -14,7 +14,7 @@ readonly TLPVER="1.0" readonly CONFFILE=@TLP_CONF@ -readonly RUNDIR=/var/run/tlp +readonly RUNDIR=@TLP_RUN@ readonly ETHTOOL=ethtool readonly HDPARM=hdparm --- a/tlp-usb-udev.in +++ b/tlp-usb-udev.in @@ -15,7 +15,7 @@ readonly USB_TIMEOUT=2 readonly USB_TIMEOUT_MS=2000 readonly USB_WWAN_VENDORS="0bdb 05c6 1199" -readonly RUNDIR=/var/run/tlp +readonly RUNDIR=@TLP_RUN@ readonly USB_DONE=usb_done readonly CONFFILE=@TLP_CONF@
