public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Panu Matilainen <pmatilai@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rpm] pmatilai-v6: - adjust font detection rules for libmagic change (#757105)
Date: Mon, 23 Nov 2026 09:27:26 GMT [thread overview]
Message-ID: <179542604642.1.17919951320345738391.rpms-rpm-52396413d2ab@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rpm
Branch : pmatilai-v6
Commit : 52396413d2abaf6e35927383a699f0679d49b27d
Author : Panu Matilainen <pmatilai@redhat.com>
Date : 2011-11-25T16:13:46+02:00
Stats : +22/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/52396413d2abaf6e35927383a699f0679d49b27d?branch=pmatilai-v6
Log:
- adjust font detection rules for libmagic change (#757105)
---
diff --git a/rpm-4.9.x-fontattr.patch b/rpm-4.9.x-fontattr.patch
new file mode 100644
index 0000000..efc8d97
--- /dev/null
+++ b/rpm-4.9.x-fontattr.patch
@@ -0,0 +1,15 @@
+commit fb30c0aac8b3da8c75a8cb1578a719ce38db59eb
+Author: Panu Matilainen <pmatilai@redhat.com>
+Date: Fri Nov 25 16:07:38 2011 +0200
+
+ Identify "font collection" (data etc) as fonts also (RhBug:757105)
+
+diff --git a/fileattrs/font.attr b/fileattrs/font.attr
+index 5c4c78f..8c19383 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 )?(text|data).*$
++%__font_magic ^.* [Ff]ont (program|collection )?(text|data).*$
diff --git a/rpm.spec b/rpm.spec
index e2721cd..658aca6 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -21,7 +21,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
-Release: %{?snapver:0.%{snapver}.}4%{?dist}
+Release: %{?snapver:0.%{snapver}.}5%{?dist}
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://rpm.org/releases/rpm-4.9.x/%{name}-%{srcver}.tar.bz2
@@ -42,6 +42,7 @@ Patch4: rpm-4.8.1-use-gpg2.patch
Patch5: rpm-4.9.0-armhfp.patch
# Patches already in upstream
+Patch100: rpm-4.9.x-fontattr.patch
# These are not yet upstream
Patch301: rpm-4.6.0-niagara.patch
@@ -215,6 +216,8 @@ packages on a system.
%patch3 -p1 -b .no-man-dirs
%patch4 -p1 -b .use-gpg2
+%patch100 -p1 -b .fontattr
+
%patch301 -p1 -b .niagara
%patch302 -p1 -b .geode
%patch303 -p1 -b .debuginfo-allnames
@@ -439,6 +442,9 @@ exit 0
%doc COPYING doc/librpm/html/*
%changelog
+* Fri Nov 25 2011 Panu Matilainen <pmatilai@redhat.com> - 4.9.1.2-5
+- adjust font detection rules for libmagic change (#757105)
+
* Wed Nov 09 2011 Dennis Gilmore <dennis@ausil.us> - 4.9.1.2-4
- conditionally apply arm patch for hardfp on all arches but arm softfp ones
reply other threads:[~2026-11-23 9:27 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=179542604642.1.17919951320345738391.rpms-rpm-52396413d2ab@fedoraproject.org \
--to=pmatilai@redhat.com \
--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