diff --git a/ldns.spec b/ldns.spec index 444216b..455e21d 100644 --- a/ldns.spec +++ b/ldns.spec @@ -33,11 +33,14 @@ The devel package contains the ldns library and the include files %build make %{?_smp_mflags} +# for 1.0.1 +make drill examples # below configure commands depend on ldns having been built already :( -(cd drill ; %configure --with-ldns=../ldns/) -(cd examples ; %configure --with-ldns=../ldns/) -( cd drill ; make %{?_smp_mflags} ) -( cd examples ; make %{?_smp_mflags} ) +# for 1.1.0 +#(cd drill ; %%configure --with-ldns=../ldns/) +#(cd examples ; %%configure --with-ldns=../ldns/) +#( cd drill ; make %%{?_smp_mflags} ) +#( cd examples ; make %%{?_smp_mflags} ) make %{?_smp_mflags} doc %install @@ -52,9 +55,11 @@ rm -rf doc/.svn rm -rf doc/man # remove .la files rm -rf %{buildroot}%{_libdir}/*.la -# -( cd drill ; make install ) -( cd examples ; make install ) +# for 1.0.1 +make drill-install examples-install +# for 1.1.0 +#( cd drill ; make install ) +#( cd examples ; make install ) %clean rm -rf %{buildroot}