diff --git a/fontconfig.prov b/fontconfig.prov index 79e0825..1753ba1 100755 --- a/fontconfig.prov +++ b/fontconfig.prov @@ -16,22 +16,4 @@ fcquery=/usr/bin/fc-query # filter out anything outside main fontconfig path grep /usr/share/fonts/ | -xargs $fcquery --format '%{family}\n:lang=%{lang}\n' 2> /dev/null | -while read line; do - case $line in - :lang=*) - langs=${line#:lang=} - OLDIFS=$IFS - IFS='|' - for lang in $langs; do - echo :lang=$lang - done - IFS=$OLDIFS - ;; - *) - echo "$line" | tr 'A-Z_' 'a-z-' | tr -d -c 'a-z0-9-\n' - ;; - esac -done | -sed 's/\(.*\)/Font(\1)/' | -sort -u +xargs $fcquery --format '%{=pkgkit}' 2> /dev/null diff --git a/rpm.spec b/rpm.spec index 8bb1f48..5da42ff 100644 --- a/rpm.spec +++ b/rpm.spec @@ -18,7 +18,7 @@ Summary: The RPM package management system Name: rpm Version: %{rpmver} -Release: 2%{?dist} +Release: 3%{?dist} Group: System Environment/Base Url: http://www.rpm.org/ Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2 @@ -373,6 +373,9 @@ exit 0 %doc doc/librpm/html/* %changelog +* Mon Feb 16 2009 Panu Matilainen - 4.6.0-3 +- updated fontconfig provide script - fc-query does all the hard work now + * Mon Feb 09 2009 Panu Matilainen - 4.6.0-2 - build against db 4.7.x