public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - updated fontconfig provide script - fc-query does all the hard work now
Date: Mon, 23 Nov 2026 09:25:34 GMT [thread overview]
Message-ID: <179542593472.1.17627931238069105091.rpms-rpm-0d875cb9bb56@fedoraproject.org> (raw)
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
reply other threads:[~2026-11-23 9:25 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179542593472.1.17627931238069105091.rpms-rpm-0d875cb9bb56@fedoraproject.org \
--to=pmatilai@fedoraproject.org \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox