From 2fdf17d6e12f037fd83cffbda44e4ffb57a44373 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Mon, 4 Jul 2022 17:12:47 +0200 Subject: [PATCH] Add missing python3 pycs --- .SRCINFO | 2 +- PKGBUILD | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 4b0d286..6a70eae 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = tuned pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system pkgver = 2.18.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/redhat-performance/tuned install = tuned.install arch = any diff --git a/PKGBUILD b/PKGBUILD index d13ea1b..05d5047 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -5,7 +5,7 @@ pkgname=tuned pkgver=2.18.0 -pkgrel=1 +pkgrel=2 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') url="https://github.com/redhat-performance/${pkgname}" @@ -32,5 +32,8 @@ package() { make DESTDIR="${pkgdir}" install 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/" }