[policycoreutils: 1/2] Allow manpages to be built on aarch64
Daniel J Walsh
dwalsh at fedoraproject.org
Mon Feb 24 16:47:52 UTC 2014
commit fec09b43106ac4a8c743be62e280897157eb906f
Author: Dan Walsh <dwalsh at redhat.com>
Date: Mon Feb 24 11:45:05 2014 -0500
Allow manpages to be built on aarch64
policycoreutils-rhat.patch | 13 ++++++++++---
policycoreutils.spec | 5 ++++-
2 files changed, 14 insertions(+), 4 deletions(-)
---
diff --git a/policycoreutils-rhat.patch b/policycoreutils-rhat.patch
index aaa61b0..26708bb 100644
--- a/policycoreutils-rhat.patch
+++ b/policycoreutils-rhat.patch
@@ -663730,7 +663730,7 @@ index 74fb347..adb6ca5 100755
+ print("Out")
sys.exit(0)
diff --git a/policycoreutils/sepolicy/sepolicy/__init__.py b/policycoreutils/sepolicy/sepolicy/__init__.py
-index fd95c16..7ef8adf 100644
+index fd95c16..3b90579 100644
--- a/policycoreutils/sepolicy/sepolicy/__init__.py
+++ b/policycoreutils/sepolicy/sepolicy/__init__.py
@@ -3,23 +3,27 @@
@@ -664054,7 +664054,7 @@ index fd95c16..7ef8adf 100644
pass
return booleans_dict
-@@ -841,12 +884,13 @@ def get_os_version():
+@@ -841,17 +884,20 @@ def get_os_version():
os_version = ""
pkg_name = "selinux-policy"
try:
@@ -664074,7 +664074,14 @@ index fd95c16..7ef8adf 100644
if os_version[0:2] == "fc":
os_version = "Fedora"+os_version[2:]
-@@ -868,7 +912,7 @@ def reinit():
+ elif os_version[0:2] == "el":
+ os_version = "RHEL"+os_version[2:]
++ elif os_version[0:2] == "sa":
++ os_version = "RHEL"+os_version[2:]
+ else:
+ os_version = ""
+
+@@ -868,7 +914,7 @@ def reinit():
global file_types
global local_files
global methods
diff --git a/policycoreutils.spec b/policycoreutils.spec
index c1a2e5d..a010be0 100644
--- a/policycoreutils.spec
+++ b/policycoreutils.spec
@@ -7,7 +7,7 @@
Summary: SELinux policy core utilities
Name: policycoreutils
Version: 2.2.5
-Release: 6%{?dist}
+Release: 7%{?dist}
License: GPLv2
Group: System Environment/Base
# Based on git repository with tag 20101221
@@ -383,6 +383,9 @@ The policycoreutils-restorecond package contains the restorecond service.
%systemd_postun_with_restart restorecond.service
%changelog
+* Fri Feb 14 2014 Dan Walsh <dwalsh at redhat.com> - 2.2.5-7
+- Allow manpages to be built on aarch64
+
* Fri Feb 14 2014 Dan Walsh <dwalsh at redhat.com> - 2.2.5-6
- Don't be verbose in fixfiles if there is not tty
More information about the scm-commits
mailing list