[selinux-policy] index.html and style.css should be in /usr/share/selinux/devel/htm

Miroslav Grepl mgrepl at fedoraproject.org
Mon Jan 20 10:23:53 UTC 2014


commit 5dcd635c58a0936671a333a0c661211f9bf426ee
Author: Miroslav Grepl <mgrepl at redhat.com>
Date:   Mon Jan 20 11:24:03 2014 +0100

    index.html and style.css should be in /usr/share/selinux/devel/htm

 selinux-policy.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/selinux-policy.spec b/selinux-policy.spec
index 74e736a..4a5392f 100644
--- a/selinux-policy.spec
+++ b/selinux-policy.spec
@@ -117,6 +117,7 @@ SELinux policy development and man page package
 %{_usr}/share/selinux/devel/include/*
 %dir %{_usr}/share/selinux/devel/html
 %{_usr}/share/selinux/devel/html/*html
+%{_usr}/share/selinux/devel/html/*css
 %{_usr}/share/selinux/devel/Makefile
 %{_usr}/share/selinux/devel/example.*
 %{_usr}/share/selinux/devel/policy.*
@@ -388,6 +389,8 @@ chmod +x %{buildroot}%{_usr}/share/selinux/devel/policyhelp
 mkdir %{buildroot}%{_usr}/share/selinux/devel/html
 htmldir=`compgen -d %{buildroot}%{_usr}/share/man/man8/`
 mv ${htmldir}/* %{buildroot}%{_usr}/share/selinux/devel/html
+mv %{buildroot}%{_usr}/share/man/man8/index.html %{buildroot}%{_usr}/share/selinux/devel/html
+mv %{buildroot}%{_usr}/share/man/man8/style.css %{buildroot}%{_usr}/share/selinux/devel/html
 rm -rf ${htmldir}
 
 mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d


More information about the scm-commits mailing list