From 5dcd635c58a0936671a333a0c661211f9bf426ee Mon Sep 17 00:00:00 2001 From: Miroslav Grepl Date: Mon, 20 Jan 2014 11:24:03 +0100 Subject: [PATCH] index.html and style.css should be in /usr/share/selinux/devel/htm --- selinux-policy.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/selinux-policy.spec b/selinux-policy.spec index 74e736aa..4a5392ff 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