#4 Use make macros
Merged 3 years ago by mjw. Opened 3 years ago by tstellar.
rpms/ tstellar/elfutils make-macros  into  master

file modified
+8 -4
@@ -1,6 +1,6 @@ 

  Name: elfutils

  Version: 0.180

- %global baserelease 3

+ %global baserelease 4

  Release: %{baserelease}%{?dist}

  URL: http://elfutils.org/

  %global source_url ftp://sourceware.org/pub/elfutils/%{version}/
@@ -274,11 +274,11 @@ 

  trap 'cat config.log' EXIT

  %configure CFLAGS="$RPM_OPT_FLAGS -fexceptions"

  trap '' EXIT

- make -s %{?_smp_mflags}

+ %make_build -s

  

  %install

  rm -rf ${RPM_BUILD_ROOT}

- make -s install DESTDIR=${RPM_BUILD_ROOT}

+ %make_install -s

  

  chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so*

  
@@ -297,7 +297,7 @@ 

  # Record some build root versions in build.log

  uname -r; rpm -q binutils gcc glibc

  

- make -s %{?_smp_mflags} check || (cat tests/test-suite.log; false)

+ %make_build -s check || (cat tests/test-suite.log; false)

  

  # Only the latest Fedora and EPEL have these scriptlets,

  # older Fedora and plain RHEL don't.
@@ -433,6 +433,10 @@ 

  %systemd_postun_with_restart debuginfod.service

  

  %changelog

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

+ - Use make macros

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

+ 

  * Fri Jul  3 2020 Mark Wielaard <mjw@fedoraproject.org> - 0.180-3

  - Add elfutils-0.180-mhd-result.patch

  

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.

Trying out libpagure commenting. This request looks reasonable. But must be tested. It seems to have failed merging because another commit was made to the project.

Pull-Request has been merged by mjw

3 years ago