From 32b01b4b5dde98f275c9d8051548d79433acfcdd Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Mon, 11 Mar 2019 17:19:45 +0100 Subject: [PATCH] SELinux userspace 2.9-rc2 release --- .gitignore | 1 + checkpolicy.spec | 26 +++++++++++++++++--------- sources | 2 +- 3 files changed, 19 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index cc199a1..d11ccc7 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/checkpolicy.spec b/checkpolicy.spec index 6e31abf..8c4e661 100644 --- a/checkpolicy.spec +++ b/checkpolicy.spec @@ -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 - 2.9-0.rc2.1 +- SELinux userspace 2.9-rc2 release + * Thu Jan 31 2019 Fedora Release Engineering - 2.9-0.rc1.1.1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild diff --git a/sources b/sources index a2d1f09..fe18d6d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (checkpolicy-2.9-rc1.tar.gz) = 1ad53f70219c0b57ad19ee1b242709b8e0721dc45a6f73f61553b602247e8a64a1c3896226bac977a795aa7c0fb83fa214d1ad1d6ccb6dc3bbc4228f33fe89b0 +SHA512 (checkpolicy-2.9-rc2.tar.gz) = 342980e5a815ab91cc47056537c6d55722957eff7e64bef00bffa76d19a08e380a52769b290232010bba5618b5dcfacee5dcf81d223423a95504e1e1979758f3