public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: - prefer more specific types over generic "text" in classification
@ 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 : daefcbd3891e8297f65123d145e112e34c190c58
            Author : Panu Matilainen <pmatilai@fedoraproject.org>
            Date   : 2009-03-24T07:26:38+00:00
            Stats  : +27/-2 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/rpm/c/daefcbd3891e8297f65123d145e112e34c190c58?branch=pmatilai-v6

            Log:
            - prefer more specific types over generic "text" in classification
    (#491349)
- fix incorrect bug number in yesterdays changelog

---
diff --git a/rpm-4.7.0-rpmfc-order.patch b/rpm-4.7.0-rpmfc-order.patch
new file mode 100644
index 0000000..4056cf6
--- /dev/null
+++ b/rpm-4.7.0-rpmfc-order.patch
@@ -0,0 +1,20 @@
+diff --git a/build/rpmfc.c b/build/rpmfc.c
+index 7142a9a..1c2d42b 100644
+--- a/build/rpmfc.c
++++ b/build/rpmfc.c
+@@ -452,7 +452,6 @@ static const struct rpmfcTokens_s const rpmfcTokens[] = {
+   { "ELF 64-bit",		RPMFC_ELF64|RPMFC_INCLUDE },
+ 
+   { " script",			RPMFC_SCRIPT },
+-  { " text",			RPMFC_TEXT },
+   { " document",		RPMFC_DOCUMENT },
+ 
+   { " compressed",		RPMFC_COMPRESSED },
+@@ -510,6 +509,7 @@ static const struct rpmfcTokens_s const rpmfcTokens[] = {
+   { "symbolic link to",		RPMFC_SYMLINK },
+   { "socket",			RPMFC_DEVICE },
+   { "special",			RPMFC_DEVICE },
++  { " text",			RPMFC_TEXT },
+ 
+   { "ASCII",			RPMFC_WHITE },
+   { "ISO-8859",			RPMFC_WHITE },

diff --git a/rpm.spec b/rpm.spec
index 02b4aea..415681e 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -25,7 +25,7 @@
 Summary: The RPM package management system
 Name: rpm
 Version: %{rpmver}
-Release: 0.%{snapver}.6%{?dist}
+Release: 0.%{snapver}.7%{?dist}
 Group: System Environment/Base
 Url: http://www.rpm.org/
 Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
@@ -51,6 +51,7 @@ Patch204: rpm-4.7.0-rsa-v4.patch
 
 # These are not yet upstream
 Patch300: rpm-4.7.0-extra-provides.patch
+Patch301: rpm-4.7.0-rpmfc-order.patch
 
 # Partially GPL/LGPL dual-licensed and some bits with BSD
 # SourceLicense: (GPLv2+ and LGPLv2+ with exceptions) and BSD 
@@ -195,6 +196,7 @@ that will manipulate RPM packages and databases.
 %patch204 -p1 -b .rsa-v4
 
 %patch300 -p1 -b .extra-prov
+%patch301 -p1 -b .rpmfc-order
 
 %if %{with int_bdb}
 ln -s db-%{bdbver} db
@@ -400,11 +402,14 @@ exit 0
 %doc doc/librpm/html/*
 
 %changelog
+* Tue Mar 24 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.beta1.7
+- prefer more specific types over generic "text" in classification (#491349)
+
 * Mon Mar 23 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.beta1.6
 - with the fd leak gone, let libmagic look into compressed files again (#491596)
 
 * Mon Mar 23 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.beta1.5
-- fix font provide generation on filenames with whitespace (#491510)
+- fix font provide generation on filenames with whitespace (#491597)
 
 * Thu Mar 12 2009 Panu Matilainen <pmatilai@redhat.com> - 4.7.0-0.beta1.4
 - handle RSA V4 signatures (#436812)

^ 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: - prefer more specific types over generic "text" in classification Panu Matilainen

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