SELinux userspace 2.9-rc2 release

This commit is contained in:
Petr Lautrbach 2019-03-11 17:19:45 +01:00
parent e7b6fdd8c4
commit 32b01b4b5d
3 changed files with 19 additions and 10 deletions

1
.gitignore vendored
View File

@ -100,3 +100,4 @@ checkpolicy-2.0.22.tgz
/checkpolicy-2.8-rc3.tar.gz
/checkpolicy-2.8.tar.gz
/checkpolicy-2.9-rc1.tar.gz
/checkpolicy-2.9-rc2.tar.gz

View File

@ -1,16 +1,16 @@
%define libselinuxver 2.9-0
%define libsepolver 2.9-0
%define libselinuxver 2.9-0.rc2
%define libsepolver 2.9-0.rc2
Summary: SELinux policy compiler
Name: checkpolicy
Version: 2.9
Release: 0.rc1.1%{?dist}.1
Release: 0.rc2.1%{?dist}
License: GPLv2
Source0: https://github.com/SELinuxProject/selinux/releases/download/20190125/checkpolicy-2.9-rc1.tar.gz
Source0: https://github.com/SELinuxProject/selinux/releases/download/20190301/checkpolicy-2.9-rc2.tar.gz
# download https://raw.githubusercontent.com/fedora-selinux/scripts/master/selinux/make-fedora-selinux-patch.sh
# run:
# $ VERSION=2.9-rc1./make-fedora-selinux-patch.sh checkpolicy
# HEAD https://github.com/fedora-selinux/selinux/commit/
# $ VERSION=2.9-rc2./make-fedora-selinux-patch.sh checkpolicy
# HEAD https://github.com/fedora-selinux/selinux/commit/cb42e1bf324698875492f6f8f7adf9c5f7778aab
# Patch1: checkpolicy-fedora.patch
Conflicts: selinux-policy-base < 3.13.1-138
BuildRequires: gcc
@ -31,13 +31,16 @@ This package contains checkpolicy, the SELinux policy compiler.
Only required for building policies.
%prep
%autosetup -p 1 -n checkpolicy-%{version}-rc1
%autosetup -p 1 -n checkpolicy-%{version}-rc2
%build
%set_build_flags
make clean
make LIBDIR="%{_libdir}" CFLAGS="%{optflags}" LDFLAGS="$RPM_LD_FLAGS"
make LIBDIR="%{_libdir}"
cd test
make LIBDIR="%{_libdir}" CFLAGS="%{optflags}" LDFLAGS="$RPM_LD_FLAGS"
make LIBDIR="%{_libdir}"
%install
mkdir -p ${RPM_BUILD_ROOT}%{_bindir}
@ -52,10 +55,15 @@ install test/dispol ${RPM_BUILD_ROOT}%{_bindir}/sedispol
%{_bindir}/checkmodule
%{_mandir}/man8/checkpolicy.8.gz
%{_mandir}/man8/checkmodule.8.gz
%{_mandir}/ru/man8/checkpolicy.8.gz
%{_mandir}/ru/man8/checkmodule.8.gz
%{_bindir}/sedismod
%{_bindir}/sedispol
%changelog
* Mon Mar 11 2019 Petr Lautrbach <plautrba@redhat.com> - 2.9-0.rc2.1
- SELinux userspace 2.9-rc2 release
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9-0.rc1.1.1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

View File

@ -1 +1 @@
SHA512 (checkpolicy-2.9-rc1.tar.gz) = 1ad53f70219c0b57ad19ee1b242709b8e0721dc45a6f73f61553b602247e8a64a1c3896226bac977a795aa7c0fb83fa214d1ad1d6ccb6dc3bbc4228f33fe89b0
SHA512 (checkpolicy-2.9-rc2.tar.gz) = 342980e5a815ab91cc47056537c6d55722957eff7e64bef00bffa76d19a08e380a52769b290232010bba5618b5dcfacee5dcf81d223423a95504e1e1979758f3