public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: - adjust font detection rules for libmagic change (#757105)
@ 2026-11-23 9:27 Panu Matilainen
0 siblings, 0 replies; only message in thread
From: Panu Matilainen @ 2026-11-23 9:27 UTC (permalink / raw)
To: git-commits
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 9:27 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:27 [rpms/rpm] pmatilai-v6: - adjust font detection rules for libmagic change (#757105) Panu Matilainen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox