From ef07813cfc3c4d39c0b059f4447b52f564105a310d282e76f0083d099c0da91d Mon Sep 17 00:00:00 2001 From: Adam Majer Date: Tue, 27 Aug 2019 14:48:52 +0000 Subject: [PATCH] - Temporarily hardcode version in upstream URLs OBS-URL: https://build.opensuse.org/package/show/network:dhcp/kea?expand=0&rev=14 --- kea.changes | 1 + kea.spec | 8 +++++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/kea.changes b/kea.changes index e528791..f614306 100644 --- a/kea.changes +++ b/kea.changes @@ -2,6 +2,7 @@ Tue Aug 27 14:36:52 UTC 2019 - Adam Majer - Update keyring file +- Temporarily hardcode version in upstream URLs ------------------------------------------------------------------- Wed Aug 21 15:08:38 UTC 2019 - Adam Majer diff --git a/kea.spec b/kea.spec index b41a1c3..5606c6e 100644 --- a/kea.spec +++ b/kea.spec @@ -38,6 +38,8 @@ %define util_io_sover 0 %define util_sover 6 +%define dl_ver 1.6.0-beta2 + %if 0%{?suse_version} >= 1500 %bcond_without regen_files %else @@ -52,8 +54,8 @@ Group: Productivity/Networking/Boot/Servers URL: https://kea.isc.org/ #Git-Clone: git://github.com/isc-projects/kea -Source: https://ftp.isc.org/isc/kea/%version/kea-%version.tar.gz -Source2: https://ftp.isc.org/isc/kea/%version/kea-%version.tar.gz.asc +Source: https://ftp.isc.org/isc/kea/%dl_ver/kea-%dl_ver.tar.gz#/kea-%version.tar.gz +Source2: https://ftp.isc.org/isc/kea/%dl_ver/kea-%dl_ver.tar.gz.asc#/kea-%version.tar.gz.asc # https://www.isc.org/pgpkey/ Source3: kea.keyring BuildRequires: autoconf >= 2.59 @@ -334,7 +336,7 @@ Conflicts: otheproviders(pkgconfig(dns++)) Development files for the Kea DHCP server %prep -%autosetup -p1 -n kea-1.6.0-beta2 +%autosetup -p1 -n kea-%dl_ver %build export FREERADIUS_INCLUDE="%_includedir/freeradius"