From: Tomas Krizek Date: Tue, 8 Jun 2021 14:15:31 +0000 (+0200) Subject: distro/pkg: support custom release numbers X-Git-Tag: v5.4.0~16^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae81f66fcfeeba19ad7381435511691142b074f8;p=thirdparty%2Fknot-resolver.git distro/pkg: support custom release numbers --- diff --git a/distro/pkg/arch/PKGBUILD b/distro/pkg/arch/PKGBUILD index 161e9dca9..967ad7ca9 100644 --- a/distro/pkg/arch/PKGBUILD +++ b/distro/pkg/arch/PKGBUILD @@ -4,7 +4,7 @@ pkgname=knot-resolver pkgver={{ version }} -pkgrel=1 +pkgrel={{ release }} pkgdesc='Caching DNSSEC-validating DNS resolver' arch=('x86_64' 'armv7h') url='https://www.knot-resolver.cz/' diff --git a/distro/pkg/deb/changelog b/distro/pkg/deb/changelog index 8e51c43a9..486ae0a06 100644 --- a/distro/pkg/deb/changelog +++ b/distro/pkg/deb/changelog @@ -1,4 +1,4 @@ -knot-resolver ({{ version }}-cznic.1) unstable; urgency=medium +knot-resolver ({{ version }}-cznic.{{ release }}) unstable; urgency=medium * move changelog to OBS * see NEWS or https://knot-resolver.cz diff --git a/distro/pkg/rpm/knot-resolver.spec b/distro/pkg/rpm/knot-resolver.spec index e8c95a334..e91789c1f 100644 --- a/distro/pkg/rpm/knot-resolver.spec +++ b/distro/pkg/rpm/knot-resolver.spec @@ -9,7 +9,7 @@ Name: knot-resolver Version: {{ version }} -Release: cznic.1%{?dist} +Release: cznic.{{ release }}%{?dist} Summary: Caching full DNS Resolver License: GPL-3.0-or-later