From 793cf457bcf7125d8d7f332d27250f2f67fd0442 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= <aur@huesers.de> Date: Sun, 2 Feb 2025 18:31:06 +0100 Subject: [PATCH] upgpkg: tuned-git 2.25.0.r4.gc624ba6-1: missing dep and custom libexecdir Add missing dependency for `tuned-ppd` that wasn't mentioned in the release notes Add custom LIBEXECDIR and remove sed patch --- tuned-git/.SRCINFO | 3 ++- tuned-git/PKGBUILD | 9 ++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tuned-git/.SRCINFO b/tuned-git/.SRCINFO index d64ee8d..013b747 100644 --- a/tuned-git/.SRCINFO +++ b/tuned-git/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = tuned-git pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system - pkgver = 2.25.0.r2.ga96d7d9 + pkgver = 2.25.0.r4.gc624ba6 pkgrel = 1 url = https://github.com/redhat-performance/tuned arch = any @@ -42,6 +42,7 @@ pkgname = tuned-git pkgname = tuned-ppd-git pkgdesc = Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD) depends = tuned + depends = python-pyinotify provides = tuned-ppd provides = power-profiles-daemon conflicts = tuned-ppd diff --git a/tuned-git/PKGBUILD b/tuned-git/PKGBUILD index fe3da1f..d0d91d8 100644 --- a/tuned-git/PKGBUILD +++ b/tuned-git/PKGBUILD @@ -7,7 +7,7 @@ _pkgbase=tuned pkgbase="${_pkgbase}-git" pkgname=("${_pkgbase}-git" "${_pkgbase}-ppd-git") -pkgver=2.25.0.r2.ga96d7d9 +pkgver=2.25.0.r4.gc624ba6 pkgrel=1 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') @@ -27,7 +27,6 @@ pkgver() { prepare() { cd "${_pkgbase}" - sed -i 's|/libexec/|/lib/|g' Makefile sed -i 's|/sbin/|/bin/|g' tuned.service tuned-gui.py tuned-gui.desktop tuned/ppd/tuned-ppd.service } @@ -52,7 +51,7 @@ package_tuned-git() { cd "${_pkgbase}" - make DESTDIR="${pkgdir}" SBINDIR="/usr/bin" install + make DESTDIR="${pkgdir}" SBINDIR="/usr/bin" LIBEXECDIR="/usr/lib" install rm -rv "${pkgdir}"/{run,var} python -m compileall -d /usr/lib "${pkgdir}/usr/lib" @@ -61,12 +60,12 @@ package_tuned-git() { package_tuned-ppd-git() { pkgdesc='Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD)' - depends=("${_pkgbase}") + depends=("${_pkgbase}" 'python-pyinotify') provides=("${_pkgbase}-ppd" 'power-profiles-daemon') conflicts=("${_pkgbase}-ppd" 'power-profiles-daemon') backup=('etc/tuned/ppd.conf') cd "${_pkgbase}" - make DESTDIR="${pkgdir}" SBINDIR="/usr/bin" install-ppd + make DESTDIR="${pkgdir}" SBINDIR="/usr/bin" LIBEXECDIR="/usr/lib" install-ppd }