#4 Use make macros
Closed 2 months ago by codonell. Opened 6 months ago by tstellar.
rpms/ tstellar/libffi make-macros  into  master

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

  

  Name:		libffi

  Version:	3.1

- Release:	25%{?dist}

+ Release:	26%{?dist}

  Summary:	A portable foreign function interface library

  License:	MIT

  URL:		http://sourceware.org/libffi
@@ -72,7 +72,7 @@ 

  

  %build

  %configure --disable-static

- make %{?_smp_mflags}

+ %make_build

  

  %check

  %if %{without bootstrap}
@@ -80,7 +80,7 @@ 

  %endif

  

  %install

- make install DESTDIR=$RPM_BUILD_ROOT

+ %make_install

  find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'

  rm -f $RPM_BUILD_ROOT%{_infodir}/dir

  
@@ -121,6 +121,10 @@ 

  %{_infodir}/libffi.info.*

  

  %changelog

+ * Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 3.1-26

+ - Use make macros

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

+ 

  * Thu Apr 30 2020 DJ Delorie <idj@redhat.com> - 3.1-25

  - Add $LIBFFI_TMPDIR environment variable support (#1667620)

  

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 codonell

2 months ago