From e816bdd3379cf7978055e7f35795619148b60a19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20H=C3=BCsers?= Date: Mon, 11 Dec 2017 16:35:58 +0100 Subject: [PATCH] Version 2.9.0 --- .SRCINFO | 10 +++++----- PKGBUILD | 8 ++++---- tuned.install | 4 ++++ 3 files changed, 13 insertions(+), 9 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index dcbead8..c3b8313 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,10 +1,10 @@ # Generated by mksrcinfo v8 -# Thu Apr 27 17:41:50 UTC 2017 +# Mon Dec 11 15:35:58 UTC 2017 pkgbase = tuned pkgdesc = Daemon that performs monitoring and adaptive configuration of devices in the system - pkgver = 2.8.0 + pkgver = 2.9.0 pkgrel = 1 - url = https://fedorahosted.org/tuned/ + url = https://github.com/redhat-performance/tuned install = tuned.install arch = any license = GPL @@ -20,8 +20,8 @@ pkgbase = tuned optdepends = virt-what optdepends = systemtap backup = etc/tuned/active_profile - source = https://jskarvad.fedorapeople.org/tuned/download/tuned-2.8.0.tar.bz2 - sha256sums = 3da453af1d1f13ac46966499b1f1373cf3718bdb3207f82aca8b66e894e69bc7 + source = https://github.com/redhat-performance/tuned/archive/v2.9.0.tar.gz + sha256sums = 0863896aff15c924afe7ee9449d16121c840d8bf768055aa749d0d050518efe5 pkgname = tuned diff --git a/PKGBUILD b/PKGBUILD index b943823..2f02323 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,19 +4,19 @@ # Contributor: Tom pkgname=tuned -pkgver=2.8.0 +pkgver=2.9.0 pkgrel=1 pkgdesc='Daemon that performs monitoring and adaptive configuration of devices in the system' arch=('any') -url='https://fedorahosted.org/tuned/' +url="https://github.com/redhat-performance/${pkgname}" license=('GPL') depends=('ethtool' 'python2-configobj' 'python2-pyudev' 'python2-gobject2' 'python2-decorator' 'python2-dbus' 'python2-gobject' 'dbus-glib') optdepends=('virt-what' 'systemtap') makedepends=('git') backup=('etc/tuned/active_profile') install="${pkgname}.install" -source=("https://jskarvad.fedorapeople.org/${pkgname}/download/${pkgname}-${pkgver}.tar.bz2") -sha256sums=('3da453af1d1f13ac46966499b1f1373cf3718bdb3207f82aca8b66e894e69bc7') +source=("https://github.com/redhat-performance/${pkgname}/archive/v${pkgver}.tar.gz") +sha256sums=('0863896aff15c924afe7ee9449d16121c840d8bf768055aa749d0d050518efe5') package() { cd "${pkgname}-${pkgver}" diff --git a/tuned.install b/tuned.install index a704b66..974c867 100644 --- a/tuned.install +++ b/tuned.install @@ -1,3 +1,7 @@ post_install() { systemd-tmpfiles --create tuned.conf } + +pre_remove() { + systemd-tmpfiles --remove tuned.conf +}