Blame rpm-4.5.90-mono-magic.patch
|
Panu Matilainen |
7c8e00 |
commit b3bd21e9f07272a37c2259070f95b167e6301c79
|
|
Panu Matilainen |
7c8e00 |
Author: Panu Matilainen <pmatilai@redhat.com>
|
|
Panu Matilainen |
7c8e00 |
Date: Mon Jul 14 11:53:10 2008 +0300
|
|
Panu Matilainen |
7c8e00 |
|
|
Panu Matilainen |
7c8e00 |
Fix mono dependency extraction
|
|
Panu Matilainen |
7c8e00 |
- use "Mono/.Net assembly" instead of "PE executable" for detection,
|
|
Panu Matilainen |
7c8e00 |
later file reports bitness (eg "PE32 executable"), we just care if its
|
|
Panu Matilainen |
7c8e00 |
mono or not. This is compatible with older libmagic too.
|
|
Panu Matilainen |
7c8e00 |
|
|
Panu Matilainen |
7c8e00 |
diff --git a/build/rpmfc.c b/build/rpmfc.c
|
|
Panu Matilainen |
7c8e00 |
index 3cc2d6d..6f15b2c 100644
|
|
Panu Matilainen |
7c8e00 |
--- a/build/rpmfc.c
|
|
Panu Matilainen |
7c8e00 |
+++ b/build/rpmfc.c
|
|
Panu Matilainen |
7c8e00 |
@@ -490,7 +490,7 @@ static const struct rpmfcTokens_s const rpmfcTokens[] = {
|
|
Panu Matilainen |
7c8e00 |
|
|
Panu Matilainen |
7c8e00 |
/* XXX .NET executables and libraries. file(1) cannot differ from win32
|
|
Panu Matilainen |
7c8e00 |
* executables unfortunately :( */
|
|
Panu Matilainen |
7c8e00 |
- { "PE executable", RPMFC_MONO|RPMFC_INCLUDE },
|
|
Panu Matilainen |
7c8e00 |
+ { "Mono/.Net assembly", RPMFC_MONO|RPMFC_INCLUDE },
|
|
Panu Matilainen |
7c8e00 |
|
|
Panu Matilainen |
7c8e00 |
{ "current ar archive", RPMFC_STATIC|RPMFC_LIBRARY|RPMFC_ARCHIVE|RPMFC_INCLUDE },
|
|
Panu Matilainen |
7c8e00 |
|