#5 Use make macros
Closed 3 months ago by rjones. Opened 3 years ago by tstellar.
rpms/ tstellar/libguestfs make-macros  into  rawhide

file modified
+7 -3
@@ -45,7 +45,7 @@ 

  Name:          libguestfs

  Epoch:         1

  Version:       1.43.1

- Release:       1%{?dist}

+ Release:       2%{?dist}

  License:       LGPLv2+

  

  # No kernel https://fedoraproject.org/wiki/Changes/Stop_Building_i686_Kernels
@@ -799,7 +799,7 @@ 

  # 'INSTALLDIRS' ensures that Perl and Ruby libs are installed in the

  # vendor dir not the site dir.

  make -j1 -C builder index-parse.c

- make V=1 INSTALLDIRS=vendor %{?_smp_mflags}

+ %make_build INSTALLDIRS=vendor

  

  

  %check
@@ -824,7 +824,7 @@ 

  

  # 'INSTALLDIRS' ensures that Perl and Ruby libs are installed in the

  # vendor dir not the site dir.

- make DESTDIR=$RPM_BUILD_ROOT INSTALLDIRS=vendor install

+ %make_install INSTALLDIRS=vendor

  

  # Delete static libraries.

  rm $( find $RPM_BUILD_ROOT -name '*.a' | grep -v /ocaml/ )
@@ -1185,6 +1185,10 @@ 

  

  

  %changelog

+ * Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 1:1.43.1-2

+ - Use make macros

+ - https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro

+ 

  * Mon Jul  6 2020 Richard W.M. Jones <rjones@redhat.com> - 1:1.43.1-1

  - New development branch 1.43.

  - Remove upstream patches.

This pull request was create automatically for the f33 change:
https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro

Please review the patch and if you approve the changes, merge it after the simple-koji-ci test passes.

This pull request will be automatically merged in 1 week if there are not objections.

Pull-Request has been closed by rjones

3 months ago