#6 Use make macros
Closed 3 years ago by plautrba. Opened 3 years ago by tstellar.
rpms/ tstellar/checkpolicy make-macros  into  master

file modified
+6 -2
@@ -4,7 +4,7 @@ 

  Summary: SELinux policy compiler

  Name: checkpolicy

  Version: 3.1

- Release: 1%{?dist}

+ Release: 2%{?dist}

  License: GPLv2

  Source0: https://github.com/SELinuxProject/selinux/releases/download/20200710/checkpolicy-3.1.tar.gz

  # $ git clone https://github.com/fedora-selinux/selinux.git
@@ -44,7 +44,7 @@ 

  

  %install

  mkdir -p ${RPM_BUILD_ROOT}%{_bindir}

- make LIBDIR="%{_libdir}" DESTDIR="${RPM_BUILD_ROOT}" install

+ %make_install LIBDIR="%{_libdir}"

  install test/dismod ${RPM_BUILD_ROOT}%{_bindir}/sedismod

  install test/dispol ${RPM_BUILD_ROOT}%{_bindir}/sedispol

  
@@ -61,6 +61,10 @@ 

  %{_bindir}/sedispol

  

  %changelog

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

+ - Use make macros

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

+ 

  * Fri Jul 10 2020 Petr Lautrbach <plautrba@redhat.com> - 3.1-1

  - SELinux userspace 3.1 release

  

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 closed by plautrba

3 years ago