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

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

  Summary: DWARF optimization and duplicate removal tool

  Name: dwz

  Version: 0.13

- Release: 2%{?dist}

+ Release: 3%{?dist}

  License: GPLv2+ and GPLv3+

  Source: https://sourceware.org/ftp/dwz/releases/%{name}-%{version}.tar.xz

  BuildRequires: gcc, elfutils-libelf-devel, dejagnu
@@ -19,13 +19,12 @@ 

  %setup -q -n dwz

  

  %build

- make %{?_smp_mflags} CFLAGS='%{optflags}' LDFLAGS='%{build_ldflags}' \

+ %make_build CFLAGS='%{optflags}' LDFLAGS='%{build_ldflags}' \

    prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir}

  

  %install

  rm -rf %{buildroot}

- make DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir} \

-   install

+ %make_install prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir}

  

  %check

  make check
@@ -36,6 +35,10 @@ 

  %{_mandir}/man1/dwz.1*

  

  %changelog

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

+ - Use make macros

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

+ 

  * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-2

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

  

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 merged by mjw

3 years ago