Use RPM macros from mingw-filesystem.