summaryrefslogtreecommitdiff
path: root/fileattrs
diff options
context:
space:
mode:
authorPanu Matilainen <pmatilai@redhat.com>2012-05-07 14:51:32 +0300
committerPanu Matilainen <pmatilai@redhat.com>2012-05-07 14:54:13 +0300
commit49e398278fd75996909e99c0cec7667b0f8d55be (patch)
treef6675539922655621497c02976f5b96360cde338 /fileattrs
parentbb335292d30893eb88bdf47f166e254fa7abe37e (diff)
downloadlibrpm-tizen-49e398278fd75996909e99c0cec7667b0f8d55be.tar.gz
librpm-tizen-49e398278fd75996909e99c0cec7667b0f8d55be.tar.bz2
librpm-tizen-49e398278fd75996909e99c0cec7667b0f8d55be.zip
Tweak font magic regex a bit (yet again)
- Lose the pointless begin/end restrictions, take the optional space into account for both optional parts (one of the later issues in RhBug:757105)
Diffstat (limited to 'fileattrs')
-rw-r--r--fileattrs/font.attr2
1 files changed, 1 insertions, 1 deletions
diff --git a/fileattrs/font.attr b/fileattrs/font.attr
index 8c19383c4..e908b805b 100644
--- a/fileattrs/font.attr
+++ b/fileattrs/font.attr
@@ -1,3 +1,3 @@
%__font_provides %{_rpmconfigdir}/fontconfig.prov
%__font_requires %{nil}
-%__font_magic ^.* [Ff]ont (program|collection )?(text|data).*$
+%__font_magic [Ff]ont?( (program|collection))?( (text|data))