---- rpm-4.4.8/lib/rpmfc.c.orig 2005-11-19 01:11:00.884392480 +0100
-+++ rpm-4.4.8/lib/rpmfc.c 2005-11-19 01:13:08.489993480 +0100
-@@ -539,6 +539,10 @@
-
+diff -urN rpm-4.5/lib/rpmfc.c rpm-4.5.new/lib/rpmfc.c
+--- rpm-4.5/lib/rpmfc.c 2008-11-09 15:05:53.000000000 +0100
++++ rpm-4.5.new/lib/rpmfc.c 2008-11-09 15:07:53.000000000 +0100
+@@ -555,6 +555,7 @@
{ "Java ", RPMFC_JAVA|RPMFC_INCLUDE },
-+ /* .NET executables and libraries. file(1) cannot differ it from native win32 executables unfortunatelly */
-+ { "PE executable", RPMFC_MONO|RPMFC_INCLUDE },
-+ { "executable PE", RPMFC_MONO|RPMFC_INCLUDE },
-+
- { "current ar archive", RPMFC_STATIC|RPMFC_LIBRARY|RPMFC_ARCHIVE|RPMFC_INCLUDE },
-
- { "Zip archive data", RPMFC_COMPRESSED|RPMFC_ARCHIVE|RPMFC_INCLUDE },
-@@ -900,6 +904,35 @@
- }
-
- /**
-+ * Extract .NET dependencies.
-+ * @param fc file classifier
-+ * @return 0 on success
-+ */
-+static int rpmfcMONO(rpmfc fc)
-+ /*@globals rpmGlobalMacroContext, h_errno, fileSystem, internalState @*/
-+ /*@modifies fc, rpmGlobalMacroContext, fileSystem, internalState @*/
-+{
-+ const char * fn = fc->fn[fc->ix];
-+ FILE * fp;
-+ int xx;
-+
-+ fp = fopen(fn, "r");
-+ if (fp == NULL || ferror(fp)) {
-+ if (fp) (void) fclose(fp);
-+ return -1;
-+ }
-+
-+ (void) fclose(fp);
-+
-+ if (fc->findprov)
-+ xx = rpmfcHelper(fc, 'P', "mono", fc->noautoprov, fc->noautoprov_c);
-+ if (fc->findreq)
-+ xx = rpmfcHelper(fc, 'R', "mono", fc->noautoreq, fc->noautoreq_c);
-+
-+ return 0;
-+}
-+
-+/**
- * Extract Elf dependencies.
- * @param fc file classifier
- * @return 0 on success
-@@ -931,6 +963,7 @@
- static struct rpmfcApplyTbl_s rpmfcApplyTable[] = {
- { rpmfcELF, RPMFC_ELF },
- { rpmfcSCRIPT, (RPMFC_SCRIPT|RPMFC_PERL|RPMFC_PYTHON|RPMFC_LIBTOOL|RPMFC_PKGCONFIG|RPMFC_BOURNE|RPMFC_JAVA|RPMFC_PHP) },
-+ { rpmfcMONO, RPMFC_MONO },
- { NULL, 0 }
- };
-
---- rpm-4.4.8./lib/rpmfc.h 2005-08-11 13:11:54.000000000 +0200
-+++ rpm-4.4.8/lib/rpmfc.h 2005-08-11 14:10:33.000000000 +0200
-@@ -78,6 +78,7 @@
- RPMFC_PYTHON = (1 << 26),
- RPMFC_PHP = (1 << 27),
- RPMFC_TCL = (1 << 28),
-+ RPMFC_MONO = (1 << 6),
-
- RPMFC_WHITE = (1 << 29),
- RPMFC_INCLUDE = (1 << 30),
-diff -ruN rpm-4.4.2./macros.in rpm-4.4.2/macros.in
---- rpm-4.4.2./macros.in 2005-08-11 13:11:54.000000000 +0200
-+++ rpm-4.4.2/macros.in 2005-08-11 17:20:46.276790376 +0200
-@@ -443,6 +443,9 @@
- %__python_provides @RPMCONFIGDIR@/pythondeps.sh --provides
- %__python_requires @RPMCONFIGDIR@/pythondeps.sh --requires
+ /* .NET executables and libraries. file(1) cannot differ it from native win32 executables unfortunatelly */
++ { "Mono/.Net assembly", RPMFC_MONO|RPMFC_INCLUDE },
+ { "PE executable", RPMFC_MONO|RPMFC_INCLUDE },
+ { "executable PE", RPMFC_MONO|RPMFC_INCLUDE },
-+%__mono_provides %{nil}
-+%__mono_requires %{nil}
-+
- #
- # fixowner, fixgroup, and fixperms are run at the end of hardcoded setup
- # These macros are necessary only for legacy compatibility, and have moved