public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: - updated fontconfig provide script - fc-query does all the hard work now
@ 2026-11-23  9:25 Panu Matilainen
  0 siblings, 0 replies; only message in thread
From: Panu Matilainen @ 2026-11-23  9:25 UTC (permalink / raw)
  To: git-commits

A new commit has been pushed.

Repo   : rpms/rpm
Branch : pmatilai-v6
Commit : 0d875cb9bb56300134c5a312a391011bd30cb961
Author : Panu Matilainen <pmatilai@fedoraproject.org>
Date   : 2009-02-16T07:42:38+00:00
Stats  : +5/-20 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/rpm/c/0d875cb9bb56300134c5a312a391011bd30cb961?branch=pmatilai-v6

Log:
- updated fontconfig provide script - fc-query does all the hard work now

---
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 <pmatilai@redhat.com> - 4.6.0-3
+- updated fontconfig provide script - fc-query does all the hard work now
+
 * Mon Feb 09 2009 Panu Matilainen <pmatilai@redhat.com> - 4.6.0-2
 - build against db 4.7.x
 

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-23  9:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-23  9:25 [rpms/rpm] pmatilai-v6: - updated fontconfig provide script - fc-query does all the hard work now Panu Matilainen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox