From 5891e260ee940df5804fc6a2233226d76add635b Mon Sep 17 00:00:00 2001 From: Petr Lautrbach Date: Tue, 21 Jul 2020 20:29:09 +0200 Subject: [PATCH] Use -fno-semantic-interposition another make macros and cleanup --- libsemanage.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libsemanage.spec b/libsemanage.spec index d58e07d..18e44ac 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -79,6 +79,7 @@ SELinux management applications. %build %set_build_flags +CFLAGS="$CFLAGS -fno-semantic-interposition" # To support building the Python wrapper against multiple Python runtimes # Define a function, for how to perform a "build" of the python wrapper against @@ -95,7 +96,7 @@ BuildPythonWrapper() { make clean make swigify -make LIBDIR="%{_libdir}" SHLIBDIR="%{_lib}" all +%make_build LIBDIR="%{_libdir}" SHLIBDIR="%{_lib}" all BuildPythonWrapper \ %{__python3} @@ -123,8 +124,6 @@ InstallPythonWrapper \ cp %{SOURCE1} ${RPM_BUILD_ROOT}/etc/selinux/semanage.conf ln -sf %{_libdir}/libsemanage.so.1 ${RPM_BUILD_ROOT}/%{_libdir}/libsemanage.so -sed -i '1s%\(#! */usr/bin/python\)\([^3].*\|\)$%\13\2%' %{buildroot}%{_libexecdir}/selinux/semanage_migrate_store - %files %{!?_licensedir:%global license %%doc} %license COPYING @@ -159,6 +158,7 @@ sed -i '1s%\(#! */usr/bin/python\)\([^3].*\|\)$%\13\2%' %{buildroot}%{_libexecdi * Mon Jul 13 2020 Tom Stellard - 3.1-2 - Use make macros - https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro +- Use -fno-semantic-interposition and more make macros * Fri Jul 10 2020 Petr Lautrbach - 3.1-1 - SELinux userspace 3.1 release