Use autopatch for new patches
Remove unused patch file, simplify adding a new patch. Just Patch: entry is required with patch file name, autopatch will apply it. Use new primary website for unbound upstream.
This commit is contained in:
parent
7d6a427be7
commit
c8f0468078
@ -1,11 +0,0 @@
|
|||||||
diff -Naur dns64/dns64.c dns64/dns64.c
|
|
||||||
--- dns64/dns64.c 2018-12-11 04:46:02.000000000 -0500
|
|
||||||
+++ dns64/dns64.c 2018-12-12 12:39:30.589057421 -0500
|
|
||||||
@@ -628,6 +628,7 @@
|
|
||||||
|
|
||||||
/* Store the response in cache. */
|
|
||||||
if ( (!iq || !iq->started_no_cache_store) &&
|
|
||||||
+ qstate->return_msg && qstate->return_msg->rep &&
|
|
||||||
!dns_cache_store(qstate->env, &qstate->qinfo, qstate->return_msg->rep,
|
|
||||||
0, 0, 0, NULL, qstate->query_flags))
|
|
||||||
log_err("out of memory");
|
|
@ -36,8 +36,8 @@ Name: unbound
|
|||||||
Version: 1.9.6
|
Version: 1.9.6
|
||||||
Release: 2%{?extra_version:.%{extra_version}}%{?dist}
|
Release: 2%{?extra_version:.%{extra_version}}%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Url: https://www.unbound.net/
|
Url: https://nlnetlabs.nl/projects/unbound/
|
||||||
Source: https://www.unbound.net/downloads/%{name}-%{version}%{?extra_version}.tar.gz
|
Source: https://nlnetlabs.nl/downloads/%{name}/%{name}-%{version}%{?extra_version}.tar.gz
|
||||||
Source1: unbound.service
|
Source1: unbound.service
|
||||||
Source2: unbound.conf
|
Source2: unbound.conf
|
||||||
Source3: unbound.munin
|
Source3: unbound.munin
|
||||||
@ -156,10 +156,11 @@ Python 3 modules and extensions for unbound
|
|||||||
%global dir_primary %{pkgname}
|
%global dir_primary %{pkgname}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%setup -qcn %{pkgname}
|
%autosetup -c -N -n %{pkgname}
|
||||||
|
|
||||||
pushd %{pkgname}
|
pushd %{pkgname}
|
||||||
# patches go here
|
# patches go here
|
||||||
|
%autopatch -p1
|
||||||
|
|
||||||
# only for snapshots
|
# only for snapshots
|
||||||
# autoreconf -iv
|
# autoreconf -iv
|
||||||
|
Loading…
Reference in New Issue
Block a user