From 2cc7283b72708af05c2600437f9068b410d935d5 Mon Sep 17 00:00:00 2001 From: Bo Ren Date: Mon, 18 Mar 2024 10:11:17 +0800 Subject: [PATCH] Fix build error Signed-off-by: Bo Ren --- setools.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/setools.spec b/setools.spec index bbb406f..d66ba30 100644 --- a/setools.spec +++ b/setools.spec @@ -22,6 +22,7 @@ BuildRequires: python3-Cython BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: libselinux-devel +BuildRequires: python3-rpm-macros # This package is need for Test BuildRequires: python3-pip python3-networkx checkpolicy @@ -107,7 +108,7 @@ The gui package for %{name}. %{_mandir}/ru/man1/seinfo* %{_mandir}/ru/man1/sesearch* %dir %{abidir} -%{abidir}/policyrep.cpython-310-%{_arch}-linux-gnu.dump +%{abidir}/policyrep.cpython-%{python3_version_nodots}-%{_arch}-linux-gnu.dump %files console-analyses %{_bindir}/sedta @@ -131,6 +132,7 @@ The gui package for %{name}. %changelog * Wed Mar 13 2024 Zhao Hang - 4.4.1-2 - Rebuild with python3.11 +- Fix build error * Mon Mar 20 2023 Feng Su - 4.4.1-1 - update to v4.4.1 -- Gitee