From e5e66116f84cb569eced70c650f5e4f102a88774aa4da0ec1f313cc6e5f61226 Mon Sep 17 00:00:00 2001 From: Johannes Segitz Date: Tue, 2 Jun 2020 15:32:28 +0000 Subject: [PATCH] Accepting request 810879 from home:jsegitz:branches:security:SELinux - Apply suse_path.patch only for older distributions. Newer use libexec - Apply suse_path.patch only for older distributions. Newer use libexec OBS-URL: https://build.opensuse.org/request/show/810879 OBS-URL: https://build.opensuse.org/package/show/security:SELinux/libsemanage?expand=0&rev=79 --- libsemanage.changes | 6 ++++++ libsemanage.spec | 2 ++ python-semanage.changes | 6 ++++++ python-semanage.spec | 2 ++ 4 files changed, 16 insertions(+) diff --git a/libsemanage.changes b/libsemanage.changes index d81e1fd..11f8e29 100644 --- a/libsemanage.changes +++ b/libsemanage.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri May 29 12:51:17 UTC 2020 - Johannes Segitz + +- Apply suse_path.patch only for older distributions. Newer + use libexec + ------------------------------------------------------------------- Tue Mar 3 12:23:51 UTC 2020 - Johannes Segitz diff --git a/libsemanage.spec b/libsemanage.spec index 6d414ba..a8da903 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -91,7 +91,9 @@ stores must be migrated before any commands that modify or use the store %prep %setup -q +%if 0%{?suse_version} < 1550 %patch0 +%endif %build %define _lto_cflags %{nil} diff --git a/python-semanage.changes b/python-semanage.changes index bf94a06..06fc867 100644 --- a/python-semanage.changes +++ b/python-semanage.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri May 29 12:51:17 UTC 2020 - Johannes Segitz + +- Apply suse_path.patch only for older distributions. Newer + use libexec + ------------------------------------------------------------------- Tue Mar 3 12:23:51 UTC 2020 - Johannes Segitz diff --git a/python-semanage.spec b/python-semanage.spec index 7d82b28..7f43e60 100644 --- a/python-semanage.spec +++ b/python-semanage.spec @@ -47,7 +47,9 @@ SELinux policy management applications. %prep %setup -q -n libsemanage-%{version} +%if 0%{?suse_version} < 1550 %patch0 +%endif %build %define _lto_cflags %{nil}