These are not included in the primary.xml file and there are no errors.
I installed the rpm gem ('gem install rpm') but that didn't help. It seems as though in create_primary_xml(), rpm.requires and rpm.provides are empty but they shouldn't be. If I use the shell command 'createrepo .', the primary.xml file correctly includes the requires and provides tags.