diff --git a/build/bakefiles/files.bkl b/build/bakefiles/files.bkl
index 0a935ca153..facd539cf4 100644
--- a/build/bakefiles/files.bkl
+++ b/build/bakefiles/files.bkl
@@ -403,7 +403,6 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
wx/mimetype.h
wx/module.h
wx/msgout.h
- wx/msgout.h
wx/mstream.h
wx/object.h
wx/platform.h
@@ -2789,8 +2788,8 @@ IMPORTANT: please read docs/tech/tn0016.txt before modifying this file!
$(BASE_MACOSX_NOTWXMAC_HDR)
- $(BASE_UNIX_HDR)
- $(BASE_WIN32_HDR) $(BASE_WINCE_HDR)
+ $(BASE_UNIX_HDR)
+ $(BASE_WIN32_HDR) $(BASE_WINCE_HDR)
$(BASE_MACOSX_HDR)
$(BASE_PALMOS_HDR)
$(BASE_MSDOS_HDR)
diff --git a/build/bakefiles/formats/rpmspec.empy b/build/bakefiles/formats/rpmspec.empy
index a4cce6a766..5447f44226 100644
--- a/build/bakefiles/formats/rpmspec.empy
+++ b/build/bakefiles/formats/rpmspec.empy
@@ -1,5 +1,5 @@
# --- wxBase headers list begins here ---
-cat <wxbase-headers-list
+cat <wxbase-headers.files
@('\n'.join(ALL_BASE_HEADERS.split()))
EOF
# --- wxBase headers list ends here ---