Accepting request 328306 from home:dimstar:Factory

- Add ldns-perl-5.22.patch: Fix build with perl 5.22.

OBS-URL: https://build.opensuse.org/request/show/328306
OBS-URL: https://build.opensuse.org/package/show/server:dns/ldns?expand=0&rev=26
This commit is contained in:
2015-09-01 14:42:56 +00:00
committed by Git OBS Bridge
parent ff570ab817
commit 0eb04b89bc
3 changed files with 21 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package ldns
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -31,6 +31,7 @@ BuildRequires: swig
#
Url: http://www.nlnetlabs.nl/projects/ldns/
Source: http://www.nlnetlabs.nl/downloads/ldns/ldns-%{version}.tar.gz
Patch0: ldns-perl-5.22.patch
#
Summary: A dns library
License: BSD-3-Clause
@@ -96,6 +97,7 @@ Perl bindings for ldns library
%prep
%setup -q
%patch0 -p1
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
@@ -200,4 +202,3 @@ popd
%{python_sitearch}/*ldns*
%changelog