SPECS: policy.spec - pass on TYPE

zbyniu zbyniu at pld-linux.org
Mon Apr 17 19:05:29 CEST 2006


Author: zbyniu                       Date: Mon Apr 17 17:05:29 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pass on TYPE

---- Files affected:
SPECS:
   policy.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: SPECS/policy.spec
diff -u SPECS/policy.spec:1.26 SPECS/policy.spec:1.27
--- SPECS/policy.spec:1.26	Thu Dec 22 22:28:04 2005
+++ SPECS/policy.spec	Mon Apr 17 19:05:24 2006
@@ -94,8 +94,8 @@
 mv -f domains/program/{dpk*,gatekeeper*,qmail*,nx_server*} domains/program/unused
 
 %build
-%{__make} file_contexts/file_contexts
-%{__make} policy
+%{__make} TYPE=%{poltype} file_contexts/file_contexts
+%{__make} TYPE=%{poltype} policy
 
 %if %{with selinux24}
 # for 2.4.26+selinux or <=2.6.5
@@ -107,6 +107,7 @@
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install install-src \
+	TYPE=%{poltype} \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %if %{with selinux24}
@@ -128,7 +129,7 @@
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/selinux/%{poltype}/contexts/*_context*
 %dir %{_sysconfdir}/selinux/%{poltype}/contexts/files
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/selinux/%{poltype}/contexts/files/file_contexts
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/selinux/%{poltype}/contexts/files/file_contexts.homedirs
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/selinux/%{poltype}/contexts/files/homedir_template
 %{_sysconfdir}/selinux/%{poltype}/contexts/files/homedir_template
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/selinux/%{poltype}/contexts/files/media
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/selinux/%{poltype}/contexts/port_types
@@ -160,6 +161,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2006/04/17 17:05:24  zbyniu
+- pass on TYPE
+
 Revision 1.26  2005/12/22 21:28:04  qboosh
 - updated to 1.28, updated postfix,apache patches
 - old policy.15 moved to bcond
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/policy.spec?r1=1.26&r2=1.27&f=u



More information about the pld-cvs-commit mailing list