Tom Stellard 2020-07-13 18:48:24 +00:00 committed by Petr Lautrbach
parent 54b53e380c
commit d653350d2a

View File

@ -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
@ -37,14 +37,13 @@ Only required for building policies.
%set_build_flags
make clean
make LIBDIR="%{_libdir}"
%make_build LIBDIR="%{_libdir}"
cd test
make LIBDIR="%{_libdir}"
%make_build LIBDIR="%{_libdir}"
%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 +60,10 @@ install test/dispol ${RPM_BUILD_ROOT}%{_bindir}/sedispol
%{_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