Add missing python3 pycs
This commit is contained in:
parent
42f0040946
commit
2fdf17d6e1
2 changed files with 5 additions and 2 deletions
2
.SRCINFO
2
.SRCINFO
|
@ -1,7 +1,7 @@
|
||||||
pkgbase = tuned
|
pkgbase = tuned
|
||||||
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.18.0
|
pkgver = 2.18.0
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://github.com/redhat-performance/tuned
|
url = https://github.com/redhat-performance/tuned
|
||||||
install = tuned.install
|
install = tuned.install
|
||||||
arch = any
|
arch = any
|
||||||
|
|
5
PKGBUILD
5
PKGBUILD
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
pkgname=tuned
|
pkgname=tuned
|
||||||
pkgver=2.18.0
|
pkgver=2.18.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
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')
|
||||||
url="https://github.com/redhat-performance/${pkgname}"
|
url="https://github.com/redhat-performance/${pkgname}"
|
||||||
|
@ -32,5 +32,8 @@ package() {
|
||||||
make DESTDIR="${pkgdir}" install
|
make DESTDIR="${pkgdir}" install
|
||||||
rm -r "${pkgdir}"/{run,var}
|
rm -r "${pkgdir}"/{run,var}
|
||||||
|
|
||||||
|
python -m compileall -d /usr/lib "$pkgdir/usr/lib"
|
||||||
|
python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
|
||||||
|
|
||||||
install -Dm644 tuned.service "${pkgdir}/usr/lib/systemd/system/"
|
install -Dm644 tuned.service "${pkgdir}/usr/lib/systemd/system/"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue