summaryrefslogtreecommitdiff
path: root/macros.in
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2010-12-10 11:53:45 +0200
committerPanu Matilainen <pmatilai@redhat.com>2010-12-10 12:00:50 +0200
commitf5a657112a8f9a107314dcd02767146e64953abe (patch)
treec793c5c2f330f86e70a3e22935947318161fd015 /macros.in
parent17445a390a8686de6d1532b03cd4dc8314850dd3 (diff)
downloadlibrpm-tizen-f5a657112a8f9a107314dcd02767146e64953abe.tar.gz
librpm-tizen-f5a657112a8f9a107314dcd02767146e64953abe.tar.bz2
librpm-tizen-f5a657112a8f9a107314dcd02767146e64953abe.zip
Support excluding by path or magic in file classification
- %__foo_exclude_pattern and %__foo_exclude_magic regex'es now allow excluding attributes that would otherwise match.
Diffstat (limited to 'macros.in')
-rw-r--r--macros.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/macros.in b/macros.in
index e1514168b..aba3647fb 100644
--- a/macros.in
+++ b/macros.in
@@ -489,7 +489,9 @@ print (t)\
# %__myattr_provides path + args to provides finder script for <myattr>
# %__myattr_magic libmagic classification match regex
# %__myattr_pattern path based classification match regex
-# %__myattr_exeonly require file to be executable to classify
+# %__myattr_flags flags to control behavior (just "exeonly" for now)
+# %__myattr_exclude_magic exclude by magic regex
+# %__myattr_exclude_pattern exclude by path regex
#
%_fileattrsdir %{_rpmconfigdir}/fileattrs