adapt to new rpm tags for weak dependencies

The old tags are still read as fallback.