hi, while i try to rebuild mingw32-libxml2 i've got this error: ------------------------------------------------------- Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/mingw32-libxml2-2.7.2-3-root-lfarkas error: Installed (but unpackaged) file(s) found: /usr/i686-pc-mingw32/sys-root/mingw/man/man1/xml2-config.1 /usr/i686-pc-mingw32/sys-root/mingw/man/man1/xmlcatalog.1 /usr/i686-pc-mingw32/sys-root/mingw/man/man1/xmllint.1 /usr/i686-pc-mingw32/sys-root/mingw/man/man3/libxml.3
RPM build errors: File listed twice: /usr/i686-pc-mingw32/sys-root/mingw/lib/pkgconfig/libxml-2.0.pc Installed (but unpackaged) file(s) found: /usr/i686-pc-mingw32/sys-root/mingw/man/man1/xml2-config.1 /usr/i686-pc-mingw32/sys-root/mingw/man/man1/xmlcatalog.1 /usr/i686-pc-mingw32/sys-root/mingw/man/man1/xmllint.1 /usr/i686-pc-mingw32/sys-root/mingw/man/man3/libxml.3 ------------------------------------------------------- this's because on fedora man pages in /usr/share/man while on rhel/centos (and older fedora releases) it was under /usr/man.
of course since we delete all man and info pages i can simple delete these directories too. but the question why this happened? because it's hardcoded into mingw32-filesystem's /etc/rpm/macros.mingw32. wouldn't be these macros: ------------------------------------------------------- %_mingw32_sysroot %{_prefix}/i686-pc-mingw32/sys-root %_mingw32_prefix %{_mingw32_sysroot}/mingw %_mingw32_bindir %{_mingw32_prefix}/bin %_mingw32_sbindir %{_mingw32_prefix}/sbin %_mingw32_libdir %{_mingw32_prefix}/lib %_mingw32_libexecdir %{_mingw32_prefix}/libexec %_mingw32_datadir %{_mingw32_prefix}/share %_mingw32_docdir %{_mingw32_prefix}/share/doc %_mingw32_infodir %{_mingw32_prefix}/share/info %_mingw32_mandir %{_mingw32_prefix}/share/man %_mingw32_sysconfdir %{_mingw32_prefix}/etc %_mingw32_includedir %{_mingw32_prefix}/include ------------------------------------------------------- rewritten to something like this: %_mingw32_mandir %{_mingw32_prefix}%_mandir etc.