#1 Use make macros
Merged 3 years ago by nforro. Opened 3 years ago by tstellar.
rpms/ tstellar/libpng make-macros  into  master

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

  Name:          libpng

  Epoch:         2

  Version:       1.6.37

- Release:       3%{?dist}

+ Release:       4%{?dist}

  License:       zlib

  URL:           http://www.libpng.org/pub/png/

  
@@ -65,10 +65,10 @@ 

  %build

  autoreconf -vif

  %configure

- make %{?_smp_mflags} DFA_XTRA=pngusr.dfa

+ %make_build DFA_XTRA=pngusr.dfa

  

  %install

- make DESTDIR=$RPM_BUILD_ROOT install

+ %make_install

  

  # We don't ship .la files.

  rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
@@ -102,6 +102,10 @@ 

  %{_bindir}/pngfix

  

  %changelog

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

+ - Use make macros

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

+ 

  * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2:1.6.37-3

  - 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 nforro

3 years ago