summaryrefslogtreecommitdiff
path: root/macros.in
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2004-05-30 17:52:57 +0000
committerjbj <devnull@localhost>2004-05-30 17:52:57 +0000
commit99e2bddb673b2a8b2f4398b8cc1746cd1cfc2342 (patch)
treee107dfaa10a13c5592154745479966a0ab234691 /macros.in
parenta29bd9bb89f277602edcf115b7a388f281a0e04b (diff)
downloadlibrpm-tizen-99e2bddb673b2a8b2f4398b8cc1746cd1cfc2342.tar.gz
librpm-tizen-99e2bddb673b2a8b2f4398b8cc1746cd1cfc2342.tar.bz2
librpm-tizen-99e2bddb673b2a8b2f4398b8cc1746cd1cfc2342.zip
- use /etc/selinux/targeted/contexts/files/file_contexts for now.
- disable file contexts into package metadata during build. CVS patchset: 7280 CVS date: 2004/05/30 17:52:57
Diffstat (limited to 'macros.in')
-rw-r--r--macros.in17
1 files changed, 10 insertions, 7 deletions
diff --git a/macros.in b/macros.in
index 8a1737db1..a4f43251e 100644
--- a/macros.in
+++ b/macros.in
@@ -1,7 +1,7 @@
#/*! \page config_macros Default configuration: @RPMCONFIGDIR@/macros
# \verbatim
#
-# $Id: macros.in,v 1.149 2004/04/08 00:12:01 jbj Exp $
+# $Id: macros.in,v 1.150 2004/05/30 17:52:57 jbj Exp $
#
# This is a global RPM configuration file. All changes made here will
# be lost when the rpm package is upgraded. Any per-system configuration
@@ -327,25 +327,28 @@ package or when debugging this package.\
# Filter GLIBC_PRIVATE Provides: and Requires:
%_filter_GLIBC_PRIVATE 0
-# Path to selinux source policy file context patterns.
-%__file_context_path /etc/security/selinux/file_contexts
+# Desired selinux policy tree
+%__policy_tree targeted
+
+# Path to selinux file context patterns.
+%__file_context_path /etc/selinux/%{__policy_tree}/contexts/files/file_contexts
#
-# Path to selinux src policy file context patterns used to add
+# Path to selinux file context patterns used to add
# RPMTAG_FILECONTEXTS to packages when building.
#
# Undefined, missing or %{nil} will disable.
-%_build_file_context_path %{__file_context_path}
+%_build_file_context_path %{nil}
#
-# Path to selinux src policy file context patterns used to set
+# Path to selinux file context patterns used to set
# (or override package content) file contexts when installing.
#
# Undefined, missing or %{nil} will use package content (if available).
%_install_file_context_path %{__file_context_path}
#
-# Path to selinux src policy file context patterns used to verify
+# Path to selinux file context patterns used to verify
# file contexts on file system.
#
# Undefined, missing or %{nil} will use package content (if available).