Revert "Temporary fix while creating manpages using sepolicy is broken."
This reverts commit fbdb6e98da.
Since policycoreutils-2.6-7, 'sepolicy manpage' should be again
reasonable fast.
			
			
This commit is contained in:
		
							parent
							
								
									f0d7feb11d
								
							
						
					
					
						commit
						0eccbd957d
					
				
							
								
								
									
										
											BIN
										
									
								
								manpages.tar.gz
									
									
									
									
									
								
							
							
						
						
									
										
											BIN
										
									
								
								manpages.tar.gz
									
									
									
									
									
								
							
										
											Binary file not shown.
										
									
								
							
										
											Binary file not shown.
										
									
								
							| @ -58,10 +58,6 @@ Source30: booleans.subs_dist | |||||||
| 
 | 
 | ||||||
| Source35: container-selinux.tgz | Source35: container-selinux.tgz | ||||||
| 
 | 
 | ||||||
| #Temporary fix generating manges while is rawhide userspace broken. |  | ||||||
| Source36: manpages.tar.gz |  | ||||||
| Source37: manpages_html.tar.gz |  | ||||||
| 
 |  | ||||||
| # Do a factory reset when there's no policy.kern file in a store | # Do a factory reset when there's no policy.kern file in a store | ||||||
| # http://bugzilla.redhat.com/1290659 | # http://bugzilla.redhat.com/1290659 | ||||||
| #Source100: selinux-factory-reset | #Source100: selinux-factory-reset | ||||||
| @ -430,8 +426,6 @@ rm -rf %{buildroot}%{_sharedstatedir}/selinux/minimum/active/modules/100/sandbox | |||||||
| %endif | %endif | ||||||
| 
 | 
 | ||||||
| mkdir -p %{buildroot}%{_mandir} | mkdir -p %{buildroot}%{_mandir} | ||||||
| mkdir -p %{buildroot}%{_mandir}/man8/ |  | ||||||
| tar -xf %{SOURCE36} -C %{buildroot}/usr/share/man/man8/ |  | ||||||
| cp -R  man/* %{buildroot}%{_mandir} | cp -R  man/* %{buildroot}%{_mandir} | ||||||
| make UNK_PERMS=allow NAME=targeted TYPE=mcs DISTRO=%{distro} UBAC=n DIRECT_INITRC=n MONOLITHIC=%{monolithic} DESTDIR=%{buildroot} PKGNAME=%{name} MLS_CATS=1024 MCS_CATS=1024 install-docs | make UNK_PERMS=allow NAME=targeted TYPE=mcs DISTRO=%{distro} UBAC=n DIRECT_INITRC=n MONOLITHIC=%{monolithic} DESTDIR=%{buildroot} PKGNAME=%{name} MLS_CATS=1024 MCS_CATS=1024 install-docs | ||||||
| make UNK_PERMS=allow NAME=targeted TYPE=mcs DISTRO=%{distro} UBAC=n DIRECT_INITRC=n MONOLITHIC=%{monolithic} DESTDIR=%{buildroot} PKGNAME=%{name} MLS_CATS=1024 MCS_CATS=1024 install-headers | make UNK_PERMS=allow NAME=targeted TYPE=mcs DISTRO=%{distro} UBAC=n DIRECT_INITRC=n MONOLITHIC=%{monolithic} DESTDIR=%{buildroot} PKGNAME=%{name} MLS_CATS=1024 MCS_CATS=1024 install-headers | ||||||
| @ -442,9 +436,8 @@ install -m 644 doc/example.* %{buildroot}%{_usr}/share/selinux/devel/ | |||||||
| install -m 644 doc/policy.* %{buildroot}%{_usr}/share/selinux/devel/ | install -m 644 doc/policy.* %{buildroot}%{_usr}/share/selinux/devel/ | ||||||
| echo  "xdg-open file:///usr/share/doc/selinux-policy/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 | chmod +x %{buildroot}%{_usr}/share/selinux/devel/policyhelp | ||||||
| #/usr/bin/sepolicy manpage -a -p %{buildroot}/usr/share/man/man8/ -w -r %{buildroot} | /usr/bin/sepolicy manpage -a -p %{buildroot}/usr/share/man/man8/ -w -r %{buildroot} | ||||||
| mkdir %{buildroot}%{_usr}/share/selinux/devel/html | mkdir %{buildroot}%{_usr}/share/selinux/devel/html | ||||||
| tar -xf %{SOURCE37} -C %{buildroot}/usr/share/man/man8/ |  | ||||||
| mv %{buildroot}%{_usr}/share/man/man8/*.html %{buildroot}%{_usr}/share/selinux/devel/html | mv %{buildroot}%{_usr}/share/man/man8/*.html %{buildroot}%{_usr}/share/selinux/devel/html | ||||||
| mv %{buildroot}%{_usr}/share/man/man8/style.css %{buildroot}%{_usr}/share/selinux/devel/html | mv %{buildroot}%{_usr}/share/man/man8/style.css %{buildroot}%{_usr}/share/selinux/devel/html | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user