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

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

  Summary: SELinux binary policy manipulation library

  Name: libsemanage

  Version: 3.1

- Release: 1%{?dist}

+ Release: 2%{?dist}

  License: LGPLv2+

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

  # fedora-selinux/selinux: git format-patch -N libsemanage-3.1 -- libsemanage
@@ -114,7 +114,7 @@ 

  mkdir -p ${RPM_BUILD_ROOT}%{_includedir} 

  mkdir -p ${RPM_BUILD_ROOT}%{_sharedstatedir}/selinux

  mkdir -p ${RPM_BUILD_ROOT}%{_sharedstatedir}/selinux/tmp

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

+ %make_install LIBDIR="%{_libdir}" SHLIBDIR="%{_libdir}"

  

  InstallPythonWrapper \

    %{__python3} \
@@ -156,6 +156,10 @@ 

  %{_libexecdir}/selinux/semanage_migrate_store

  

  %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