Allow manpages to be built on aarch64

This commit is contained in:
Dan Walsh 2014-02-24 11:45:05 -05:00
parent f17032379c
commit fec09b4310
2 changed files with 14 additions and 4 deletions

View File

@ -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

View File

@ -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@redhat.com> - 2.2.5-7
- Allow manpages to be built on aarch64
* Fri Feb 14 2014 Dan Walsh <dwalsh@redhat.com> - 2.2.5-6
- Don't be verbose in fixfiles if there is not tty