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 Summary: SELinux policy compiler
Name: checkpolicy Name: checkpolicy
Version: 3.1 Version: 3.1
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2 License: GPLv2
Source0: https://github.com/SELinuxProject/selinux/releases/download/20200710/checkpolicy-3.1.tar.gz Source0: https://github.com/SELinuxProject/selinux/releases/download/20200710/checkpolicy-3.1.tar.gz
# $ git clone https://github.com/fedora-selinux/selinux.git # $ git clone https://github.com/fedora-selinux/selinux.git
@ -37,14 +37,13 @@ Only required for building policies.
%set_build_flags %set_build_flags
make clean %make_build LIBDIR="%{_libdir}"
make LIBDIR="%{_libdir}"
cd test cd test
make LIBDIR="%{_libdir}" %make_build LIBDIR="%{_libdir}"
%install %install
mkdir -p ${RPM_BUILD_ROOT}%{_bindir} 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/dismod ${RPM_BUILD_ROOT}%{_bindir}/sedismod
install test/dispol ${RPM_BUILD_ROOT}%{_bindir}/sedispol install test/dispol ${RPM_BUILD_ROOT}%{_bindir}/sedispol
@ -61,6 +60,10 @@ install test/dispol ${RPM_BUILD_ROOT}%{_bindir}/sedispol
%{_bindir}/sedispol %{_bindir}/sedispol
%changelog %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 * Fri Jul 10 2020 Petr Lautrbach <plautrba@redhat.com> - 3.1-1
- SELinux userspace 3.1 release - SELinux userspace 3.1 release