From 62e67385b6d304db37eb871c264543fcaf1a8320 Mon Sep 17 00:00:00 2001 From: Tomas Hozza Date: Mon, 24 Mar 2014 13:49:13 +0100 Subject: [PATCH] Fix FTBFS due to perl modules Signed-off-by: Tomas Hozza --- ldns.spec | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/ldns.spec b/ldns.spec index 4380b8c..dda078d 100644 --- a/ldns.spec +++ b/ldns.spec @@ -121,14 +121,19 @@ This package contains documentation for the ldns library %if %{with_perl} ( cd contrib/DNS-LDNS - perl Makefile.PL INSTALLDIRS=vendor - make + perl Makefile.PL INSTALLDIRS=vendor INC="-I. -I../.." ) %endif make %{?_smp_mflags} ( cd drill ; make %{?_smp_mflags} ) ( cd examples ; make %{?_smp_mflags} ) +%if %{with_perl} +( + cd contrib/DNS-LDNS + make %{?_smp_mflags} LDLOADLIBS="-L../../lib -lldns" +) +%endif make %{?_smp_mflags} doc %install @@ -194,8 +199,9 @@ rm -f %{buildroot}%{perl_vendorarch}/auto/DNS/LDNS/{.packlist,LDNS.bs} %postun -p /sbin/ldconfig %changelog -* Tue Mar 18 2014 Tomas Hozza - 1.6.17-2 +* Mon Mar 24 2014 Tomas Hozza - 1.6.17-2 - Fix error causing ldns to sometimes produce faulty DSA sign (#1077776) +- Fix FTBFS due to perl modules * Fri Jan 10 2014 Paul Wouters - 1.6.17-1 - Updated to 1.6.17