#2 Use make macros
Opened 11 months ago by tstellar. Modified 11 months ago
rpms/ tstellar/libmnl make-macros  into  rawhide

file modified
+7 -3
@@ -1,6 +1,6 @@ 

  Name:          libmnl

  Version:       1.0.4

- Release:       11%{?dist}

+ Release:       12%{?dist}

  Summary:       A minimalistic Netlink library

  

  License:       LGPLv2+
@@ -39,11 +39,11 @@ 

  

  %build

  %configure --enable-static

- make CFLAGS="%{optflags}" %{?_smp_mflags}

+ %make_build CFLAGS="%{optflags}"

  

  

  %install

- make install DESTDIR=$RPM_BUILD_ROOT

+ %make_install

  find $RPM_BUILD_ROOT -name '*.la' -delete

  find examples '(' -name 'Makefile.am' -o -name 'Makefile.in' ')' -delete

  find examples -type d -name '.deps' -prune -exec rm -rf {} ';'
@@ -68,6 +68,10 @@ 

  %{_libdir}/*.a

  

  %changelog

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

+ - Use make macros

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

+ 

  * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.4-11

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