diff --git a/utils/setools/Makefile b/utils/setools/Makefile index dbfb5d298e..8b1b2eb8bd 100644 --- a/utils/setools/Makefile +++ b/utils/setools/Makefile @@ -6,12 +6,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=setools -PKG_VERSION:=4.3.0 -PKG_RELEASE:=3 +PKG_VERSION:=4.4.0 +PKG_RELEASE:=$(AUTORELEASE) PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=https://github.com/SELinuxProject/setools/releases/download/4.3.0 -PKG_HASH:=315df3ae0eb29b399123c5e3330480c5d1c0da038671c9fd62a439c49a6f9105 +PKG_SOURCE_URL:=https://github.com/SELinuxProject/setools/releases/download/$(PKG_VERSION) +PKG_HASH:=f3786677e40b7f16a226f48f233dcf835e700739614a7dbed2ff61cc9607814e PKG_BUILD_DIR:=$(BUILD_DIR)/setools HOST_PYTHON3_PACKAGE_BUILD_DEPENDS:=Cython # Cython>=0.27 diff --git a/utils/setools/patches/010-no-format.patch b/utils/setools/patches/010-no-format.patch deleted file mode 100644 index 939959f659..0000000000 --- a/utils/setools/patches/010-no-format.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/setup.py -+++ b/setup.py -@@ -109,7 +109,6 @@ ext_py_mods = [Extension('setools.policy - extra_compile_args=['-Werror', '-Wextra', - '-Waggregate-return', - '-Wfloat-equal', -- '-Wformat', '-Wformat=2', - '-Winit-self', - '-Wmissing-format-attribute', - '-Wmissing-include-dirs', diff --git a/utils/setools/patches/020-no-deprecated.patch b/utils/setools/patches/020-no-deprecated.patch deleted file mode 100644 index cf3b0e2fe1..0000000000 --- a/utils/setools/patches/020-no-deprecated.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/setup.py -+++ b/setup.py -@@ -125,6 +125,7 @@ ext_py_mods = [Extension('setools.policy - '-Wno-unreachable-code', - '-Wno-implicit-fallthrough', - '-Wno-cast-function-type', -+ '-Wno-deprecated-declarations', - '-fno-exceptions'])] - - installed_data = [('share/man/man1', glob.glob("man/*.1"))]