| |
@@ -1,7 +1,7 @@
|
| |
Summary: SELinux binary policy manipulation library
|
| |
Name: libsepol
|
| |
Version: 3.1
|
| |
- Release: 1%{?dist}
|
| |
+ Release: 2%{?dist}
|
| |
License: LGPLv2+
|
| |
Source0: https://github.com/SELinuxProject/selinux/releases/download/20200710/libsepol-3.1.tar.gz
|
| |
URL: https://github.com/SELinuxProject/selinux/wiki
|
| |
@@ -56,7 +56,7 @@
|
| |
|
| |
%build
|
| |
make clean
|
| |
- make %{?_smp_mflags} CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}"
|
| |
+ %make_build CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}"
|
| |
|
| |
%install
|
| |
mkdir -p ${RPM_BUILD_ROOT}/%{_lib}
|
| |
@@ -65,7 +65,7 @@
|
| |
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
|
| |
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man3
|
| |
mkdir -p ${RPM_BUILD_ROOT}%{_mandir}/man8
|
| |
- make DESTDIR="${RPM_BUILD_ROOT}" LIBDIR="%{_libdir}" SHLIBDIR="%{_libdir}" install
|
| |
+ %make_install LIBDIR="%{_libdir}" SHLIBDIR="%{_libdir}"
|
| |
rm -f ${RPM_BUILD_ROOT}%{_bindir}/genpolbools
|
| |
rm -f ${RPM_BUILD_ROOT}%{_bindir}/genpolusers
|
| |
rm -f ${RPM_BUILD_ROOT}%{_bindir}/chkcon
|
| |
@@ -96,6 +96,10 @@
|
| |
%{_libdir}/libsepol.so.1
|
| |
|
| |
%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.