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

This commit is contained in:
Miroslav Grepl 2014-01-20 11:24:03 +01:00
parent 93e99e4693
commit 5dcd635c58

View File

@ -117,6 +117,7 @@ SELinux policy development and man page package
%{_usr}/share/selinux/devel/include/* %{_usr}/share/selinux/devel/include/*
%dir %{_usr}/share/selinux/devel/html %dir %{_usr}/share/selinux/devel/html
%{_usr}/share/selinux/devel/html/*html %{_usr}/share/selinux/devel/html/*html
%{_usr}/share/selinux/devel/html/*css
%{_usr}/share/selinux/devel/Makefile %{_usr}/share/selinux/devel/Makefile
%{_usr}/share/selinux/devel/example.* %{_usr}/share/selinux/devel/example.*
%{_usr}/share/selinux/devel/policy.* %{_usr}/share/selinux/devel/policy.*
@ -388,6 +389,8 @@ chmod +x %{buildroot}%{_usr}/share/selinux/devel/policyhelp
mkdir %{buildroot}%{_usr}/share/selinux/devel/html mkdir %{buildroot}%{_usr}/share/selinux/devel/html
htmldir=`compgen -d %{buildroot}%{_usr}/share/man/man8/` htmldir=`compgen -d %{buildroot}%{_usr}/share/man/man8/`
mv ${htmldir}/* %{buildroot}%{_usr}/share/selinux/devel/html 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} rm -rf ${htmldir}
mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d mkdir -p %{buildroot}%{_rpmconfigdir}/macros.d