From 0ea841fd7d10cf7c86cc5653c117b542e3f13f3c Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Aug 06 2013 13:59:15 +0000 Subject: unversioned doc dir change --- diff --git a/selinux-policy.spec b/selinux-policy.spec index 5e39906..17160b9 100644 --- a/selinux-policy.spec +++ b/selinux-policy.spec @@ -109,7 +109,7 @@ SELinux policy documentation package %files doc %defattr(-,root,root,-) -%doc %{_usr}/share/doc/%{name}-%{version} +%doc %{_usr}/share/doc/%{name} %attr(755,root,root) %{_usr}/share/selinux/devel/policyhelp %define makeCmds() \ @@ -353,7 +353,7 @@ mv %{buildroot}%{_usr}/share/selinux/targeted/include %{buildroot}%{_usr}/share/ install -m 644 selinux_config/Makefile.devel %{buildroot}%{_usr}/share/selinux/devel/Makefile install -m 644 doc/example.* %{buildroot}%{_usr}/share/selinux/devel/ install -m 644 doc/policy.* %{buildroot}%{_usr}/share/selinux/devel/ -echo "xdg-open file:///usr/share/doc/selinux-policy-%{version}/html/index.html"> %{buildroot}%{_usr}/share/selinux/devel/policyhelp +echo "xdg-open file:///usr/share/doc/selinux-policy/html/index.html"> %{buildroot}%{_usr}/share/selinux/devel/policyhelp chmod +x %{buildroot}%{_usr}/share/selinux/devel/policyhelp /usr/bin/sepolicy manpage -a -p %{buildroot}/usr/share/man/man8/ -w -r %{buildroot} mkdir %{buildroot}%{_usr}/share/selinux/devel/html