diff --git a/checkpolicy-3.0.tar.gz b/checkpolicy-3.0.tar.gz deleted file mode 100644 index b0e4615..0000000 --- a/checkpolicy-3.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c88c719a141dd5c1202d49c378c7f063349d630522d5e04dc6e0c53da81aa4f8 -size 69037 diff --git a/checkpolicy-3.1.tar.gz b/checkpolicy-3.1.tar.gz new file mode 100644 index 0000000..fb2d30a --- /dev/null +++ b/checkpolicy-3.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dfc7707070520c93b14fbbdfdbe081364d806bf28e3e79e10318c2594c77bbb2 +size 69072 diff --git a/checkpolicy.changes b/checkpolicy.changes index 6bddcb5..592689a 100644 --- a/checkpolicy.changes +++ b/checkpolicy.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue Jul 14 08:31:15 UTC 2020 - Johannes Segitz + +- Update to version 3.1 + * checkpolicy treats invalid characters as an error - might break rare use + cases (intentionally) + * Drop extern_te_assert_t.patch, is upstream + ------------------------------------------------------------------- Tue Mar 3 12:19:40 UTC 2020 - Johannes Segitz diff --git a/checkpolicy.spec b/checkpolicy.spec index 7a7753f..b242bd6 100644 --- a/checkpolicy.spec +++ b/checkpolicy.spec @@ -16,17 +16,16 @@ # -%define libsepol_ver 3.0 +%define libsepol_ver 3.1 Name: checkpolicy -Version: 3.0 +Version: 3.1 Release: 0 Summary: SELinux policy compiler License: GPL-2.0-or-later Group: Productivity/Security URL: https://github.com/SELinuxProject/selinux -Source0: https://github.com/SELinuxProject/selinux/releases/download/20191204/%{name}-%{version}.tar.gz +Source0: https://github.com/SELinuxProject/selinux/releases/download/20200710/%{name}-%{version}.tar.gz Source1: checkpolicy-tests.tar.gz -Patch0: extern_te_assert_t.patch BuildRequires: bison BuildRequires: flex BuildRequires: libselinux-devel @@ -68,7 +67,6 @@ to use checkpolicy from Python. %prep %setup -q -%patch0 -p1 %build make clean diff --git a/extern_te_assert_t.patch b/extern_te_assert_t.patch deleted file mode 100644 index 7980fd1..0000000 --- a/extern_te_assert_t.patch +++ /dev/null @@ -1,13 +0,0 @@ -Index: checkpolicy-2.9/checkpolicy.h -=================================================================== ---- checkpolicy-2.9.orig/checkpolicy.h 2019-03-15 10:32:30.000000000 +0000 -+++ checkpolicy-2.9/checkpolicy.h 2020-01-15 14:23:04.742118559 +0000 -@@ -13,7 +13,7 @@ typedef struct te_assert { - struct te_assert *next; - } te_assert_t; - --te_assert_t *te_assertions; -+extern te_assert_t *te_assertions; - - extern unsigned int policyvers; -