From 201bf6fc5d38fd0e26e615afd2b9f56c80e208c2 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Wed, 13 Nov 2019 11:37:44 +0000 Subject: testing/etcd: improving download the config file using pkgver with substring, there's not need to modify the source file for default config --- testing/etcd/APKBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testing/etcd') diff --git a/testing/etcd/APKBUILD b/testing/etcd/APKBUILD index 82de33b5b3..29ef1a7e57 100644 --- a/testing/etcd/APKBUILD +++ b/testing/etcd/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Francesco Colista pkgname=etcd pkgver=3.4.3 -pkgrel=1 +pkgrel=2 pkgdesc="A highly-available key value store for shared configuration and service discovery" url="https://github.com/coreos/etcd" arch="x86_64 ppc64le" @@ -13,7 +13,7 @@ pkgusers="$pkgname" pkggroups="$pkgname" subpackages="$pkgname-doc $pkgname-ctl $pkgname-openrc" source="$pkgname-$pkgver.tar.gz::https://github.com/coreos/etcd/archive/v$pkgver.tar.gz - $pkgname.yaml::https://raw.githubusercontent.com/etcd-io/etcd/release-3.4/etcd.conf.yml.sample + $pkgname.yaml::https://raw.githubusercontent.com/etcd-io/etcd/release-${pkgver%.*}/etcd.conf.yml.sample $pkgname.confd $pkgname.initd " -- cgit v1.2.3