public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/rpm] pmatilai-v6: - fix mono dependency extraction (adjust for libmagic string change)
@ 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 : 7c8e00941a16463e1f34ead484512fa295b91099
Author : Panu Matilainen <pmatilai@fedoraproject.org>
Date : 2008-07-14T08:59:41+00:00
Stats : +31/-1 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/rpm/c/7c8e00941a16463e1f34ead484512fa295b91099?branch=pmatilai-v6
Log:
- fix mono dependency extraction (adjust for libmagic string change)
---
diff --git a/rpm-4.5.90-mono-magic.patch b/rpm-4.5.90-mono-magic.patch
new file mode 100644
index 0000000..dfde3c1
--- /dev/null
+++ b/rpm-4.5.90-mono-magic.patch
@@ -0,0 +1,22 @@
+commit b3bd21e9f07272a37c2259070f95b167e6301c79
+Author: Panu Matilainen <pmatilai@redhat.com>
+Date: Mon Jul 14 11:53:10 2008 +0300
+
+ Fix mono dependency extraction
+ - use "Mono/.Net assembly" instead of "PE executable" for detection,
+ later file reports bitness (eg "PE32 executable"), we just care if its
+ mono or not. This is compatible with older libmagic too.
+
+diff --git a/build/rpmfc.c b/build/rpmfc.c
+index 3cc2d6d..6f15b2c 100644
+--- a/build/rpmfc.c
++++ b/build/rpmfc.c
+@@ -490,7 +490,7 @@ static const struct rpmfcTokens_s const rpmfcTokens[] = {
+
+ /* XXX .NET executables and libraries. file(1) cannot differ from win32
+ * executables unfortunately :( */
+- { "PE executable", RPMFC_MONO|RPMFC_INCLUDE },
++ { "Mono/.Net assembly", RPMFC_MONO|RPMFC_INCLUDE },
+
+ { "current ar archive", RPMFC_STATIC|RPMFC_LIBRARY|RPMFC_ARCHIVE|RPMFC_INCLUDE },
+
diff --git a/rpm.spec b/rpm.spec
index 5141eaa..0f295ef 100644
--- a/rpm.spec
+++ b/rpm.spec
@@ -18,7 +18,7 @@
Summary: The RPM package management system
Name: rpm
Version: %{rpmver}
-Release: 0.%{snapver}.6
+Release: 0.%{snapver}.7
Group: System Environment/Base
Url: http://www.rpm.org/
Source0: http://rpm.org/releases/testing/%{name}-%{srcver}.tar.bz2
@@ -31,7 +31,9 @@ Patch1: rpm-4.5.90-pkgconfig-path.patch
# XXX only create provides for pkgconfig and libtool initially
Patch100: rpm-4.6.x-no-pkgconfig-reqs.patch
+# These are already upstream, drop on next snapshot update:
Patch200: rpm-4.5.90-digestlen.patch
+Patch201: rpm-4.5.90-mono-magic.patch
# Partially GPL/LGPL dual-licensed and some bits with BSD
# SourceLicense: (GPLv2+ and LGPLv2+ with exceptions) and BSD
@@ -158,7 +160,9 @@ that will manipulate RPM packages and databases.
%patch0 -p1 -b .devel-autodep
%patch1 -p1 -b .pkgconfig-path
%patch100 -p1 -b .pkgconfig-deps
+
%patch200 -p1 -b .diglen
+%patch201 -p1 -b .mono-magic
%if %{with int_bdb}
ln -s db-%{bdbver} db
@@ -334,6 +338,10 @@ exit 0
%doc doc/librpm/html/*
%changelog
+* Mon Jul 14 2008 Panu Matilainen <pmatilai@redhat.com>
+- 4.5.90-0.git8426.7
+- fix mono dependency extraction (adjust for libmagic string change)
+
* Sat Jul 12 2008 Panu Matilainen <pmatilai@redhat.com>
- 4.5.90-0.git8426.6
- fix type mismatch causing funky breakage on ppc64
^ 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: - fix mono dependency extraction (adjust for libmagic string change) Panu Matilainen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox