#4 Use make macros
Opened 2 years ago by tstellar. Modified 2 years ago
rpms/ tstellar/libcap-ng make-macros  into  rawhide

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

  Summary: An alternate posix capabilities library

  Name: libcap-ng

  Version: 0.7.10

- Release: 3%{?dist}

+ Release: 4%{?dist}

  License: LGPLv2+

  URL: http://people.redhat.com/sgrubb/libcap-ng

  Source0: http://people.redhat.com/sgrubb/libcap-ng/%{name}-%{version}.tar.gz
@@ -50,10 +50,10 @@ 

  

  %build

  %configure --libdir=/%{_lib} --with-python=no --with-python3

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

+ %make_build CFLAGS="%{optflags}"

  

  %install

- make DESTDIR="${RPM_BUILD_ROOT}" INSTALL='install -p' install

+ %make_install

  

  # Move the symlink

  rm -f $RPM_BUILD_ROOT/%{_lib}/%{name}.so
@@ -99,6 +99,10 @@ 

  %attr(0644,root,root) %{_mandir}/man8/*

  

  %changelog

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

+ - Use make macros

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

+ 

  * Tue May 26 2020 Miro HronĨok <mhroncok@redhat.com> - 0.7.10-3

  - Rebuilt for Python 3.9

  

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.