#3 Use make macros
Closed 6 months ago by carlosrodrifernandez. Opened 3 years ago by tstellar.
rpms/ tstellar/libcap make-macros  into  rawhide

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

  Name: libcap

  Version: 2.26

- Release: 7%{?dist}

+ Release: 8%{?dist}

  Summary: Library for getting and setting POSIX.1e capabilities

  URL: https://sites.google.com/site/fullycapable/

  License: GPLv2
@@ -50,8 +50,7 @@ 

       INCDIR=%{_includedir} MANDIR=%{_mandir} PKGCONFIGDIR=%{_libdir}/pkgconfig/

  

  %install

- make install RAISE_SETFCAP=no \

-              DESTDIR=%{buildroot} \

+ %make_install RAISE_SETFCAP=no \

               LIBDIR=%{_libdir} \

               SBINDIR=%{_sbindir} \

               PKGCONFIGDIR=%{_libdir}/pkgconfig/
@@ -84,6 +83,10 @@ 

  %{_libdir}/pkgconfig/libcap.pc

  

  %changelog

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

+ - Use make macros

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

+ 

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

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

This has been addressed already on another PR in rawhide combining multiple cleanups. Thank you for your contribution @tstellar.

Pull-Request has been closed by carlosrodrifernandez

6 months ago