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
This commit is contained in:
parent
9929452faa
commit
ea16930471
2 changed files with 6 additions and 6 deletions
3
.SRCINFO
3
.SRCINFO
|
@ -1,6 +1,6 @@
|
||||||
pkgbase = tuned-git
|
pkgbase = tuned-git
|
||||||
pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system
|
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
|
pkgrel = 1
|
||||||
url = https://github.com/redhat-performance/tuned
|
url = https://github.com/redhat-performance/tuned
|
||||||
arch = any
|
arch = any
|
||||||
|
@ -42,6 +42,7 @@ pkgname = tuned-git
|
||||||
pkgname = tuned-ppd-git
|
pkgname = tuned-ppd-git
|
||||||
pkgdesc = Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD)
|
pkgdesc = Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD)
|
||||||
depends = tuned
|
depends = tuned
|
||||||
|
depends = python-pyinotify
|
||||||
provides = tuned-ppd
|
provides = tuned-ppd
|
||||||
provides = power-profiles-daemon
|
provides = power-profiles-daemon
|
||||||
conflicts = tuned-ppd
|
conflicts = tuned-ppd
|
||||||
|
|
9
PKGBUILD
9
PKGBUILD
|
@ -7,7 +7,7 @@
|
||||||
_pkgbase=tuned
|
_pkgbase=tuned
|
||||||
pkgbase="${_pkgbase}-git"
|
pkgbase="${_pkgbase}-git"
|
||||||
pkgname=("${_pkgbase}-git" "${_pkgbase}-ppd-git")
|
pkgname=("${_pkgbase}-git" "${_pkgbase}-ppd-git")
|
||||||
pkgver=2.25.0.r2.ga96d7d9
|
pkgver=2.25.0.r4.gc624ba6
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system'
|
pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system'
|
||||||
arch=('any')
|
arch=('any')
|
||||||
|
@ -27,7 +27,6 @@ pkgver() {
|
||||||
prepare() {
|
prepare() {
|
||||||
cd "${_pkgbase}"
|
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
|
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}"
|
cd "${_pkgbase}"
|
||||||
|
|
||||||
make DESTDIR="${pkgdir}" SBINDIR="/usr/bin" install
|
make DESTDIR="${pkgdir}" SBINDIR="/usr/bin" LIBEXECDIR="/usr/lib" install
|
||||||
rm -rv "${pkgdir}"/{run,var}
|
rm -rv "${pkgdir}"/{run,var}
|
||||||
|
|
||||||
python -m compileall -d /usr/lib "${pkgdir}/usr/lib"
|
python -m compileall -d /usr/lib "${pkgdir}/usr/lib"
|
||||||
|
@ -61,12 +60,12 @@ package_tuned-git() {
|
||||||
|
|
||||||
package_tuned-ppd-git() {
|
package_tuned-ppd-git() {
|
||||||
pkgdesc='Daemon that allows applications to easily transition to TuneD from power-profiles-daemon (PPD)'
|
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')
|
provides=("${_pkgbase}-ppd" 'power-profiles-daemon')
|
||||||
conflicts=("${_pkgbase}-ppd" 'power-profiles-daemon')
|
conflicts=("${_pkgbase}-ppd" 'power-profiles-daemon')
|
||||||
backup=('etc/tuned/ppd.conf')
|
backup=('etc/tuned/ppd.conf')
|
||||||
|
|
||||||
cd "${_pkgbase}"
|
cd "${_pkgbase}"
|
||||||
|
|
||||||
make DESTDIR="${pkgdir}" SBINDIR="/usr/bin" install-ppd
|
make DESTDIR="${pkgdir}" SBINDIR="/usr/bin" LIBEXECDIR="/usr/lib" install-ppd
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue