SPECS: policy.spec - another way

shadzik shadzik at pld-linux.org
Mon Sep 1 18:41:58 CEST 2008


Author: shadzik                      Date: Mon Sep  1 16:41:58 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- another way

---- Files affected:
SPECS:
   policy.spec (1.31 -> 1.32) 

---- Diffs:

================================================================
Index: SPECS/policy.spec
diff -u SPECS/policy.spec:1.31 SPECS/policy.spec:1.32
--- SPECS/policy.spec:1.31	Mon Sep  1 18:33:39 2008
+++ SPECS/policy.spec	Mon Sep  1 18:41:53 2008
@@ -19,6 +19,7 @@
 Patch3:		%{name}-login.patch
 Patch4:		%{name}-mgetty.patch
 Patch5:		%{name}-apache.patch
+Patch6:		%{name}-Makefile.patch
 BuildRequires:	checkpolicy >= 1.28
 BuildRequires:	policycoreutils >= 1.28
 BuildRequires:	m4
@@ -86,6 +87,7 @@
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p0
 
 find . -name '*.orig' | xargs -r rm -f
 
@@ -95,12 +97,11 @@
 
 %build
 %{__make} TYPE=%{poltype} file_contexts/file_contexts
-%{__make} TYPE=%{poltype} policy SBINDIR=/sbin
+%{__make} TYPE=%{poltype} policy
 
 %if %{with selinux24}
 # for 2.4.26+selinux or <=2.6.5
 %{__make} policy \
-	SBINDIR=/sbin \
 	POLICYCOMPAT="-c 15"
 %endif
 
@@ -109,7 +110,6 @@
 
 %{__make} install install-src \
 	TYPE=%{poltype} \
-	SBINDIR=/sbin \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %if %{with selinux24}
@@ -162,6 +162,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.32  2008/09/01 16:41:53  shadzik
+- another way
+
 Revision 1.31  2008/09/01 16:33:39  shadzik
 - fix setfiles path
 - rel 2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/policy.spec?r1=1.31&r2=1.32&f=u



More information about the pld-cvs-commit mailing list