#2 Use make_build macro instead of make
Closed 3 years ago by pemensik. Opened 4 years ago by tstellar.
rpms/ tstellar/ldns make_build  into  master

file modified
+9 -5
@@ -39,7 +39,7 @@ 

  Summary: Low-level DNS(SEC) library with API

  Name: ldns

  Version: 1.7.0

- Release: 30%{?dist}

+ Release: 31%{?dist}

  

  License: BSD

  Url: http://www.nlnetlabs.nl/%{name}/
@@ -230,15 +230,15 @@ 

    --with-pyldns PYTHON=%{__python3}

  %endif

  

- make %{?_smp_mflags}

- make %{?_smp_mflags} doc

+ %{make_build}

+ %{make_build} doc

  

  # We cannot use the built-in --with-p5-dns-ldns

  %if %{with perl}

    pushd contrib/DNS-LDNS

    LD_LIBRARY_PATH="../../lib:$LD_LIBRARY_PATH" perl \

        Makefile.PL INSTALLDIRS=vendor  INC="-I. -I../.." LIBS="-L../../lib"

-   make

+   %{make_build}

    popd

  %endif

  
@@ -252,7 +252,7 @@ 

      %{common_args} \

      --with-pyldns PYTHON=%{__python2}

  

-   make %{?_smp_mflags}

+   %{make_build}

    popd

  %endif

  
@@ -348,6 +348,10 @@ 

  %doc doc

  

  %changelog

+ * Tue May 26 2020 Tom Stellard <tstellar@redhat.com> - 1.7.0-31

+ - Use make_build macro instead of make

+ - https://docs.fedoraproject.org/en-US/packaging-guidelines/#_parallel_make

+ 

  * Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.7.0-30

  - Rebuilt for Python 3.9