[arch-commits] Commit in percona-server/trunk (PKGBUILD)

Massimiliano Torromeo mtorromeo at archlinux.org
Tue Mar 17 13:18:45 UTC 2020


    Date: Tuesday, March 17, 2020 @ 13:18:44
  Author: mtorromeo
Revision: 600160

upgpkg: percona-server 8.0.18_9-3

Modified:
  percona-server/trunk/PKGBUILD

----------+
 PKGBUILD |    8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-17 12:35:50 UTC (rev 600159)
+++ PKGBUILD	2020-03-17 13:18:44 UTC (rev 600160)
@@ -6,7 +6,7 @@
 _boost_ver=1.70.0
 _pkgver=${pkgver/_/-}
 _myver=${pkgver/_rel*}
-pkgrel=2
+pkgrel=3
 arch=('x86_64')
 makedepends=('cmake' 'zlib' 'lz4' 'zstd' 'libaio' 'systemd-tools' 'pam' 'numactl' 'jemalloc' 'openssl' 'rpcsvc-proto' 'boost' 'doxygen' 'graphviz')
 license=('GPL')
@@ -37,8 +37,10 @@
 	patch -p1 -i "$srcdir"/rocksdb-systemlibs.patch
 	patch -p1 -i "$srcdir"/rocksdb-make.patch
 
-	echo StateDirectory=mysql mysql-files >> scripts/systemd/mysqld.service.in
-	echo StateDirectory=mysql mysql-files >> scripts/systemd/mysqld at .service.in
+	for svcfile in mysqld{,@}.service.in; do
+		echo StateDirectory=mysql mysql-files >> scripts/systemd/$svcfile
+		echo RuntimeDirectory=mysqld >> scripts/systemd/$svcfile
+	done
 }
 
 build() {



More information about the arch-commits mailing list