Update to version 2.6.0

This commit is contained in:
Iwan Timmer 2016-01-26 13:06:42 +01:00
parent aaee2927cd
commit eef28bd77e
2 changed files with 19 additions and 22 deletions

View file

@ -1,6 +1,8 @@
pkgbase = tuned-git # Generated by mksrcinfo v8
# Tue Jan 26 12:06:30 UTC 2016
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.5.0.r6.ge32bd6b pkgver = 2.6.0
pkgrel = 1 pkgrel = 1
url = https://fedorahosted.org/tuned/ url = https://fedorahosted.org/tuned/
install = tuned.install install = tuned.install
@ -13,12 +15,13 @@ pkgbase = tuned-git
depends = python2-gobject2 depends = python2-gobject2
depends = python2-decorator depends = python2-decorator
depends = python2-dbus depends = python2-dbus
depends = python2-gobject
optdepends = virt-what optdepends = virt-what
optdepends = systemtap optdepends = systemtap
provides = tuned provides = tuned
backup = etc/tuned/active_profile backup = etc/tuned/active_profile
source = tuned-git::git://git.fedorahosted.org/git/tuned.git source = https://fedorahosted.org/releases/t/u/tuned/tuned-2.6.0.tar.bz2
sha256sums = SKIP sha256sums = 945c785b8020960d2665b570b3168c366e6b82399801952aea54b4d178dac876
pkgname = tuned-git pkgname = tuned

View file

@ -1,31 +1,25 @@
# Maintainer: Timothée Ravier < tim at siosm dot fr > # Maintainer: Iwan Timmer <irtimmer@gmail.com>
# Contributor: Tom < reztho at archlinux dot org > # Contributor: Timothée Ravier <tim at siosm dot fr>
# Contributor: Tom <reztho at archlinux dot org>
pkgname=tuned-git pkgname=tuned
pkgver=2.5.0.r6.ge32bd6b pkgver=2.6.0
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')
url='https://fedorahosted.org/tuned/' url='https://fedorahosted.org/tuned/'
license=('GPL') license=('GPL')
depends=('ethtool' 'python2-configobj' 'python2-pyudev' 'python2-gobject2' depends=('ethtool' 'python2-configobj' 'python2-pyudev' 'python2-gobject2' 'python2-decorator' 'python2-dbus' 'python2-gobject')
'python2-decorator' 'python2-dbus')
optdepends=('virt-what' 'systemtap') optdepends=('virt-what' 'systemtap')
makedepends=('git') makedepends=('git')
provides=('tuned') provides=('tuned')
backup=('etc/tuned/active_profile') backup=('etc/tuned/active_profile')
install="${pkgname/-git}.install" install="${pkgname}.install"
source=("${pkgname}::git://git.fedorahosted.org/git/${pkgname/-/.}") source=("https://fedorahosted.org/releases/t/u/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
sha256sums=('SKIP') sha256sums=('945c785b8020960d2665b570b3168c366e6b82399801952aea54b4d178dac876')
pkgver() {
cd ${pkgname}
local ver=$(git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g')
printf "%s\n" "${ver:1}"
}
package() { package() {
cd ${pkgname} cd ${pkgname}-${pkgver}
make DESTDIR="${pkgdir}" install make DESTDIR="${pkgdir}" install
@ -35,7 +29,7 @@ package() {
find "${pkgdir}"/usr/bin/ -type f -exec sed -i 's@#!/usr/bin/python@#!/usr/bin/python2@' {} \; find "${pkgdir}"/usr/bin/ -type f -exec sed -i 's@#!/usr/bin/python@#!/usr/bin/python2@' {} \;
install -Dm 0644 "${srcdir}"/${pkgname}/tuned.service "${pkgdir}"/usr/lib/systemd/system/tuned.service install -Dm 0644 "${srcdir}"/${pkgname}-${pkgver}/tuned.service "${pkgdir}"/usr/lib/systemd/system/tuned.service
} }
# vim:set ts=2 sw=2 et: # vim:set ts=2 sw=2 et: