Fix FTBFS due to perl modules

Signed-off-by: Tomas Hozza <thozza@redhat.com>
This commit is contained in:
Tomas Hozza 2014-03-24 13:49:13 +01:00
parent 182a4339fe
commit 62e67385b6

View File

@ -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 <thozza@redhat.com> - 1.6.17-2
* Mon Mar 24 2014 Tomas Hozza <thozza@redhat.com> - 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 <pwouters@redhat.com> - 1.6.17-1
- Updated to 1.6.17