diff --git a/.gitignore b/.gitignore index 05bcc48..f8ff437 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,4 @@ /secilc-2.9-rc1.tar.gz /secilc-2.9-rc2.tar.gz /secilc-2.9.tar.gz +/secilc-3.0-rc1.tar.gz diff --git a/secilc.spec b/secilc.spec index 28f4ac8..486fcde 100644 --- a/secilc.spec +++ b/secilc.spec @@ -1,19 +1,17 @@ -%global libsepolver 2.9-1 +%global libsepolver 3.0 Name: secilc -Version: 2.9 -Release: 2%{?dist} +Version: 3.0 +Release: 0.rc1.1%{?dist} Summary: The SELinux CIL Compiler License: BSD URL: https://github.com/SELinuxProject/selinux/wiki -Source0: https://github.com/SELinuxProject/selinux/releases/download/20190315/secilc-2.9.tar.gz -# download https://raw.githubusercontent.com/fedora-selinux/scripts/master/selinux/make-fedora-selinux-patch.sh -# run: -# $ VERSION=2.9 ./make-fedora-selinux-patch.sh secilc -# HEAD https://github.com/fedora-selinux/selinux/commit/431f72836d6c02450725cf6ffb1c7223b9fa6acc -# Patch1: secilc-fedora.patch - +Source0: https://github.com/SELinuxProject/selinux/releases/download/20191031/secilc-3.0-rc1.tar.gz +# fedora-selinux/selinux: git format-patch -N secilc-3.0-rc1 -- secilc +# i=1; for j in 00*patch; do printf "Patch%04d: %s\n" $i $j; i=$((i+1));done +# Patch list start +# Patch list end BuildRequires: gcc BuildRequires: libsepol-static >= %{libsepolver}, dblatex, flex, xmlto, pandoc @@ -36,7 +34,7 @@ http://github.com/SELinuxProject/cil/wiki/ for more information about the goals and features on the CIL language. %prep -%autosetup -p 1 -n secilc-%{version} +%autosetup -p 2 -n secilc-%{version}-rc1 %build @@ -64,6 +62,9 @@ make %{?_smp_mflags} DESTDIR="%{buildroot}" SBINDIR="%{buildroot}%{_sbindir}" LI %license COPYING %changelog +* Tue Nov 12 2019 Petr Lautrbach - 3.0-0.rc1.1 +- SELinux userspace 3.0-rc1 release candidate + * Fri Jul 26 2019 Fedora Release Engineering - 2.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild diff --git a/sources b/sources index 7178140..4d624e0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (secilc-2.9.tar.gz) = c552ce65fc23bef1a93b3dc485369d64ad19a3f30707b95d0dd488d1766ab9f5e75884b79e6464997eaafee119193a1fdd5ff8228aee0fa902e426eefa14a4ee +SHA512 (secilc-3.0-rc1.tar.gz) = fbc5472ecf301d50d3324f3021bf94edfd07a8dc5e7c38601a03ed0da96ce81773f8237a5a1387732e148b62f9c0761af2d289d4bceb137096659c89bdc0c625