[packages/libsemanage] - updated to 3.11
qboosh
qboosh at pld-linux.org
Mon Jul 13 21:19:50 CEST 2026
commit 90f4ae68356ca5c03c9bb33eca5ef26ca8395a65
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Jul 13 21:19:53 2026 +0200
- updated to 3.11
libsemanage-libexecdir.patch | 14 +++++++-------
libsemanage.spec | 6 +++---
2 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/libsemanage.spec b/libsemanage.spec
index 8cfc8de..af576b6 100644
--- a/libsemanage.spec
+++ b/libsemanage.spec
@@ -2,17 +2,17 @@
# Conditional build:
%bcond_without python # Python 3 bindings
#
-%define selinux_ver 3.10
+%define selinux_ver 3.11
Summary: An interface for SELinux management
Summary(pl.UTF-8): Interfejs do zarządzania SELinuksem
Name: libsemanage
-Version: 3.10
+Version: 3.11
Release: 1
License: LGPL v2.1+
Group: Libraries
#Source0Download: https://github.com/SELinuxProject/selinux/wiki/Releases
Source0: https://github.com/SELinuxProject/selinux/releases/download/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: fc210165ede52547ebf3d9dfa0d66f50
+# Source0-md5: d1948effd9060dd1f300dc4e3ca096e4
Patch0: %{name}-libexecdir.patch
URL: https://github.com/SELinuxProject/selinux/wiki
BuildRequires: audit-libs-devel
diff --git a/libsemanage-libexecdir.patch b/libsemanage-libexecdir.patch
index 2e4267c..be2854d 100644
--- a/libsemanage-libexecdir.patch
+++ b/libsemanage-libexecdir.patch
@@ -1,14 +1,14 @@
---- libsemanage-3.10/src/conf-parse.y.orig 2026-02-02 03:01:16.000000000 +0100
-+++ libsemanage-3.10/src/conf-parse.y 2026-04-23 21:21:09.023119399 +0200
-@@ -401,7 +401,7 @@ static int semanage_conf_init(semanage_c
- }
- conf->ignoredirs = NULL;
+--- libsemanage-3.11/src/conf-parse.y.orig 2026-07-01 18:51:05.000000000 +0200
++++ libsemanage-3.11/src/conf-parse.y 2026-07-13 20:39:02.645879916 +0200
+@@ -409,7 +409,7 @@
conf->store_root_path = strdup("/var/lib/selinux");
+ if (!conf->store_root_path)
+ return -1;
- conf->compiler_directory_path = strdup("/usr/libexec/selinux/hll");
+ conf->compiler_directory_path = strdup(LIBEXECDIR "/selinux/hll");
+ if (!conf->compiler_directory_path)
+ return -1;
conf->policyvers = sepol_policy_kern_vers_max();
- conf->target_platform = SEPOL_TARGET_SELINUX;
- conf->expand_check = 1;
--- libsemanage-3.10/src/Makefile.orig 2026-02-02 03:01:16.000000000 +0100
+++ libsemanage-3.10/src/Makefile 2026-04-23 21:22:06.306142404 +0200
@@ -10,6 +10,7 @@ PKG_CONFIG ?= pkg-config
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libsemanage.git/commitdiff/90f4ae68356ca5c03c9bb33eca5ef26ca8395a65
More information about the pld-cvs-commit
mailing list